* Traverses children that are typically specified as `props.children`, but * might also be specified through attributes: * * - `traverseAllChildren(this.props.children, ...)` * - `traverseAllChildren(this.props.leftPanelChildren, ...)` * * The `traverseContext` is an optional argument that is
(children, callback, traverseContext)
| 19140 | * @return {!number} The number of children in this subtree. |
| 19141 | */ |
| 19142 | function traverseAllChildren(children, callback, traverseContext) { |
| 19143 | if (children == null) { |
| 19144 | return 0; |
| 19145 | } |
| 19146 | |
| 19147 | return traverseAllChildrenImpl(children, '', callback, traverseContext); |
| 19148 | } |
| 19149 | |
| 19150 | /** |
| 19151 | * Generate a key string that identifies a component within a set. |
no test coverage detected