(rootNode)
| 31814 | } |
| 31815 | } |
| 31816 | function fixupParentReferences(rootNode) { |
| 31817 | // normally parent references are set during binding. However, for clients that only need |
| 31818 | // a syntax tree, and no semantic features, then the binding process is an unnecessary |
| 31819 | // overhead. This functions allows us to set all the parents, without all the expense of |
| 31820 | // binding. |
| 31821 | ts.setParentRecursive(rootNode, /*incremental*/ true); |
| 31822 | } |
| 31823 | Parser.fixupParentReferences = fixupParentReferences; |
| 31824 | function createSourceFile(fileName, languageVersion, scriptKind, isDeclarationFile, statements, endOfFileToken, flags, setExternalModuleIndicator) { |
| 31825 | // code from createNode is inlined here so createNode won't have to deal with special case of creating source files |
no outgoing calls
no test coverage detected
searching dependent graphs…