package
0.0.0-20231004145232-f696b34fe595
Repository: https://github.com/flowchartsman/aql.git
Documentation: pkg.go.dev
# Functions
Debug instructs the parser to print detailed parse information.
ErrorAt allows returning a parser error with a manually-defined position.
ErrorWith allows using an AST node as the position basis for a parser error message.
NewMessageVisitor creates a visitor that can return [ParserMessage]s for errors, warnings and hints.
No description provided by the author
No description provided by the author
Visitors adds additional visitors to the parsing pass.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
MessageTape is a message appended to be used during tree-traversal.
MessageVisitor is a Visitor to generate informational messages.
ParserMessage is a message output by the parser.
No description provided by the author
# Interfaces
Positioned refers to language features such as statements and identifiers that have a defined position in the query string.
Visitor is the interface that defines an AST visitor, which will visit nodes in a depth-first order.
# Type aliases
MessageType is the type of a parser message.
No description provided by the author
ParseError is a detailed parser error.
VisitorFun is a function that can act as a visitor, meaning it will be called for every node in the tree, unless it chooses to skip.