public class ExpressionTreeBuilder
extends java.lang.Object
Constructor and Description |
---|
ExpressionTreeBuilder() |
ExpressionTreeBuilder(CommonTreeAdaptor adaptor) |
Modifier and Type | Method and Description |
---|---|
CommonTree |
parse(java.lang.String expression)
Parses the user expression and returns a
CommonTree . |
public ExpressionTreeBuilder()
public ExpressionTreeBuilder(CommonTreeAdaptor adaptor)
public CommonTree parse(java.lang.String expression) throws RecognitionException
CommonTree
.expression
- the expression to parseRecognitionException
- if the user expression is invalid