Class: CodeTools::AST::PostArg

Inherits:
Node
  • Object
show all
Defined in:
lib/rubinius/code/ast/variables.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from Node

#ascii_graph, #attributes, #bytecode, #children, #defined, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, #or_bytecode, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #value_defined, #visit, #walk

Constructor Details

#initialize(line, into, rest) ⇒ PostArg

Returns a new instance of PostArg.



534
535
536
537
538
# File 'lib/rubinius/code/ast/variables.rb', line 534

def initialize(line, into, rest)
  @line = line
  @into = into
  @rest = rest
end

Instance Attribute Details

#intoObject

Returns the value of attribute into.



532
533
534
# File 'lib/rubinius/code/ast/variables.rb', line 532

def into
  @into
end

#restObject

Returns the value of attribute rest.



532
533
534
# File 'lib/rubinius/code/ast/variables.rb', line 532

def rest
  @rest
end