compiler/lib/terror/core_ext/node.rb
# Public: Works like #visit, but it doesn't visit the children just yet;
# instead, lets the visitor decide when and how to do it.
#
# visitor - The visitor object. It must respond to methods named after the
#           node names.
#
# Returns nothing.
Works like #visit, but it doesn't visit the children just yet;
instead, lets the visitor decide when and how to do it.

The visitor object. It must respond to methods named after the
node names.

Returns nothing.
Works like #visit but it doesn ' t visit the children just yet ; instead lets the visitor decide when and how to do it . The visitor object . It must respond to methods named after the node names . Returns nothing .
def lazy_visit(visitor, parent=nil, indent=false)
      args = [self.node_name, self, parent]
      args.push true if indent
      visitor.__send__ *args
    end
def lazy_visit ( visitor , parent = nil , indent = false ) args = [ self . node_name , self , parent ] args . push true if indent visitor . __send__ * args end
Public: Works like #visit, but it doesn't visit the children just yet;
instead, lets the visitor decide when and how to do it.
Public : Works like #visit but it doesn ' t visit the children just yet ; instead lets the visitor decide when and how to do it .
visitor
<not_specific>
parent
<not_specific>
indent
<not_specific>