linkrs_query/parser/ast.rs
1//! AST module
2//!
3//! This module provides an AST (Abstract Syntax Tree) design based on enumerations, which reduces the amount of boilerplate code and the runtime overhead.
4
5// Definition of basic types
6pub mod types;
7pub use types::EdgeDirection;
8pub use types::OrderDirection as CoreOrderDirection;
9
10// Statement definition
11pub mod stmt;
12pub use stmt::*;
13
14// Statement helper macros (loaded first so other modules can use them).
15#[macro_use]
16pub mod macros;
17
18// Pattern definition
19pub mod pattern;
20
21// Join hint definition (`USING JOIN` clauses)
22pub mod hint;
23pub use hint::JoinHintAst;
24
25// Full-text search definitions
26pub mod fulltext;
27
28// Vector search definitions
29pub mod vector;
30
31// Utility functions
32pub mod utils;
33pub use utils::*;