# Github tokens used to access data.
var tokens: Array[String] is lazy do
var opt_tokens = self.opt_tokens.value
if opt_tokens.not_empty then return opt_tokens
var res = new Array[String]
var ini_tokens = ini.section("tokens")
if ini_tokens == null then return res
for token in ini_tokens.values do
if token == null then continue
res.add token
end
return res
end
lib/github/loader.nit:105,2--119,4