Class: Rubinius::ToolSet.current::TS::AST::For19
- Defined in:
- lib/rubinius/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, #defined, #nest_scope, #new_nested_local, #search_local, #sexp_name
Methods inherited from Iter
#assign_local_reference, #block_local?, #bytecode, #module?, #nest_scope, #new_local, #new_nested_local, #search_local, #sexp_name, #to_sexp
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, arguments, body) ⇒ For19
Returns a new instance of For19.
869 870 871 872 873 874 875 |
# File 'lib/rubinius/ast/sends.rb', line 869 def initialize(line, arguments, body) @line = line @arguments = For19Arguments.new line, arguments @body = body || NilLiteral.new(line) new_local :"$for_args" end |