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
public class ExpressionBindingParseContext extends AbstractExpressionParseContext
ExpressionParseContextfor PerspectiveExpressionBindings. 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
Constructors Constructor Description ExpressionBindingParseContext(BindingContext context)Primary constructor for creating newExpressionBindingParseContextinstances. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressioncreateBoundExpression(java.lang.String path)Called to create expressions to represent bound elements, like:- 
Methods inherited from class com.inductiveautomation.perspective.gateway.expression.AbstractExpressionParseContext
createExpressionForTagReference, getFunctionFactory 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ExpressionBindingParseContext
public ExpressionBindingParseContext(@Nonnull BindingContext context)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 Detail
- 
createBoundExpression
public Expression createBoundExpression(java.lang.String path) throws java.lang.RuntimeException
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:
 java.lang.RuntimeException- because the CUP parser doesn't have a throws on the function that calls this inside the parser
 
 - 
 
 -