Skip to main content

Crate openpql_pql_parser

Crate openpql_pql_parser 

Source
Expand description

Parser for the Poker Query Language (PQL).

Modules§

ast
Abstract syntax tree nodes for parsed PQL statements.

Enums§

Error
Parse failure produced while parsing a PQL source.

Traits§

Spanned
AST node carrying a source span.

Functions§

parse_expr
Parses a standalone expression.
parse_fn_call
Parses a function call.
parse_from_clause
Parses a from clause.
parse_ident
Parses an identifier.
parse_num
Parses a numeric literal.
parse_pql
Parses a full PQL source into a list of statements.
parse_selector
Parses a single selector expression (e.g. avg(equity(hero))).
parse_str
Parses a quoted string literal.

Type Aliases§

Loc
Byte offset into the source string.
LocInfo
Inclusive start and exclusive end byte offsets in the source.