Class: Nodaire::Indental::Lexer::Token
- Inherits:
-
Struct
- Object
- Struct
- Nodaire::Indental::Lexer::Token
- Defined in:
- lib/nodaire/indental/lexer.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#line_num ⇒ Object
Returns the value of attribute line_num.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
14 15 16 |
# File 'lib/nodaire/indental/lexer.rb', line 14 def key @key end |
#line_num ⇒ Object
Returns the value of attribute line_num
14 15 16 |
# File 'lib/nodaire/indental/lexer.rb', line 14 def line_num @line_num end |
#type ⇒ Object
Returns the value of attribute type
14 15 16 |
# File 'lib/nodaire/indental/lexer.rb', line 14 def type @type end |
#value ⇒ Object
Returns the value of attribute value
14 15 16 |
# File 'lib/nodaire/indental/lexer.rb', line 14 def value @value end |