Class: CodeTools::AST::EmptyBody
- Defined in:
- lib/rubinius/ast/definitions.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#ascii_graph, #attributes, #children, #defined, #initialize, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, #or_bytecode, #pos, #set_child, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #value_defined, #visit, #walk
Constructor Details
This class inherits a constructor from CodeTools::AST::Node
Instance Method Details
#bytecode(g) ⇒ Object
976 977 978 979 |
# File 'lib/rubinius/ast/definitions.rb', line 976 def bytecode(g) g.pop g.push :nil end |
#to_sexp ⇒ Object
981 982 983 |
# File 'lib/rubinius/ast/definitions.rb', line 981 def to_sexp [:scope] end |