Package com.libdbm.cel.parser
Class Parser
java.lang.Object
com.libdbm.cel.parser.Parser
Recursive descent parser for CEL (Common Expression Language).
Parses CEL expressions into an Abstract Syntax Tree (AST) represented by Expression objects. The parser handles all CEL literal types, operators, function calls, and complex structures.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Parser
Constructs a new Parser with the specified input string.- Parameters:
input- the input string to be parsed
-
-
Method Details
-
parse
Parses a CEL expression from the input string.- Returns:
- The parsed Expression AST node
- Throws:
ParseError- if the input contains syntax errors
-