Class Dhaka::Lexeme
In: ../trunk/lib/dhaka/lexer/lexeme.rb
Parent: Object

Represents a portion of the input string that has been recognized as matching a given lexer pattern.

Methods

value  

Attributes

characters  [RW]  The pattern matched by this lexeme.
input_position  [R]  input_position is the index in the input stream that this lexeme starts at.
pattern  [RW]  The pattern matched by this lexeme.

Public Instance methods

The substring of the input stream that this lexeme is comprised of.

[Validate]