Module syn

Source
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.