Class: Rubinius::AST::PostArg
- Defined in:
- lib/compiler/ast/variables.rb
Instance Attribute Summary collapse
-
#into ⇒ Object
Returns the value of attribute into.
-
#rest ⇒ Object
Returns the value of attribute rest.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, into, rest) ⇒ PostArg
constructor
A new instance of PostArg.
Methods inherited from Node
#ascii_graph, #attributes, #children, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, node_name, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #visit, #walk
Constructor Details
#initialize(line, into, rest) ⇒ PostArg
Returns a new instance of PostArg.
223 224 225 226 227 |
# File 'lib/compiler/ast/variables.rb', line 223 def initialize(line, into, rest) @line = line @into = into @rest = rest end |
Instance Attribute Details
#into ⇒ Object
Returns the value of attribute into.
221 222 223 |
# File 'lib/compiler/ast/variables.rb', line 221 def into @into end |
#rest ⇒ Object
Returns the value of attribute rest.
221 222 223 |
# File 'lib/compiler/ast/variables.rb', line 221 def rest @rest end |