AST contains a protobuf expression and source info along with CEL-native type and reference information.
| 25 | |
| 26 | // AST contains a protobuf expression and source info along with CEL-native type and reference information. |
| 27 | type 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. |
| 35 | func (a *AST) Expr() Expr { |
nothing calls this directly
no outgoing calls
no test coverage detected