13 lines
194 B
Ruby
13 lines
194 B
Ruby
|
module Melon
|
||
|
|
||
|
class TotalProcessor < AST::Processor
|
||
|
|
||
|
def handler_missing(node)
|
||
|
node.children.each do |kid |
|
||
|
process(kid) if kid.is_a?(AST::Node)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|