Skip to main content

Module validate

Module validate 

Source
Expand description

AST validation: relation normalization, namespace guard, depth cap.

Constants§

MAX_DEPTH
Maximum traversal depth allowed by the query layer.

Functions§

validate
Validate and normalise an AST in place.
validate_pattern_shape
Validate that a pattern alternates Node/Edge/Node correctly.
validate_with_warnings
Validate and normalise an AST in place, returning any warnings generated.