MCPcopy Create free account
hub / github.com/cel-expr/cel-go / AST

Struct AST

common/ast/ast.go:27–32  ·  view source on GitHub ↗

AST contains a protobuf expression and source info along with CEL-native type and reference information.

Source from the content-addressed store, hash-verified

25
26// AST contains a protobuf expression and source info along with CEL-native type and reference information.
27type AST struct {
28 expr Expr
29 sourceInfo *SourceInfo
30 typeMap map[int64]*types.Type
31 refMap map[int64]*ReferenceInfo
32}
33
34// Expr returns the root ast.Expr value in the AST.
35func (a *AST) Expr() Expr {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected