Skip to main content

Crate relate_parser

Crate relate_parser 

Source

Re-exports§

pub use error::ParseError;
pub use error::ParseResult;
pub use lexer::ParseOptions;
pub use parser::parse;
pub use parser::parse_graph_type_body;
pub use parser::parse_with_options;
pub use parser::selector_is_selective;
pub use token::Token;
pub use token::TokenType;
pub use ast::*;
pub use type_normalize::*;

Modules§

ast
error
lexer
parser
token
type_normalize
CIP-100 canonical type normalization and name rendering.

Structs§

Normalized
The normalizer’s outputs. See the module documentation.

Enums§

NormalizeOutcome
What normalize_statement produced.
NormalizedValue
One extracted literal value: the normalizer’s own small vocabulary (the parser crate does not depend on the engine’s value type). The facade converts these into parameter values at the one boundary where both exist.

Functions§

normalize_statement
Normalize src under the same ParseOptions the real parse would use (the preview gates change what the lexer produces, so the template must be derived from the identical token stream).
params_carry_reserved_prefix
Whether a caller’s parameter map carries any [AUTO_PARAM_PREFIX]-named key — the one spelling of the reserved-prefix collision policy, consulted at the one boundary that decides cache participation — the facade’s Connection::cache_lookup, before the raw stage — where such a caller disables the cache for the statement entirely. Generic over the value type — the policy is about the names only.