Uses of Class
dev.cel.common.CelAbstractSyntaxTree
-
Packages that use CelAbstractSyntaxTree Package Description dev.cel.checker dev.cel.common dev.cel.common.ast dev.cel.compiler dev.cel.parser -
-
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 CelAbstractSyntaxTreeCelProtoAbstractSyntaxTree. getAst()Returns the native representation of the abstract syntax tree:CelAbstractSyntaxTree.CelAbstractSyntaxTreeCelValidationResult. getAst()Returns the validatedCelAbstractSyntaxTreeif one exists.static CelAbstractSyntaxTreeCelAbstractSyntaxTree. newCheckedAst(CelExpr celExpr, CelSource celSource, java.util.Map<java.lang.Long,CelReference> references, java.util.Map<java.lang.Long,CelType> types)Constructs a new instance of CelAbstractSyntaxTree that represent a checked expression.static CelAbstractSyntaxTreeCelAbstractSyntaxTree. newParsedAst(CelExpr celExpr, CelSource celSource)Constructs a new instance of CelAbstractSyntaxTree that represent a parsed expression.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.common.ast
Methods in dev.cel.common.ast with parameters of type CelAbstractSyntaxTree Modifier and Type Method Description voidCelExprVisitor. visit(CelAbstractSyntaxTree ast)Visit theastvalue, routing to overloads based on the kind of expression. -
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) -
Uses of CelAbstractSyntaxTree in dev.cel.parser
Fields in dev.cel.parser declared as CelAbstractSyntaxTree Modifier and Type Field Description protected CelAbstractSyntaxTreeCelUnparserVisitor. astMethods in dev.cel.parser with parameters of type CelAbstractSyntaxTree Modifier and Type Method Description java.lang.StringCelUnparser. unparse(CelAbstractSyntaxTree ast)Unparses theCelAbstractSyntaxTreevalue to a human-readable string.Constructors in dev.cel.parser with parameters of type CelAbstractSyntaxTree Constructor Description CelUnparserVisitor(CelAbstractSyntaxTree ast)Creates a newCelUnparserVisitor.
-