lib/atp/processor.rb in atp-0.8.0 vs lib/atp/processor.rb in atp-1.0.0

- old
+ new

@@ -42,25 +42,9 @@ def handler_missing(node) node.updated(nil, process_all(node.children)) end - def n(type, children) - ATP::AST::Node.new(type, children) - end - - def n0(type) - n(type, []) - end - - def n1(type, arg) - n(type, [arg]) - end - - def n2(type, arg1, arg2) - n(type, [arg1, arg2]) - end - def extract_volatiles(flow) @volatiles = {} if v = flow.find(:volatile) @volatiles[:flags] = Array(v.find_all(:flag)).map(&:value) end