rubyx/lib/melon/passes/total_processor.rb
2017-01-16 17:24:32 +02:00

15 lines
230 B
Ruby

module Melon
module Passes
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
end