Class RParsec::Token
In: rparsec/token.rb
Parent: Object

Represents a token during lexical analysis.

Methods

length   to_s  

Attributes

index  [R]  The starting index of the matched range
kind  [R]  The type of the token
text  [R]  The text of the matched range

Public Instance methods

The length of the token.

String representation of the token.

[Validate]