class Pegasus::Elements::TerminalId
- Pegasus::Elements::TerminalId
- Pegasus::Elements::IndexableElement
- Pegasus::Elements::LookaheadElement
- Reference
- Object
Overview
A terminal, as specified by the user. This is not a special case element, and one terminal ID exists for every token the user registers.
Included Modules
- JSON::Serializable
Defined in:
pegasus/elements.crpegasus/json.cr
Constructors
Instance Method Summary
- #==(other : TerminalId)
- #==(other : LookaheadElement)
-
#hash(hasher)
See
Object#hash(hasher)
-
#raw_id
Gets the raw ID of this terminal.
-
#table_index : Int64
Gets the table index of this element.
Instance methods inherited from class Pegasus::Elements::IndexableElement
table_index : Int64
table_index
Constructor Detail
Instance Method Detail
def table_index : Int64
#
Description copied from class Pegasus::Elements::IndexableElement
Gets the table index of this element.