(parent, child)
| 140777 | return n.node.kind; |
| 140778 | } |
| 140779 | function pushChild(parent, child) { |
| 140780 | if (parent.children) { |
| 140781 | parent.children.push(child); |
| 140782 | } |
| 140783 | else { |
| 140784 | parent.children = [child]; |
| 140785 | } |
| 140786 | } |
| 140787 | function rootNavigationBarNode(sourceFile) { |
| 140788 | ts.Debug.assert(!parentsStack.length); |
| 140789 | var root = { node: sourceFile, name: undefined, additionalNodes: undefined, parent: undefined, children: undefined, indent: 0 }; |
no test coverage detected