Expand description
CEL (Common Expression Language) parser.
Re-exports§
pub use macros::ArgCount;pub use macros::Macro;pub use macros::MacroContext;pub use macros::MacroExpander;pub use macros::MacroExpansion;pub use macros::MacroRegistry;pub use macros::MacroStyle;
Modules§
- macros
- Macro system for CEL parser.
Structs§
- LexError
- Lexer error with span information.
- Parse
Error - A parse error with source location.
- Parse
Options - Options for parsing CEL expressions.
- Parse
Result - Result of parsing a CEL expression.
Enums§
- Token
- CEL tokens.
Functions§
- lex
- Tokenize the input string.
- parse
- Parse a CEL expression from source.
- parse_
with_ options - Parse a CEL expression with custom options.
Type Aliases§
- Macro
Calls - Map of expression IDs to the original macro call expressions. Used to preserve source information for IDE features.
- Spanned
Token - A token with its source span.