Package com.helix.core.parser.ast
Class AstBuilder
java.lang.Object
com.helix.core.parser.ast.AstBuilder
Expression tokenizer and recursive descent AST parser.
Converts raw string expressions into structured
ExpressionNode trees.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AstBuilder
public AstBuilder()
-
-
Method Details
-
buildAst
Parses an expression string into anExpressionNode.- Parameters:
expression- raw string expression (e.g., "x > 10 && y.equals(\"test\")")- Returns:
- root AST node
- Throws:
ParseException- if syntax or tokenization fails
-