Home
last modified time | relevance | path

Searched defs:sourceFile (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/typescript/src/services/codefixes/
DfixInvalidImportSyntax.ts6 const sourceFile = getSourceFileOfNode(node); constant
42 const sourceFile = context.sourceFile; constant
72 const sourceFile = context.sourceFile; constant
91 const sourceFile = context.sourceFile; constant
DfixClassSuperMustPrecedeThisAccess.ts8 const { sourceFile, span } = context; constant
17 const { sourceFile } = context; constant
DfixJSDocTypes.ts9 const { sourceFile } = context; constant
30 const { fixId, program, sourceFile } = context; constant
DaddMissingAsync.ts15 const { sourceFile, errorCode, cancellationToken, program, span } = context; constant
28 const { sourceFile } = context; constant
DaddEmptyExportDeclaration.ts9 const { sourceFile } = context; constant
DaddMissingAwait.ts33 const { sourceFile, errorCode, span, cancellationToken, program } = context; constant
46 const { sourceFile, program, cancellationToken } = context; constant
62 const { sourceFile, program, cancellationToken } = context; constant
DfixPropertyAssignment.ts12 const { sourceFile, span } = context; constant
DfixConstructorForDerivedNeedSuperCall.ts8 const { sourceFile, span } = context; constant
DfixMissingCallParentheses.ts12 const { sourceFile, span } = context; constant
DfixAddMissingNewOperator.ts8 const { sourceFile, span } = context; constant
DfixNoPropertyAccessFromIndexSignature.ts12 const { sourceFile, span, preferences } = context; constant
DfixIncorrectNamedTupleSyntax.ts12 const { sourceFile, span } = context; constant
DfixAddModuleReferTypeMissingTypeof.ts10 const { sourceFile, span } = context; constant
/third_party/typescript/src/services/
Dservices.ts146 …const sourceFileName: string | undefined = sourceFile ? sourceFile.fileName : node.getSourceFile()… constant
1086 …const sourceFile = createSourceFile(fileName, getSnapshotText(scriptSnapshot), scriptTarget, setNo… constant
1291 const sourceFile = program.getSourceFile(fileName); constant
1601 const sourceFile = getValidSourceFile(fileName); constant
1704 const sourceFile = getValidSourceFile(fileName); constant
1710 const sourceFile = getValidSourceFile(fileName); constant
1764 const sourceFile = getValidSourceFile(fileName); constant
1776 const sourceFile = getValidSourceFile(fileName); constant
1787 const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName); constant
1845 const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName); constant
[all …]
DdocumentRegistry.ts105 sourceFile: SourceFile; property
177 const sourceFile = externalCache.getDocument(key, path); constant
190 …const sourceFile = createLanguageServiceSourceFile(fileName, scriptSnapshot, scriptTarget, version… constant
/third_party/typescript/src/testRunner/
Dtest262Runner.ts77 …const sourceFile = testState.compilerResult.program!.getSourceFile(Test262BaselineRunner.getTestFi… constant
82 …const sourceFile = testState.compilerResult.program!.getSourceFile(Test262BaselineRunner.getTestFi… constant
/third_party/skia/third_party/externals/tint/tools/src/cmd/fix-tests/
Dmain.go284 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/src/testRunner/unittests/tsserver/
DdocumentRegistry.ts58 const sourceFile = moduleInfo.cacheSourceFile!.sourceFile; constant
76 const sourceFile = moduleInfo.cacheSourceFile!.sourceFile; constant
/third_party/typescript/src/testRunner/unittests/services/
DconvertToAsyncFunction.ts308 const sourceFile = program.getSourceFile(path)!; constant
312 sourceFile, constant
DtextChanges.ts28 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
/third_party/typescript/tests/cases/compiler/
DAPISample_linter.ts71 …let sourceFile = ts.createSourceFile(fileName, readFileSync(fileName).toString(), ts.ScriptTarget.… variable
/third_party/typescript/src/harness/
DtypeWriter.ts51 const sourceFile = this.program.getSourceFile(fileName)!; constant
60 const sourceFile = this.program.getSourceFile(fileName)!; constant
DcompilerImpl.ts90 for (const sourceFile of program.getSourceFiles()) { constant
116 for (const sourceFile of program.getSourceFiles()) { constant
/third_party/typescript/src/compiler/
DbuilderState.ts213 for (const sourceFile of newProgram.getSourceFiles()) { constant
270 const sourceFile = programOfThisState.getSourceFileByPath(path); constant
493 for (const sourceFile of programOfThisState.getSourceFiles()) { constant
/third_party/typescript/tests/baselines/reference/
DAPISample_linter.js67 …let sourceFile = ts.createSourceFile(fileName, readFileSync(fileName).toString(), ts.ScriptTarget.… variable

12345