Skip to main content

uqa_graph/cypher/
mod.rs

1//
2// Unified Query Algebra
3//
4// Copyright (c) 2023-2026 Cognica, Inc.
5//
6
7//! Cypher syntax, default-label validation, read execution, and graph mutation.
8
9pub mod ast;
10pub mod executor;
11mod labels;
12pub mod lexer;
13pub mod parser;
14pub mod writer;
15
16pub use ast::{
17    BinaryOp, CaseExpr, CreateClause, CypherClause, CypherExpr, CypherQuery, DeleteClause,
18    FunctionCall, InList, IsNotNull, IsNull, ListComprehension, ListIndex, ListLiteral, ListSlice,
19    Literal, MapLiteral, MatchClause, MergeClause, NodePattern, OrderByItem, Parameter,
20    PathElement, PathPattern, PropertyAccess, RelDirection, RelPattern, ReturnClause, ReturnItem,
21    SetClause, SetItem, SetOperator, UnaryOp, UnwindClause, Variable, WithClause,
22};
23pub use executor::{Binding, BindingRow, CypherError, CypherExecutor, ResultRow};
24pub use labels::validate_default_label_relations;
25pub use lexer::{tokenize, LexError, Token, TokenKind};
26pub use parser::{parse_cypher, ParseError};
27pub use writer::CypherWriter;