Uses of Class
dev.cel.common.CelAbstractSyntaxTree
-
Packages that use CelAbstractSyntaxTree Package Description dev.cel.checker dev.cel.common dev.cel.compiler -
-
Uses of CelAbstractSyntaxTree in dev.cel.checker
Methods in dev.cel.checker that return CelAbstractSyntaxTree Modifier and Type Method Description static CelAbstractSyntaxTreeExprChecker. 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.Methods in dev.cel.checker with parameters of type CelAbstractSyntaxTree Modifier and Type Method Description CelValidationResultCelChecker. check(CelAbstractSyntaxTree ast)Check the inputastfor type-agreement and return aCelValidationResult.CelValidationResultCelCheckerLegacyImpl. check(CelAbstractSyntaxTree ast)static CelAbstractSyntaxTreeExprChecker. 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.voidCelProtoExprVisitor. visit(CelAbstractSyntaxTree ast)Visit theastvalue, routing to overloads based on the kind of expression. -
Uses of CelAbstractSyntaxTree in dev.cel.common
Methods in dev.cel.common that return CelAbstractSyntaxTree Modifier and Type Method Description static CelAbstractSyntaxTreeCelAbstractSyntaxTree. fromCheckedExpr(CheckedExpr checkedExpr)Deprecated.static CelAbstractSyntaxTreeCelAbstractSyntaxTree. fromParsedExpr(ParsedExpr parsedExpr)Deprecated.CelAbstractSyntaxTreeCelProtoAbstractSyntaxTree. getAst()Returns the native representation of the abstract syntax tree:CelAbstractSyntaxTree.CelAbstractSyntaxTreeCelValidationResult. getAst()Returns the validatedCelAbstractSyntaxTreeif one exists.Methods in dev.cel.common with parameters of type CelAbstractSyntaxTree Modifier and Type Method Description static CelProtoAbstractSyntaxTreeCelProtoAbstractSyntaxTree. fromCelAst(CelAbstractSyntaxTree ast)Constructs CelProtoAbstractSyntaxTree fromCelAbstractSyntaxTree.Constructors in dev.cel.common with parameters of type CelAbstractSyntaxTree Constructor Description CelValidationResult(CelAbstractSyntaxTree ast, com.google.common.collect.ImmutableList<CelIssue> issues)Internal: Consumers should not be creating an instance of this class on their own -
Uses of CelAbstractSyntaxTree in dev.cel.compiler
Methods in dev.cel.compiler with parameters of type CelAbstractSyntaxTree Modifier and Type Method Description CelValidationResultCelCompilerImpl. check(CelAbstractSyntaxTree ast)
-