Class: Rjq::Token
- Inherits:
-
Struct
- Object
- Struct
- Rjq::Token
- Defined in:
- lib/rjq/lexer.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#end_offset ⇒ Object
Returns the value of attribute end_offset.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#line ⇒ Object
Returns the value of attribute line.
-
#start_offset ⇒ Object
Returns the value of attribute start_offset.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def column @column end |
#end_offset ⇒ Object
Returns the value of attribute end_offset
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def end_offset @end_offset end |
#filename ⇒ Object
Returns the value of attribute filename
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def filename @filename end |
#line ⇒ Object
Returns the value of attribute line
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def line @line end |
#start_offset ⇒ Object
Returns the value of attribute start_offset
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def start_offset @start_offset end |
#type ⇒ Object
Returns the value of attribute type
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def type @type end |
#value ⇒ Object
Returns the value of attribute value
4 5 6 |
# File 'lib/rjq/lexer.rb', line 4 def value @value end |