MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / child_index

Method child_index

common/ast/navigable_ast_internal.h:184–184  ·  view source on GitHub ↗

The index of this node in the parent's children. -1 if this is a root.

Source from the content-addressed store, hash-verified

182
183 // The index of this node in the parent's children. -1 if this is a root.
184 int child_index() const { return data_.child_index; }
185
186 // The type of traversal from parent to this node.
187 ChildKind parent_relation() const { return data_.parent_relation; }

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64