Class: IV::Phonic::AST::ContinueStatement

Inherits:
Statement show all
Defined in:
lib/iv/phonic/ast.rb

Instance Method Summary collapse

Methods inherited from Statement

as

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