Class: Rubinius::AST::Self
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#ascii_graph, #attributes, #children, #initialize, match_arguments?, match_send?, #new_block_generator, #new_generator, node_name, #node_name, #pos, #set_child, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #visit, #walk
Constructor Details
This class inherits a constructor from Rubinius::AST::Node
Instance Method Details
#to_sexp ⇒ Object
10 11 12 |
# File 'lib/compiler/ast/self.rb', line 10 def to_sexp [:self] end |
#value_defined(g, f) ⇒ Object
6 7 8 |
# File 'lib/compiler/ast/self.rb', line 6 def value_defined(g, f) g.push :self end |