Expand description
Module containing the implementation of the surrealql tokens, lexer, and parser.
Modules§
- error
- lexer
- parser
- Module implementing the SurrealQL parser.
- token
- Module specifying the token representation of the parser.
Functions§
- block
- Parse a block, expects the value to be wrapped in
{}
. - could_
be_ reserved_ keyword - Takes a string and returns if it could be a reserved keyword in certain contexts.
- datetime
- Parse a datetime without enclosing delimiters from a string.
- duration
- Parse a duration from a string.
- idiom
- Parses a SurrealQL
Idiom
- json
- Parses JSON into an inert SurrealQL
Value
- json_
legacy_ strand - Parses JSON into an inert SurrealQL
Value
and parses values within strings. - parse
- Parses a SurrealQL
Query
- parse_
with_ capabilities - Parses a SurrealQL
Query
- range
- Parse a range.
- subquery
- Parses a SurrealQL Subquery
Subquery
- thing
- Parse a record id.
- thing_
with_ range - Parse a record id including ranges.
- value
- Parses a SurrealQL
Value
. - value_
legacy_ strand - Parses a SurrealQL
Value
and parses values within strings. - value_
with_ capabilities - Parses a SurrealQL
Value
.