Class ExpressionBindingParseContext

    • Constructor Detail

      • ExpressionBindingParseContext

        public ExpressionBindingParseContext​(@Nonnull
                                             BindingContext context)
        Primary constructor for creating new ExpressionBindingParseContext instances. All arguments must be non-null.
        Parameters:
        context - The Perspective Component associated 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: ExpressionParseContext
        Called 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