Class: Mirah::AST::Redo
- Defined in:
- lib/mirah/ast/flow.rb,
lib/mirah/compiler/flow.rb
Instance Attribute Summary
Attributes inherited from Node
#children, #inferred_type, #newline, #parent, #position
Instance Method Summary collapse
Methods inherited from Break
Methods inherited from Node
#<<, ===, #[], #[]=, #_dump, _load, #_set_parent, child, child_name, #child_nodes, #each, #empty?, #expr?, #inferred_type!, #initialize, #initialize_copy, #insert, #inspect, #inspect_children, #line_number, #log, #precompile, #resolve_if, #resolved!, #resolved?, #simple_name, #string_value, #temp, #to_s, #top_level?, #validate_child, #validate_children
Constructor Details
This class inherits a constructor from Mirah::AST::Node
Instance Method Details
#compile(compiler, expression) ⇒ Object
74 75 76 77 78 79 |
# File 'lib/mirah/compiler/flow.rb', line 74 def compile(compiler, expression) compiler.line(line_number) compiler.redo(self) rescue Exception => ex raise Mirah::InternalCompilerError.wrap(ex, self) end |