Class: Rubinius::AST::For19
- Defined in:
- lib/compiler/ast/sends.rb
Instance Attribute Summary
Attributes inherited from Iter
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, arguments, body) ⇒ For19
constructor
A new instance of For19.
Methods inherited from For
#assign_local_reference, #nest_scope, #new_nested_local, #search_local, #sexp_name
Methods inherited from Iter
#assign_local_reference, #block_local?, #module?, #nest_scope, #new_local, #new_nested_local, #search_local, #sexp_name, #to_sexp
Methods included from Compiler::LocalVariables
#allocate_slot, #local_count, #local_names, #variables
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, arguments, body) ⇒ For19
Returns a new instance of For19.
538 539 540 541 542 543 544 |
# File 'lib/compiler/ast/sends.rb', line 538 def initialize(line, arguments, body) @line = line @arguments = For19Arguments.new line, arguments @body = body || NilLiteral.new(line) new_local :"$for_args" end |