Class Dhaka::Token
In: ../trunk/lib/dhaka/parser/token.rb
Parent: Object

Represents a portion of the input character stream that is mapped by the tokenizer to a symbol in the grammar. The attribute input_position contains the start index position of the original string input that this token came from. It can be used to report errors by indicating the specific portion of the input where the error occurred.


==   new  


input_position  [RW] 
symbol_name  [RW] 
value  [RW] 

Public Class methods

Public Instance methods