Skip to main content

Module parser

Module parser 

Source
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§

ParseError
A parse error with source location.
ParseOptions
Options for parsing CEL expressions.
ParseResult
Result of parsing a CEL expression.

Functions§

parse
Parse a CEL expression from source.
parse_with_options
Parse a CEL expression with custom options.

Type Aliases§

MacroCalls
Map of expression IDs to the original macro call expressions. Used to preserve source information for IDE features.