Home
last modified time | relevance | path

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

/third_party/typescript/src/services/codefixes/
DfixAddMissingMember.ts98 … const { parentDeclaration, declSourceFile, modifierFlags, token, call, isJSFile } = info; constant
101 …xt, changes, call, token, modifierFlags & ModifierFlags.Static, parentDeclaration, declSourceFile);
105 …addMissingMemberInJs(changes, declSourceFile, parentDeclaration, token, !!(modifierFlags & Modifie…
109 …addPropertyDeclaration(changes, declSourceFile, parentDeclaration, token.text, typeNode, modifierF…
132 readonly declSourceFile: SourceFile; property
251 const declSourceFile = declaration.getSourceFile(); constant
254 const isJSFile = isSourceFileJS(declSourceFile);
256 …eclaration, token, call, modifierFlags, parentDeclaration: declaration, declSourceFile, isJSFile };
272 …MemberInJavascriptFile(context: CodeFixContext, { parentDeclaration, declSourceFile, modifierFlags…
277 …textChanges.ChangeTracker.with(context, t => addMissingMemberInJs(t, declSourceFile, parentDeclara…
[all …]
/third_party/typescript/src/harness/
DtypeWriter.ts176 const declSourceFile = declaration.getSourceFile(); constant
177 … const declLineAndCharacter = declSourceFile.getLineAndCharacterOfPosition(declaration.pos);
178 const fileName = ts.getBaseFileName(declSourceFile.fileName);