Class: Rubinius::AST::Redo

Inherits:
Break show all
Defined in:
lib/compiler/ast/control_flow.rb

Instance Attribute Summary

Attributes inherited from Break

#value

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from Break

#jump_error, #sexp_name

Methods inherited from Node

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

Constructor Details

#initialize(line) ⇒ Redo

Returns a new instance of Redo.



254
255
256
# File 'lib/compiler/ast/control_flow.rb', line 254

def initialize(line)
  @line = line
end

Instance Method Details

#to_sexpObject



258
259
260
# File 'lib/compiler/ast/control_flow.rb', line 258

def to_sexp
  [:redo]
end