Home
last modified time | relevance | path

Searched refs:newStatement (Results 1 – 2 of 2) sorted by relevance

/third_party/typescript/src/services/
DtextChanges.ts579 …ConstructorStart(sourceFile: SourceFile, ctr: ConstructorDeclaration, newStatement: Statement): vo…
582 … this.replaceConstructorBody(sourceFile, ctr, [newStatement, ...ctr.body!.statements]);
585 this.insertNodeBefore(sourceFile, firstStatement, newStatement);
589 …rtAfterSuperCall(sourceFile: SourceFile, ctr: ConstructorDeclaration, newStatement: Statement): vo…
592 … this.replaceConstructorBody(sourceFile, ctr, [...ctr.body!.statements, newStatement]);
595 this.insertNodeAfter(sourceFile, superCallStatement, newStatement);
599 …AtConstructorEnd(sourceFile: SourceFile, ctr: ConstructorDeclaration, newStatement: Statement): vo…
602 … this.replaceConstructorBody(sourceFile, ctr, [...ctr.body!.statements, newStatement]);
605 this.insertNodeAfter(sourceFile, lastStatement, newStatement);
/third_party/typescript/src/testRunner/unittests/services/
DtextChanges.ts98 const newStatement = factory.createReturnStatement( constant
104 …Tracker.replaceNodeRange(sourceFile, statements[0], last(statements), newStatement, { suffix: newL…