class Pegasus::Language::Token
- Pegasus::Language::Token
- Pegasus::Language::OptionObject
- Reference
- Object
Overview
A token declaration, with zero or more rules attached to it.
Defined in:
pegasus/language_def.crConstructors
Instance Method Summary
- #==(other : Token)
-
#hash(hasher)
See
Object#hash(hasher)
-
#regex : String
Gets the regular expression that defines this token.