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

Method tree_size

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

The number of nodes in the tree rooted at this node (including self).

Source from the content-addressed store, hash-verified

191
192 // The number of nodes in the tree rooted at this node (including self).
193 size_t tree_size() const { return data_.tree_size; }
194
195 // The height of this node in the tree (the number of descendants including
196 // self on the longest path).

Callers 2

ASSERT_OK_AND_ASSIGNFunction · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.80

Calls

no outgoing calls

Tested by 2

ASSERT_OK_AND_ASSIGNFunction · 0.64
ASSERT_OK_AND_ASSIGNFunction · 0.64