Class ChartCompiler.DummyExpressionParseContext
- java.lang.Object
-
- com.inductiveautomation.sfc.uimodel.ChartCompiler.DummyExpressionParseContext
-
- All Implemented Interfaces:
ExpressionParseContext
- Enclosing class:
- ChartCompiler
public static class ChartCompiler.DummyExpressionParseContext extends java.lang.Object implements ExpressionParseContext
Dummy context used to test expression syntax
-
-
Constructor Summary
Constructors Constructor Description DummyExpressionParseContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
createBoundExpression(java.lang.String path)
Called to create expressions to represent bound elements, like:FunctionFactory
getFunctionFactory()
-
-
-
Method Detail
-
createBoundExpression
public Expression createBoundExpression(java.lang.String path) throws java.lang.RuntimeException
Description copied from interface:ExpressionParseContext
Called to create expressions to represent bound elements, like:{ path.to.something }
- Specified by:
createBoundExpression
in interfaceExpressionParseContext
- Parameters:
path
- the text content inside the braces.- Throws:
java.lang.RuntimeException
- because the CUP parser doesn't have a throws on the function that calls this inside the parser
-
getFunctionFactory
public FunctionFactory getFunctionFactory()
- Specified by:
getFunctionFactory
in interfaceExpressionParseContext
-
-