rubyx/lib/melon/compilers/total_processor.rb

15 lines
233 B
Ruby

module Melon
module Compilers
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