Class: Taoism::Token::Position
- Inherits:
-
Data
- Object
- Data
- Taoism::Token::Position
- Defined in:
- lib/taoism/token.rb
Instance Attribute Summary collapse
-
#col ⇒ Object
readonly
Returns the value of attribute col.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
Instance Attribute Details
#col ⇒ Object (readonly)
Returns the value of attribute col
5 6 7 |
# File 'lib/taoism/token.rb', line 5 def col @col end |
#line ⇒ Object (readonly)
Returns the value of attribute line
5 6 7 |
# File 'lib/taoism/token.rb', line 5 def line @line end |
#offset ⇒ Object (readonly)
Returns the value of attribute offset
5 6 7 |
# File 'lib/taoism/token.rb', line 5 def offset @offset end |