Signed-off-by: Jean Privat <jean@pryen.org>
# Visit all nodes in reverse order.
# Thus, call "v.visit(e)" for each node e starting from the last child
fun visit_all_reverse(v: Visitor) is abstract
-
- # Debug method: output a message prefixed with the location.
- fun printl(str: String)
- do
- if location == null then
- print("???: {str}\n")
- else
- print("{location}: {str}\n")
- end
- end
end
redef class Token
# Visit all nodes in reverse order.
# Thus, call "v.visit(e)" for each node e starting from the last child
fun visit_all_reverse(v: Visitor) is abstract
-
- # Debug method: output a message prefixed with the location.
- fun printl(str: String)
- do
- if location == null then
- print("???: {str}\n")
- else
- print("{location}: {str}\n")
- end
- end
end
redef class Token
if s == null then
if v.signature_builder.params.length != isig.arity then
- #prop.node.printl("v.params.length {v.params.length} != isig.arity {isig.arity} ; {prop.full_name} vs {ip.full_name}")
return
end
for p in v.signature_builder.params do