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

Method AsMapEntry

common/ast/expr.go:145–145  ·  view source on GitHub ↗

AsMapEntry casts the EntryExpr to a MapEntry. The Kind() must be equal to MapEntryKind for the conversion to be well-defined.

()

Source from the content-addressed store, hash-verified

143 //
144 // The Kind() must be equal to MapEntryKind for the conversion to be well-defined.
145 AsMapEntry() MapEntry
146
147 // AsStructField casts the EntryExpr to a StructField
148 //

Callers 15

VisitEntryExprMethod · 0.65
planCreateMapMethod · 0.65
pruneMethod · 0.65
visitFunction · 0.65
costCreateMapMethod · 0.65
checkCreateMapMethod · 0.65
visitStructMapMethod · 0.65
CopyMethod · 0.65
verifyStringMethod · 0.65
verifyStringMethod · 0.65
ValidateMethod · 0.65
pruneOptionalMapEntriesFunction · 0.65

Calls

no outgoing calls

Tested by 3

TestMapFunction · 0.52
TestMapEntryNilFunction · 0.52
TestNavigableMapExprFunction · 0.52