Skip to main content

Module validate

Module validate 

Source
Expand description

AST validation and relation normalization.

Constants§

MAX_DEPTH
Maximum accepted traversal depth, in hops.

Functions§

validate
Validates and normalizes query in place.
validate_pattern_shape
Validates that a non-empty pattern alternates node/edge/node.
validate_with_warnings
Validates and normalizes query, returning non-fatal diagnostics.