struct Tartrazine::State
- Tartrazine::State
- Struct
- Value
- Object
Overview
A Lexer state. A state has a name and a list of rules. The state machine has a state stack containing references to states to decide which rules to apply.
Defined in:
lexer.crConstructors
Instance Method Summary
- #+(other : State)
- #initialize
- #name : String
- #name=(name : String)
- #rules : Array(Tartrazine::BaseRule)
- #rules=(rules : Array(Tartrazine::BaseRule))