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

Method AsIdent

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

AsIdent adapts the expr into an identifier string. The Kind() must be equal to an IdentKind for the conversion to be well-defined.

()

Source from the content-addressed store, hash-verified

75 //
76 // The Kind() must be equal to an IdentKind for the conversion to be well-defined.
77 AsIdent() string
78
79 // AsLiteral adapts the expr into a constant ref.Val.
80 //

Callers 15

VisitExprMethod · 0.65
rewriteVariableNameMethod · 0.65
planIdentMethod · 0.65
toQualifiedNameMethod · 0.65
isCelBindMacroFunction · 0.65
costIdentMethod · 0.65
getPathMethod · 0.65
computeSizeMethod · 0.65
computeEntrySizeMethod · 0.65
checkIdentMethod · 0.65
computeQualifiersMethod · 0.65
visitIdentMethod · 0.65

Calls

no outgoing calls

Tested by 11

VisitExprMethod · 0.52
TestMacroModernFunction · 0.52
TestSetKindCaseFunction · 0.52
TestIdentFunction · 0.52
TestIdentNilFunction · 0.52
TestListFunction · 0.52
TestSelectFunction · 0.52
TestNavigableSelectExprFunction · 0.52
isCELNamespaceFunction · 0.52