Home
last modified time | relevance | path

Searched refs:insertNodeBefore (Results 1 – 11 of 11) sorted by relevance

/third_party/typescript/src/services/refactors/
DextractType.ts208 …changes.insertNodeBefore(file, firstStatement, ignoreSourceNewlines(newTypeNode), /* blankLineBetw…
223 …changes.insertNodeBefore(file, firstStatement, ignoreSourceNewlines(newTypeNode), /* blankLineBetw…
249 …changes.insertNodeBefore(file, firstStatement, factory.createJSDocComment(/* comment */ undefined,…
DinferFunctionReturnType.ts63 … changes.insertNodeBefore(sourceFile, endNode, factory.createToken(SyntaxKind.OpenParenToken));
DconvertExport.ts240 changes.insertNodeBefore(importingSourceFile, parent.parent, defaultImport);
DextractSymbol.ts974 …changeTracker.insertNodeBefore(context.file, nodeToInsertBefore, newFunction, /*blankLineBetween*/…
1222 …changeTracker.insertNodeBefore(context.file, nodeToInsertBefore, newVariable, /*blankLineBetween*/…
1238 … changeTracker.insertNodeBefore(context.file, oldVariableDeclaration, newVariableDeclaration);
1263 …changeTracker.insertNodeBefore(context.file, nodeToInsertBefore, newVariableStatement, /*blankLine…
/third_party/typescript/src/services/codefixes/
DconvertToTypeOnlyImport.ts41 … changes.insertNodeBefore(context.sourceFile, importDeclaration, factory.updateImportDeclaration(
DannotateWithTypeFromJSDoc.ts49 …if (needParens) changes.insertNodeBefore(sourceFile, first(decl.parameters), factory.createToken(S…
DinferFromUsage.ts244 …if (needParens) changes.insertNodeBefore(sourceFile, first(containingFunction.parameters), factory…
365 …changes.insertNodeBefore(sourceFile, first(signature.parameters), factory.createToken(SyntaxKind.O…
DfixAddMissingMember.ts484 …? changes.insertNodeBefore(info.sourceFile, info.parentDeclaration, functionDeclaration, /*blankLi…
/third_party/typescript/src/testRunner/unittests/services/
DtextChanges.ts95 … changeTracker.insertNodeBefore(sourceFile, /*before*/findChild("M2", sourceFile), newFunction);
297 …changeTracker.insertNodeBefore(sourceFile, findVariableStatementContaining("y", sourceFile), creat…
315 …changeTracker.insertNodeBefore(sourceFile, findVariableStatementContaining("y", sourceFile), creat…
318 … changeTracker.insertNodeBefore(sourceFile, findChild("M", sourceFile), createTestClass());
/third_party/typescript/src/services/
DtextChanges.ts446 this.insertNodeBefore(sourceFile, p0, newParam);
453 …public insertNodeBefore(sourceFile: SourceFile, before: Node, newNode: Node, blankLineBetween = fa… method in ts.textChanges.ChangeTracker
585 this.insertNodeBefore(sourceFile, firstStatement, newStatement);
794 this.insertNodeBefore(
Dutilities.ts2077 …changes.insertNodeBefore(sourceFile, existingImportStatements[0], newImport, /*blankLineBetween*/ …