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 CelAbstractSyntaxTree
ExprChecker. 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 CelValidationResult
CelChecker. check(CelAbstractSyntaxTree ast)
Check the inputast
for type-agreement and return aCelValidationResult
.CelValidationResult
CelCheckerLegacyImpl. check(CelAbstractSyntaxTree ast)
static CelAbstractSyntaxTree
ExprChecker. 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.void
CelProtoExprVisitor. visit(CelAbstractSyntaxTree ast)
Visit theast
value, 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 CelAbstractSyntaxTree
CelProtoAbstractSyntaxTree. getAst()
Returns the native representation of the abstract syntax tree:CelAbstractSyntaxTree
.CelAbstractSyntaxTree
CelValidationResult. getAst()
Returns the validatedCelAbstractSyntaxTree
if one exists.static CelAbstractSyntaxTree
CelAbstractSyntaxTree. 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 CelAbstractSyntaxTree
CelAbstractSyntaxTree. 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 CelProtoAbstractSyntaxTree
CelProtoAbstractSyntaxTree. 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 void
CelExprVisitor. visit(CelAbstractSyntaxTree ast)
Visit theast
value, 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 CelValidationResult
CelCompilerImpl. check(CelAbstractSyntaxTree ast)
-
Uses of CelAbstractSyntaxTree in dev.cel.parser
Fields in dev.cel.parser declared as CelAbstractSyntaxTree Modifier and Type Field Description protected CelAbstractSyntaxTree
CelUnparserVisitor. ast
Methods in dev.cel.parser with parameters of type CelAbstractSyntaxTree Modifier and Type Method Description java.lang.String
CelUnparser. unparse(CelAbstractSyntaxTree ast)
Unparses theCelAbstractSyntaxTree
value to a human-readable string.Constructors in dev.cel.parser with parameters of type CelAbstractSyntaxTree Constructor Description CelUnparserVisitor(CelAbstractSyntaxTree ast)
Creates a newCelUnparserVisitor
.
-