Class: Rubinius::AST::PostArg

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

Instance Attribute Summary collapse

Attributes inherited from Node

#line

Instance Method Summary collapse

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

#intoObject

Returns the value of attribute into.



221
222
223
# File 'lib/compiler/ast/variables.rb', line 221

def into
  @into
end

#restObject

Returns the value of attribute rest.



221
222
223
# File 'lib/compiler/ast/variables.rb', line 221

def rest
  @rest
end