* 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 op
(children, callback, traverseContext)
| 2093 | * @return {!number} The number of children in this subtree. |
| 2094 | */ |
| 2095 | function traverseAllChildren(children, callback, traverseContext) { |
| 2096 | if (children == null) { |
| 2097 | return 0; |
| 2098 | } |
| 2099 | |
| 2100 | return traverseAllChildrenImpl(children, '', callback, traverseContext); |
| 2101 | } |
| 2102 | |
| 2103 | /** |
| 2104 | * Generate a key string that identifies a component within a set. |
no test coverage detected