Class: Taoism::Token
- Inherits:
-
Data
- Object
- Data
- Taoism::Token
- Defined in:
- lib/taoism/token.rb,
lib/taoism/token.rb
Defined Under Namespace
Classes: Position
Instance Attribute Summary collapse
-
#end ⇒ Object
readonly
Returns the value of attribute end.
-
#lexeme ⇒ Object
readonly
Returns the value of attribute lexeme.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#end ⇒ Object (readonly)
Returns the value of attribute end
2 3 4 |
# File 'lib/taoism/token.rb', line 2 def end @end end |
#lexeme ⇒ Object (readonly)
Returns the value of attribute lexeme
2 3 4 |
# File 'lib/taoism/token.rb', line 2 def lexeme @lexeme end |
#start ⇒ Object (readonly)
Returns the value of attribute start
2 3 4 |
# File 'lib/taoism/token.rb', line 2 def start @start end |
#type ⇒ Object (readonly)
Returns the value of attribute type
2 3 4 |
# File 'lib/taoism/token.rb', line 2 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value
2 3 4 |
# File 'lib/taoism/token.rb', line 2 def value @value end |