Class: MilkTea::TriviaToken
- Inherits:
-
Data
- Object
- Data
- MilkTea::TriviaToken
- Defined in:
- lib/milk_tea/core/token.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#end_offset ⇒ Object
readonly
Returns the value of attribute end_offset.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#start_offset ⇒ Object
readonly
Returns the value of attribute start_offset.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
4 5 6 |
# File 'lib/milk_tea/core/token.rb', line 4 def column @column end |
#end_offset ⇒ Object (readonly)
Returns the value of attribute end_offset
4 5 6 |
# File 'lib/milk_tea/core/token.rb', line 4 def end_offset @end_offset end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
4 5 6 |
# File 'lib/milk_tea/core/token.rb', line 4 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
4 5 6 |
# File 'lib/milk_tea/core/token.rb', line 4 def line @line end |
#start_offset ⇒ Object (readonly)
Returns the value of attribute start_offset
4 5 6 |
# File 'lib/milk_tea/core/token.rb', line 4 def start_offset @start_offset end |
#text ⇒ Object (readonly)
Returns the value of attribute text
4 5 6 |
# File 'lib/milk_tea/core/token.rb', line 4 def text @text end |