Class: Rubinius::AST::Retry

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) ⇒ Retry

Returns a new instance of Retry.



264
265
266
# File 'lib/compiler/ast/control_flow.rb', line 264

def initialize(line)
  @line = line
end

Instance Method Details

#to_sexpObject



268
269
270
# File 'lib/compiler/ast/control_flow.rb', line 268

def to_sexp
  [:retry]
end