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

Method Size

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

Size returns the number of entries in the map.

()

Source from the content-addressed store, hash-verified

216
217 // Size returns the number of entries in the map.
218 Size() int
219
220 // marker interface method
221 isExpr()

Callers 15

OptimizeMethod · 0.65
optionalDeclsFunction · 0.65
ResolveNameMethod · 0.65
refQualifyFunction · 0.65
actualSizeFunction · 0.65
maybeCreateLiteralMethod · 0.65
maybePruneInMethod · 0.65
costCreateListMethod · 0.65
costCreateMapMethod · 0.65
isBindMethod · 0.65
computeExprSizeFunction · 0.65

Implementers 1

baseMapExprcommon/ast/expr.go

Calls

no outgoing calls

Tested by 14

optionalDeclsFunction · 0.52
TestFunctionMergeFunction · 0.52
TestUnaryBindingFunction · 0.52
TestDynamicDispatchFunction · 0.52
BenchmarkDynamicDispatchFunction · 0.52
TestListFunction · 0.52
TestListNilFunction · 0.52
TestMapFunction · 0.52
TestMapNilFunction · 0.52
TestNavigableListExprFunction · 0.52
TestNavigableMapExprFunction · 0.52
TestFunctionBindingsFunction · 0.52