Class: Faust2Ruby::Lexer::Token
- Inherits:
-
Struct
- Object
- Struct
- Faust2Ruby::Lexer::Token
- Defined in:
- lib/faust2ruby/lexer.rb
Overview
Token struct for lexer output
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#line ⇒ Object
Returns the value of attribute line.
-
#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
10 11 12 |
# File 'lib/faust2ruby/lexer.rb', line 10 def column @column end |
#line ⇒ Object
Returns the value of attribute line
10 11 12 |
# File 'lib/faust2ruby/lexer.rb', line 10 def line @line end |
#type ⇒ Object
Returns the value of attribute type
10 11 12 |
# File 'lib/faust2ruby/lexer.rb', line 10 def type @type end |
#value ⇒ Object
Returns the value of attribute value
10 11 12 |
# File 'lib/faust2ruby/lexer.rb', line 10 def value @value end |