Class: RParsec::Token

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

length()

The length of the token.

to_s()

String representation of the token.

[Validate]