Skip to main content

relate_parser/
lib.rs

1pub mod ast;
2pub mod error;
3pub mod lexer;
4mod normalize;
5pub mod parser;
6pub mod token;
7pub mod type_normalize;
8
9// The Unicode 13.0.0 identifier predicates and their generated tables
10// (ADR-0182) are a lexer implementation detail, not part of the crate's
11// public API.
12mod unicode_identifier;
13
14// Re-export the main parse function and key types for convenience.
15pub use ast::*;
16pub use error::{ParseError, ParseResult};
17pub use lexer::ParseOptions;
18pub use normalize::{
19    normalize_statement, params_carry_reserved_prefix, NormalizeOutcome, Normalized,
20    NormalizedValue,
21};
22pub use parser::{parse, parse_graph_type_body, parse_with_options, selector_is_selective};
23pub use token::{Token, TokenType};
24pub use type_normalize::*;