struct Noir::Lexer::DSL
- Noir::Lexer::DSL
- Struct
- Value
- Object
Defined in:
noir/lexer.crConstructors
Instance Method Summary
- #[](i)
- #[]?(i)
- #clone
- #copy_with(lexer _lexer = @lexer, input _input = @input, output _output = @output, last_match _last_match = @last_match)
- #current_state : State
- #delegate(lexer : Lexer, text = last_match[0]) : Nil
- #goto(state_name) : Nil
- #groups(*tokens : Token) : Nil
- #in_state?(state_name) : Bool
- #input : Scanner
- #last_match : Regex::MatchData
- #lexer : Lexer
- #output : Formatter
- #pop!(times = 1) : Nil
- #push(&) : Nil
- #push(state_name : Symbol) : Nil
- #push(state_name : Nil = nil) : Nil
- #reset_stack : Nil
- #stack : Deque(State)
- #state?(state_name) : Bool
- #token(token : Token, value : String | Nil = last_match[0]) : Nil
Constructor Detail
Instance Method Detail
def copy_with(lexer _lexer = @lexer, input _input = @input, output _output = @output, last_match _last_match = @last_match)
#