Home
last modified time | relevance | path

Searched refs:insertNodeAfter (Results 1 – 18 of 18) sorted by relevance

/third_party/typescript/src/testRunner/unittests/services/
DtextChanges.ts300 …changeTracker.insertNodeAfter(sourceFile, findVariableDeclarationContaining("y", sourceFile), crea…
321 …changeTracker.insertNodeAfter(sourceFile, findVariableStatementContaining("y", sourceFile), create…
324 … changeTracker.insertNodeAfter(sourceFile, findChild("M", sourceFile), createTestClass());
359 …changeTracker.insertNodeAfter(sourceFile, findVariableStatementContaining("x", sourceFile), create…
647 changeTracker.insertNodeAfter(sourceFile, insertAfter, newNode);
659 …changeTracker.insertNodeAfter(sourceFile, findChild("x", sourceFile), factory.createPropertyDeclar…
670 …changeTracker.insertNodeAfter(sourceFile, findChild("x", sourceFile), factory.createPropertyDeclar…
708 changeTracker.insertNodeAfter(sourceFile, findChild("x", sourceFile), newNode);
725 changeTracker.insertNodeAfter(sourceFile, findChild("x", sourceFile), newNode);
741 changeTracker.insertNodeAfter(sourceFile, findChild("x", sourceFile), newNode);
[all …]
/third_party/typescript/src/services/refactors/
DconvertExport.ts139 …changes.insertNodeAfter(exportingSourceFile, exportKeyword, factory.createToken(SyntaxKind.Default…
155 …changes.insertNodeAfter(exportingSourceFile, exportNode, factory.createExportDefault(factory.creat…
206 changes.insertNodeAfter(importingSourceFile, clause.parent, newImport);
DconvertImport.ts144 …changes.insertNodeAfter(sourceFile, importDecl, updateImport(importDecl, /*defaultImportName*/ und…
217 …changes.insertNodeAfter(sourceFile, toConvert.parent.parent, updateImport(importDecl, /*defaultImp…
DinferFunctionReturnType.ts64 … changes.insertNodeAfter(sourceFile, endNode, factory.createToken(SyntaxKind.CloseParenToken));
DconvertArrowFunctionOrFunctionExpression.ts227 t.insertNodeAfter(file, statement, newNode);
DmoveToNewFile.ts200 … if (newImportDeclaration) changes.insertNodeAfter(sourceFile, statement, newImportDeclaration);
249 …changes.insertNodeAfter(sourceFile, oldImportNode, updateNamespaceLikeImportNode(oldImportNode, ne…
/third_party/typescript/src/services/codefixes/
DsplitTypeOnlyImport.ts37 … changes.insertNodeAfter(context.sourceFile, importDeclaration, factory.createImportDeclaration(
DconvertToTypeOnlyExport.ts61 changes.insertNodeAfter(context.sourceFile, exportDeclaration, typeExportDeclaration);
DfixClassIncorrectlyImplementsInterface.ts80 changeTracker.insertNodeAfter(sourceFile, constructor, newElement);
DfixAddMissingMember.ts296 changeTracker.insertNodeAfter(sourceFile, classDeclaration, staticInitialization);
308 changeTracker.insertNodeAfter(sourceFile, lastProp, property);
371 changeTracker.insertNodeAfter(sourceFile, lastProp, property);
442 changes.insertNodeAfter(sourceFile, containingMethodDeclaration, signatureDeclaration);
DannotateWithTypeFromJSDoc.ts56 …if (needParens) changes.insertNodeAfter(sourceFile, last(decl.parameters), factory.createToken(Syn…
DconvertFunctionToEs6Class.ts37 changes.insertNodeAfter(sourceFile, ancestor, classDeclaration);
DgenerateAccessors.ts218 changeTracker.insertNodeAfter(file, declaration, accessor);
DinferFromUsage.ts250 …if (needParens) changes.insertNodeAfter(sourceFile, last(containingFunction.parameters), factory.c…
375 …changes.insertNodeAfter(sourceFile, last(signature.parameters), factory.createToken(SyntaxKind.Clo…
DimportFixes.ts1205 …changes.insertNodeAfter(sourceFile, Debug.checkDefined(clause.name, "Import clause must have eithe…
/third_party/typescript/src/services/
DgetEditsForFileRename.ts69 …changeTracker.insertNodeAfter(configFile, last(property.initializer.elements), factory.createStrin…
DtextChanges.ts595 this.insertNodeAfter(sourceFile, superCallStatement, newStatement);
605 this.insertNodeAfter(sourceFile, lastStatement, newStatement);
694 public insertNodeAfter(sourceFile: SourceFile, after: Node, newNode: Node): void { method in ts.textChanges.ChangeTracker
Dutilities.ts2081 changes.insertNodeAfter(sourceFile, prevImport, newImport);