Class: Crokus::LabeledStmt
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#stmt ⇒ Object
Returns the value of attribute stmt.
Instance Method Summary collapse
-
#initialize(label, stmt) ⇒ LabeledStmt
constructor
A new instance of LabeledStmt.
Methods inherited from Ast
Constructor Details
#initialize(label, stmt) ⇒ LabeledStmt
Returns a new instance of LabeledStmt.
201 202 203 |
# File 'lib/crokus/ast.rb', line 201 def initialize label,stmt @label,@stmt=label,stmt end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
200 201 202 |
# File 'lib/crokus/ast.rb', line 200 def label @label end |
#stmt ⇒ Object
Returns the value of attribute stmt.
200 201 202 |
# File 'lib/crokus/ast.rb', line 200 def stmt @stmt end |