Class: MilkTea::AST::BreakStmt
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::BreakStmt
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(line: nil, column: nil, length: nil) ⇒ BreakStmt
constructor
A new instance of BreakStmt.
Constructor Details
#initialize(line: nil, column: nil, length: nil) ⇒ BreakStmt
Returns a new instance of BreakStmt.
188 |
# File 'lib/milk_tea/core/ast.rb', line 188 def initialize(line: nil, column: nil, length: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
187 188 189 |
# File 'lib/milk_tea/core/ast.rb', line 187 def column @column end |
#length ⇒ Object (readonly)
Returns the value of attribute length
187 188 189 |
# File 'lib/milk_tea/core/ast.rb', line 187 def length @length end |
#line ⇒ Object (readonly)
Returns the value of attribute line
187 188 189 |
# File 'lib/milk_tea/core/ast.rb', line 187 def line @line end |