Class: IV::Phonic::AST::ContinueStatement
- Defined in:
- lib/iv/phonic/ast.rb
Instance Method Summary collapse
-
#initialize(parent, stmt) ⇒ ContinueStatement
constructor
A new instance of ContinueStatement.
Methods inherited from Statement
Methods inherited from Node
#begin_position, #end_position, #program, #source
Constructor Details
#initialize(parent, stmt) ⇒ ContinueStatement
Returns a new instance of ContinueStatement.
194 195 196 197 198 199 200 201 |
# File 'lib/iv/phonic/ast.rb', line 194 def initialize parent, stmt super parent, stmt if stmt[:label] @label = Identifier.new self, stmt[:label] else @label = nil end end |