nitc :: ANode :: collect_length
Char
) of the node.
# Collect the length (in `Char`) of the node.
private fun collect_length: Int is abstract
src/pretty.nit:323,2--324,44
redef fun collect_length do return text.length
src/pretty.nit:354,2--47
redef fun collect_length do
var res = 0
if start_token == null or last_token == null then return res
var token = start_token
while token != last_token do
res += token.text.length
token = token.next_token
end
res += token.text.length
return res
end
src/pretty.nit:391,2--403,4