Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxParserDepth limits recursion depth to prevent stack overflow MaxParserDepth = 100 // MaxExpressionCount limits number of expressions in lists MaxExpressionCount = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser consumes SQL tokens and produces AST nodes for a core ANSI subset.
func (*Parser) ParseStatement ¶
ParseStatement parses a top-level SQL statement.
type SyntaxError ¶
SyntaxError describes a parsing failure with source position context.
func (*SyntaxError) Error ¶
func (e *SyntaxError) Error() string
Click to show internal directories.
Click to hide internal directories.