Class ExpressionBindingParseContext
java.lang.Object
com.inductiveautomation.perspective.gateway.expression.AbstractExpressionParseContext
com.inductiveautomation.perspective.gateway.binding.expression.ExpressionBindingParseContext
- All Implemented Interfaces:
ExpressionParseContext
- Direct Known Subclasses:
ExpressionTransformParseContext
ExpressionParseContext for Perspective
ExpressionBindings. Links
up the expression with tag and property references.-
Field Summary
Fields inherited from class com.inductiveautomation.perspective.gateway.expression.AbstractExpressionParseContext
context, INITIAL_TAG_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionPrimary constructor for creating newExpressionBindingParseContextinstances. -
Method Summary
Modifier and TypeMethodDescriptioncreateBoundExpression(String path) Called to create expressions to represent bound elements, like:Methods inherited from class com.inductiveautomation.perspective.gateway.expression.AbstractExpressionParseContext
createExpressionForTagReference, getFunctionFactory
-
Constructor Details
-
ExpressionBindingParseContext
Primary constructor for creating newExpressionBindingParseContextinstances. All arguments must be non-null.- Parameters:
context- The PerspectiveComponentassociated with the expression binding. Property references may be made relative to this component
-
-
Method Details
-
createBoundExpression
Description copied from interface:ExpressionParseContextCalled to create expressions to represent bound elements, like:{ path.to.something }- Parameters:
path- the text content inside the braces.- Throws:
RuntimeException- because the CUP parser doesn't have a throws on the function that calls this inside the parser
-
getReferences
-