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