Class: Rubinius::AST::Next

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, #to_sexp

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, value) ⇒ Next

Returns a new instance of Next.



243
244
245
246
# File 'lib/compiler/ast/control_flow.rb', line 243

def initialize(line, value)
  @line = line
  @value = value
end

Instance Method Details

#sexp_nameObject



248
249
250
# File 'lib/compiler/ast/control_flow.rb', line 248

def sexp_name
  :next
end