Class: Crokus::LabelledStmt

Inherits:
Stmt
  • Object
show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(stmt) ⇒ LabelledStmt

Returns a new instance of LabelledStmt.



336
337
338
# File 'lib/crokus/ast.rb', line 336

def initialize stmt
  @stmt=stmt
end

Instance Attribute Details

#stmtObject

Returns the value of attribute stmt.



335
336
337
# File 'lib/crokus/ast.rb', line 335

def stmt
  @stmt
end