Class: Melbourne::AST::Break
- Defined in:
- lib/melbourne/ast/control_flow.rb
Overview
A break statement as in:
while true do
begin
x
rescue Exception => x
break
end
end
Instance Attribute Summary collapse
-
#value ⇒ Object
The value passed to
break.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, expr) ⇒ Break
constructor
A new instance of Break.
Methods inherited from Node
Constructor Details
Instance Attribute Details
#value ⇒ Object
The value passed to break
298 299 300 |
# File 'lib/melbourne/ast/control_flow.rb', line 298 def value @value end |