Expand description
Lexer implementation.
Structs§
- Lexer
- Streaming PHP lexer with two-token lookahead.
- Lexer
Error - A recoverable error found while lexing.
- Token
- A lexed token with its source span.
Enums§
- Lexer
Error Kind - Discriminant for
LexerError— describes what kind of lexer failure occurred.
Functions§
- lex_all
- Lex an entire source file into a token vector upfront.