/third_party/typescript/src/compiler/factory/ |
D | emitNode.ts | 17 …const sourceFile = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node))) ?? Debug.fail(… 38 …const annotatedNodes = getSourceFileOfNode(getParseTreeNode(sourceFile))?.emitNode?.annotatedNodes;
|
/third_party/typescript/src/debug/ |
D | dbg.ts | 60 getSourceFileOfNode(node: Node): SourceFile; method 124 let getSourceFileOfNode: TypeScriptModule["getSourceFileOfNode"]; variable 130 getSourceFileOfNode = ts.getSourceFileOfNode; 365 const sourceFile = getSourceFileOfNode(node);
|
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | symbolWalker.ts | 27 return getSourceFileOfNode(d).hasNoDefaultLib;
|
/third_party/typescript/src/compiler/ |
D | tracing.ts | 195 const firstFile = firstDeclaration && getSourceFileOfNode(firstDeclaration); 264 …end: indexFromOne(getLineAndCharacterOfPosition(getSourceFileOfNode(firstDeclaration), firstDeclar…
|
D | transformer.ts | 206 disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node))); 496 disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));
|
D | builderState.ts | 93 const declarationSourceFile = getSourceFileOfNode(symbol.declarations[0]); 179 const declarationSourceFile = getSourceFileOfNode(declaration);
|
D | checker.ts | 1000 const file = getSourceFileOfNode(location); 1111 const file = getSourceFileOfNode(location); 1261 … const sourceSymbolFile = source.declarations && getSourceFileOfNode(source.declarations[0]); 1262 … const targetSymbolFile = target.declarations && getSourceFileOfNode(target.declarations[0]); 1423 const sourceFileName = getSourceFileOfNode(node).fileName.trim(); 1434 if (!getSourceFileOfNode(declaration).fileName) { 1437 const symbolFileName = sys?.resolvePath(getSourceFileOfNode(declaration).fileName); 1496 const declarationFile = getSourceFileOfNode(declaration); 1497 const useFile = getSourceFileOfNode(usage); 3331 const currentSourceFile = getSourceFileOfNode(location); [all …]
|
D | utilities.ts | 258 export function getSourceFileOfNode(node: Node): SourceFile; function 259 export function getSourceFileOfNode(node: Node | undefined): SourceFile | undefined; 260 export function getSourceFileOfNode(node: Node): SourceFile { 454 const file = getSourceFileOfNode(node); 673 …return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, /*stopAfterLineBreak*/… 688 …return node.virtual ? node.pos : skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.p… 696 return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 727 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); 1193 const sourceFile = getSourceFileOfNode(node); 1208 const sourceFile = getSourceFileOfNode(node); [all …]
|
D | moduleSpecifiers.ts | 105 …const moduleSourceFile = getSourceFileOfNode(moduleSymbol.valueDeclaration || getNonAugmentationDe…
|
D | debug.ts | 653 const sourceFile = parseNode && getSourceFileOfNode(parseNode);
|
/third_party/typescript/src/services/codefixes/ |
D | fixPropertyOverrideAccessor.ts | 50 file = getSourceFileOfNode(baseProp.valueDeclaration);
|
D | fixInvalidImportSyntax.ts | 6 const sourceFile = getSourceFileOfNode(node);
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 111 const container = getSourceFileOfNode(node); 209 …const primaryDeclaration = find(parentSymbol.declarations, d => getSourceFileOfNode(d) === contain… 210 …const augmentingDeclarations = filter(symbol.declarations, d => getSourceFileOfNode(d) !== contain… 1081 …if (!host.getCompilerOptions().ets?.styles.component || getSourceFileOfNode(input).scriptKind !== … 1475 … getSourceFileOfNode(input).scriptKind === ScriptKind.ETS ? ensureEtsDecorators(input) : undefined, 1487 … getSourceFileOfNode(input).scriptKind === ScriptKind.ETS ? ensureEtsDecorators(input) : undefined,
|
/third_party/typescript/src/services/ |
D | symbolDisplay.ts | 436 getSourceFileOfNode(resolvedNode), 520 …getPrinter().writeNode(EmitHint.Unspecified, param, getSourceFileOfNode(getParseTreeNode(enclosing… 688 …getPrinter().writeList(ListFormat.TypeParameters, params, getSourceFileOfNode(getParseTreeNode(enc…
|
D | importTracker.ts | 72 return indirectUserDeclarations!.map<SourceFile>(getSourceFileOfNode);
|
D | services.ts | 44 return getSourceFileOfNode(this); 237 return getSourceFileOfNode(this);
|
D | completions.ts | 1389 const locals = getSourceFileOfNode(node).locals; 1414 const locals = getSourceFileOfNode(node).locals;
|
/third_party/typescript/src/services/refactors/ |
D | convertOverloadListToSingleSignature.ts | 201 if (!every(decls, d => getSourceFileOfNode(d) === file)) {
|
D | convertParamsToDestructuredObject.ts | 68 getSourceFileOfNode(call),
|
/third_party/typescript/lib/ |
D | tsc.js | 2341 var sourceFile = parseNode && ts.getSourceFileOfNode(parseNode); 3035 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration); 3083 …end: indexFromOne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), first… 10246 function getSourceFileOfNode(node) { function 10252 ts.getSourceFileOfNode = getSourceFileOfNode; 10319 var file = getSourceFileOfNode(node); 10455 … return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, false, true); 10463 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos); 10470 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 10499 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); [all …]
|
D | typingsInstaller.js | 2748 var sourceFile = parseNode && ts.getSourceFileOfNode(parseNode); 3624 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration); 3675 …end: indexFromOne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), first… 13535 function getSourceFileOfNode(node) { function 13541 ts.getSourceFileOfNode = getSourceFileOfNode; 13610 var file = getSourceFileOfNode(node); 13788 …return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, /*stopAfterLineBrea… 13800 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos); 13807 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 13837 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); [all …]
|
D | typescriptServices.js | 2953 var sourceFile = parseNode && ts.getSourceFileOfNode(parseNode); 3829 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration); 3880 …end: indexFromOne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), first… 13740 function getSourceFileOfNode(node) { function 13746 ts.getSourceFileOfNode = getSourceFileOfNode; 13815 var file = getSourceFileOfNode(node); 13993 …return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, /*stopAfterLineBrea… 14005 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos); 14012 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 14042 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); [all …]
|
D | tsserverlibrary.js | 2953 var sourceFile = parseNode && ts.getSourceFileOfNode(parseNode); 3829 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration); 3880 …end: indexFromOne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), first… 13740 function getSourceFileOfNode(node) { function 13746 ts.getSourceFileOfNode = getSourceFileOfNode; 13815 var file = getSourceFileOfNode(node); 13993 …return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, /*stopAfterLineBrea… 14005 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos); 14012 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 14042 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); [all …]
|
D | tsserver.js | 2759 var sourceFile = parseNode && ts.getSourceFileOfNode(parseNode); 3635 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration); 3686 …end: indexFromOne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), first… 13546 function getSourceFileOfNode(node) { function 13552 ts.getSourceFileOfNode = getSourceFileOfNode; 13621 var file = getSourceFileOfNode(node); 13799 …return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, /*stopAfterLineBrea… 13811 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos); 13818 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 13848 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); [all …]
|
D | typescript.js | 2953 var sourceFile = parseNode && ts.getSourceFileOfNode(parseNode); 3829 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration); 3880 …end: indexFromOne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), first… 13740 function getSourceFileOfNode(node) { function 13746 ts.getSourceFileOfNode = getSourceFileOfNode; 13815 var file = getSourceFileOfNode(node); 13993 …return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, /*stopAfterLineBrea… 14005 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos); 14012 return ts.skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.decorators.end); 14042 return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia); [all …]
|