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

Method AsCall

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

AsCall adapts the expr into a CallExpr The Kind() must be equal to a CallKind for the conversion to be well-defined.

()

Source from the content-addressed store, hash-verified

65 //
66 // The Kind() must be equal to a CallKind for the conversion to be well-defined.
67 AsCall() CallExpr
68
69 // AsComprehension adapts the expr into a ComprehensionExpr.
70 //

Callers 15

VisitExprMethod · 0.65
VisitExprMethod · 0.65
OptimizeMethod · 0.65
isOptionalNoneFunction · 0.65
planCallMethod · 0.65
resolveFunctionMethod · 0.65
maybePruneInMethod · 0.65
maybePruneLogicalNotMethod · 0.65
maybePruneOrMethod · 0.65
maybePruneAndMethod · 0.65
maybePruneConditionalMethod · 0.65

Calls

no outgoing calls

Tested by 10

GetMetadataMethod · 0.52
TestSetKindCaseFunction · 0.52
TestCallFunction · 0.52
TestMemberCallFunction · 0.52
TestCallNilFunction · 0.52
TestNavigableExprFunction · 0.52