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.AbstractExpressionParseContextcontext, INITIAL_TAG_VALUE
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExpressionBindingParseContext(BindingContext context)Primary constructor for creating newExpressionBindingParseContextinstances.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressioncreateBoundExpression(java.lang.String path)Called to create expressions to represent bound elements, like:java.util.List<PropertyReference>getReferences()- 
Methods inherited from class com.inductiveautomation.perspective.gateway.expression.AbstractExpressionParseContextcreateExpressionForTagReference, getFunctionFactory
 
- 
 
- 
- 
- 
Constructor Detail- 
ExpressionBindingParseContextpublic ExpressionBindingParseContext(@Nonnull BindingContext context)Primary constructor for creating newExpressionBindingParseContextinstances. All arguments must be non-null.- Parameters:
- context- The Perspective- Componentassociated with the expression binding. Property references may be made relative to this component
 
 
- 
 - 
Method Detail- 
createBoundExpressionpublic 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
 
 - 
getReferencespublic java.util.List<PropertyReference> getReferences() 
 
- 
 
-