Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 1.78 KB

File metadata and controls

65 lines (38 loc) · 1.78 KB

minisql.sql.parser.ParserState

Home · Source file

ParserState

struct ParserState

Cursor state for the recursive-descent statement parser and precedence-climbing expression parser. tokens always ends with EndOfInput, keeping index valid.

View source

Members

derivedTableCount

derivedTableCount

Monotonic suffix used to give inline derived tables collision-resistant internal CTE names.

View source

index

index

Index of the next token to inspect or consume.

View source

parameterCount

parameterCount

Number assigned to the next positional parameter encountered.

View source

tokens

tokens

Immutable token stream produced by the lexer.

View source