Class: Duby::AST::NodeProxy
Instance Attribute Summary
Attributes inherited from Node
#children, #inferred_type, #newline, #parent, #position
Instance Method Summary collapse
Methods inherited from Node
#<<, ===, #[], #_set_parent, child, child_name, #each, #empty?, #expr?, #initialize, #initialize_copy, #insert, #inspect, #line_number, #log, #precompile, #resolve_if, #resolved!, #resolved?, #simple_name, #temp, #to_s
Constructor Details
This class inherits a constructor from Duby::AST::Node
Instance Method Details
#__inline__(node) ⇒ Object
5 6 7 8 |
# File 'lib/duby/ast/call.rb', line 5 def __inline__(node) node.parent = parent __setobj__(node) end |
#dup ⇒ Object
10 11 12 13 14 15 |
# File 'lib/duby/ast/call.rb', line 10 def dup new = super new.__setobj__(__getobj__.dup) new.proxy = new new end |