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

Method Depth

common/ast/navigable.go:42–42  ·  view source on GitHub ↗

Depth indicates the depth in the expression tree. The root expression has depth 0.

()

Source from the content-addressed store, hash-verified

40 //
41 // The root expression has depth 0.
42 Depth() int
43}
44
45// NavigateAST converts an AST to a NavigableExpr

Callers 4

OptimizeMethod · 0.95
TestNavigateASTFunction · 0.65
TestNavigableExprFunction · 0.65
NavigateExprFunction · 0.65

Implementers 1

navigableExprImplcommon/ast/navigable.go

Calls

no outgoing calls

Tested by 2

TestNavigateASTFunction · 0.52
TestNavigableExprFunction · 0.52