public abstract class AbstractMultiLevelExpressionParseContext extends java.lang.Object implements ExpressionParseContext
Constructor and Description |
---|
AbstractMultiLevelExpressionParseContext(ExpressionParseContext base) |
Modifier and Type | Method and Description |
---|---|
Expression |
createBoundExpression(java.lang.String path)
Called to create expressions to represent bound elements, like:
|
protected FunctionFactory |
getBaseFunctionFactory()
Sub classes do some strange things, this lets them get the base function factory
|
protected ExpressionParseContext |
getDelegateParseContext()
Returns the parse context that this one delegates to on failure to create a bound expression
|
FunctionFactory |
getFunctionFactory() |
protected abstract Expression |
tryCreateBoundExpression(java.lang.String path)
This function should create the expression if possible.
|
public AbstractMultiLevelExpressionParseContext(ExpressionParseContext base)
protected ExpressionParseContext getDelegateParseContext()
public FunctionFactory getFunctionFactory()
getFunctionFactory
in interface ExpressionParseContext
protected FunctionFactory getBaseFunctionFactory()
public Expression createBoundExpression(java.lang.String path) throws java.lang.RuntimeException
ExpressionParseContext
{ path.to.something }
createBoundExpression
in interface ExpressionParseContext
path
- the text content inside the braces.java.lang.RuntimeException
- because the CUP parser doesn't have a throws on the function that calls this inside the parserprotected abstract Expression tryCreateBoundExpression(java.lang.String path)
path
-