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

Method AsSelect

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

AsSelect adapts the expr into a SelectExpr. The Kind() must be equal to a SelectKind for the conversion to be well-defined.

()

Source from the content-addressed store, hash-verified

95 //
96 // The Kind() must be equal to a SelectKind for the conversion to be well-defined.
97 AsSelect() SelectExpr
98
99 // AsStruct adapts the expr into a StructExpr.
100 //

Callers 15

VisitExprMethod · 0.65
VisitExprMethod · 0.65
planSelectMethod · 0.65
toQualifiedNameMethod · 0.65
pruneMethod · 0.65
visitFunction · 0.65
costSelectMethod · 0.65
checkSelectMethod · 0.65
computeQualifiersMethod · 0.65
visitSelectMethod · 0.65
CopyMethod · 0.65
MakeHasFunction · 0.65

Calls

no outgoing calls

Tested by 5

TestSetKindCaseFunction · 0.52
TestSelectFunction · 0.52
TestSelectNilFunction · 0.52
TestNavigableSelectExprFunction · 0.52