Interface CelParser

    • Method Detail

      • parse

        default CelValidationResult parse​(java.lang.String expression)
        Parse the input expression and return a CelValidationResult.

        Parse validates the syntax of an expression.

      • parse

        CelValidationResult parse​(java.lang.String expression,
                                  java.lang.String description)
        Parse the input expression and return a CelValidationResult.

        The description may be used to help tailor error messages for the location where the expression originates, e.g. a file name or form UI element.

        Parse validates the syntax of an expression.

      • parse

        @CheckReturnValue
        CelValidationResult parse​(CelSource source)
        Parse the input expression and return a CelValidationResult.

        The description may be used to help tailor error messages for the location where the expression originates, e.g. a file name or form UI element.

        Parse validates the syntax of an expression.