nitc :: Prod :: first_token
Computed by parentize_tokens
# The first token of the production in the AST
# Computed by `parentize_tokens`
var first_token: nullable Token = null
src/astutil.nit:38,2--40,39
redef fun first_token do
if n_doc != null then return n_doc.first_token
if not n_visibility isa APublicVisibility then return n_visibility.first_token
if n_kwredef != null then return n_kwredef
return n_kwvar
end
src/pretty.nit:933,2--938,4