Package dev.cel.checker
Class ExprChecker
- java.lang.Object
-
- dev.cel.checker.ExprChecker
-
@Internal @Deprecated public final class ExprChecker extends java.lang.Object
Deprecated.Please migrate to CEL-Java Fluent APIs instead. SeeCelCompilerFactory.The expression type checker.CEL-Java library internals. Do not use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classExprChecker.OverloadResolutionDeprecated.Helper object for holding an overload resolution result.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CheckedExprcheck(Env env, java.lang.String inContainer, ParsedExpr parsedExpr)Deprecated.Do not use.static CelAbstractSyntaxTreetypecheck(Env env, java.lang.String inContainer, CelAbstractSyntaxTree ast, com.google.common.base.Optional<CelType> expectedResultType)Deprecated.Type-checks the parsed expression within the given environment and returns a checked expression.static CheckedExprtypecheck(Env env, java.lang.String inContainer, ParsedExpr parsedExpr, com.google.common.base.Optional<Type> expectedResultType)Deprecated.Do not use.CelExprvisit(CelExpr expr)Deprecated.Visit theexprvalue, routing to overloads based on the kind of expression.
-
-
-
Method Detail
-
check
@CheckReturnValue @Deprecated public static CheckedExpr check(Env env, java.lang.String inContainer, ParsedExpr parsedExpr)
Deprecated.Do not use. CEL-Java users should leverage the Fluent APIs instead. SeeCelCompilerFactory.Checks the parsed expression within the given environment and returns a checked expression. Conditions for type checking and the result are described in checked.proto.
-
typecheck
@CheckReturnValue @Deprecated public static CheckedExpr typecheck(Env env, java.lang.String inContainer, ParsedExpr parsedExpr, com.google.common.base.Optional<Type> expectedResultType)
Deprecated.Do not use. CEL-Java users should leverage the Fluent APIs instead. SeeCelCompilerFactory.Type-checks the parsed expression within the given environment and returns a checked expression. If an expected result type was given, then it verifies that that type matches the actual result type. Conditions for type checking and the constructedCheckedExprare described in checked.proto.
-
typecheck
@CheckReturnValue @Internal public static CelAbstractSyntaxTree typecheck(Env env, java.lang.String inContainer, CelAbstractSyntaxTree ast, com.google.common.base.Optional<CelType> expectedResultType)
Deprecated.Type-checks the parsed expression within the given environment and returns a checked expression. If an expected result type was given, then it verifies that that type matches the actual result type. Conditions for type checking and the constructedCheckedExprare described in checked.proto.CEL Library Internals. Do not use. CEL-Java users should use the Fluent APIs instead.
-
-