Class: MilkTea::AST::CompilerFlagDirective
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::CompilerFlagDirective
- 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.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value:, line: nil, column: nil) ⇒ CompilerFlagDirective
constructor
A new instance of CompilerFlagDirective.
Constructor Details
#initialize(value:, line: nil, column: nil) ⇒ CompilerFlagDirective
Returns a new instance of CompilerFlagDirective.
70 |
# File 'lib/milk_tea/core/ast.rb', line 70 def initialize(value:, line: nil, column: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
69 70 71 |
# File 'lib/milk_tea/core/ast.rb', line 69 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
69 70 71 |
# File 'lib/milk_tea/core/ast.rb', line 69 def line @line end |
#value ⇒ Object (readonly)
Returns the value of attribute value
69 70 71 |
# File 'lib/milk_tea/core/ast.rb', line 69 def value @value end |