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

Method Kind

common/ast/expr.go:329–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327}
328
329func (e *expr) Kind() ExprKind {
330 if e == nil || e.exprKindCase == nil {
331 return UnspecifiedExprKind
332 }
333 return e.exprKindCase.Kind()
334}
335
336func (e *expr) AsCall() CallExpr {
337 if e.Kind() != CallKind {

Callers 8

AsCallMethod · 0.95
AsComprehensionMethod · 0.95
AsIdentMethod · 0.95
AsLiteralMethod · 0.95
AsListMethod · 0.95
AsMapMethod · 0.95
AsSelectMethod · 0.95
AsStructMethod · 0.95

Calls 1

KindMethod · 0.65

Tested by

no test coverage detected