/third_party/typescript/src/services/codefixes/ |
D | fixInvalidImportSyntax.ts | 6 const sourceFile = getSourceFileOfNode(node); constant 42 const sourceFile = context.sourceFile; constant 72 const sourceFile = context.sourceFile; constant 91 const sourceFile = context.sourceFile; constant
|
D | fixClassSuperMustPrecedeThisAccess.ts | 8 const { sourceFile, span } = context; constant 17 const { sourceFile } = context; constant
|
D | fixJSDocTypes.ts | 9 const { sourceFile } = context; constant 30 const { fixId, program, sourceFile } = context; constant
|
D | addMissingAsync.ts | 15 const { sourceFile, errorCode, cancellationToken, program, span } = context; constant 28 const { sourceFile } = context; constant
|
D | addEmptyExportDeclaration.ts | 9 const { sourceFile } = context; constant
|
D | fixPropertyAssignment.ts | 12 const { sourceFile, span } = context; constant
|
D | fixConstructorForDerivedNeedSuperCall.ts | 8 const { sourceFile, span } = context; constant
|
D | fixAddMissingNewOperator.ts | 8 const { sourceFile, span } = context; constant
|
D | fixMissingCallParentheses.ts | 12 const { sourceFile, span } = context; constant
|
D | addMissingAwait.ts | 33 const { sourceFile, errorCode, span, cancellationToken, program } = context; constant 46 const { sourceFile, program, cancellationToken } = context; constant 62 const { sourceFile, program, cancellationToken } = context; constant
|
D | fixIncorrectNamedTupleSyntax.ts | 12 const { sourceFile, span } = context; constant
|
D | fixAddModuleReferTypeMissingTypeof.ts | 10 const { sourceFile, span } = context; constant
|
D | fixNoPropertyAccessFromIndexSignature.ts | 12 const { sourceFile, span, preferences } = context; constant
|
/third_party/typescript/src/services/ |
D | services.ts | 1080 …const sourceFile = createSourceFile(fileName, getSnapshotText(scriptSnapshot), scriptTarget, setNo… constant 1285 const sourceFile = program.getSourceFile(fileName); constant 1595 const sourceFile = getValidSourceFile(fileName); constant 1698 const sourceFile = getValidSourceFile(fileName); constant 1704 const sourceFile = getValidSourceFile(fileName); constant 1758 const sourceFile = getValidSourceFile(fileName); constant 1770 const sourceFile = getValidSourceFile(fileName); constant 1781 const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName); constant 1839 const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName); constant 1902 const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName); constant [all …]
|
D | documentRegistry.ts | 105 sourceFile: SourceFile; property 177 const sourceFile = externalCache.getDocument(key, path); constant 190 …const sourceFile = createLanguageServiceSourceFile(fileName, scriptSnapshot, scriptTarget, version… constant
|
/third_party/jsframework/mock-generate/src/ |
D | main.ts | 103 const sourceFile = createSourceFile('', code.toString(), ScriptTarget.Latest); constant 111 const sourceFile = createSourceFile('', code.toString(), ScriptTarget.Latest); constant
|
/third_party/typescript/src/testRunner/ |
D | test262Runner.ts | 77 …const sourceFile = testState.compilerResult.program!.getSourceFile(Test262BaselineRunner.getTestFi… constant 82 …const sourceFile = testState.compilerResult.program!.getSourceFile(Test262BaselineRunner.getTestFi… constant
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | no-implied-eval.ts | 87 const sourceFile = declaration.getSourceFile(); constant 141 const sourceFile = declaration.getSourceFile(); constant
|
D | no-throw-literal.ts | 47 const sourceFile = declaration.getSourceFile(); constant
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | documentRegistry.ts | 58 const sourceFile = moduleInfo.cacheSourceFile!.sourceFile; constant 76 const sourceFile = moduleInfo.cacheSourceFile!.sourceFile; constant
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/fix-tests/ |
D | main.go | 284 func writeSourceFile(path string, file sourceFile) error { 289 type sourceFile struct { struct 290 parts []string 291 tests map[string]int // "X.Y" -> part index
|
/third_party/typescript/tests/cases/compiler/ |
D | APISample_linter.ts | 71 …let sourceFile = ts.createSourceFile(fileName, readFileSync(fileName).toString(), ts.ScriptTarget.… variable
|
/third_party/typescript_eslint/packages/eslint-plugin-tslint/tests/test-tslint-rules-directory/ |
D | alwaysFailRule.js | 5 apply(sourceFile) { argument
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | convertToAsyncFunction.ts | 308 const sourceFile = program.getSourceFile(path)!; constant 312 sourceFile, constant
|
D | textChanges.ts | 28 const sourceFile = createSourceFile("f.ts", text, ScriptTarget.ES2015); constant 49 …const sourceFile = createSourceFile("source.ts", text, ScriptTarget.ES2015, /*setParentNodes*/ tru… constant 332 const classDecl = <ClassDeclaration>sourceFile.statements[0]; constant
|