nitc :: PTokenVisitor :: work
fun work(n: ANode)
do
enter_visit(n)
# process remaining detashed tokens
var c = last_token
if c != null then
c.is_ending_line = true
c.last_real_token_in_line.last_ast_token = c
c = c.next_token
end
var r = n.root
while c != null and c.parent == null do
c.parent = r
c = c.next_token
end
end
src/astutil.nit:212,2--227,4