Home
last modified time | relevance | path

Searched refs:getSourceFileOfNode (Results 1 – 25 of 27) sorted by relevance

12

/third_party/typescript/src/compiler/factory/
DemitNode.ts17 …const sourceFile = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node))) ?? Debug.fail(…
38 …const annotatedNodes = getSourceFileOfNode(getParseTreeNode(sourceFile))?.emitNode?.annotatedNodes;
/third_party/typescript/src/debug/
Ddbg.ts60 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/
DsymbolWalker.ts27 return getSourceFileOfNode(d).hasNoDefaultLib;
/third_party/typescript/src/compiler/
Dtracing.ts195 const firstFile = firstDeclaration && getSourceFileOfNode(firstDeclaration);
264 …end: indexFromOne(getLineAndCharacterOfPosition(getSourceFileOfNode(firstDeclaration), firstDeclar…
Dtransformer.ts206 disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));
496 disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));
DbuilderState.ts93 const declarationSourceFile = getSourceFileOfNode(symbol.declarations[0]);
179 const declarationSourceFile = getSourceFileOfNode(declaration);
Dchecker.ts1000 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 …]
Dutilities.ts258 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 …]
DmoduleSpecifiers.ts105 …const moduleSourceFile = getSourceFileOfNode(moduleSymbol.valueDeclaration || getNonAugmentationDe…
Ddebug.ts653 const sourceFile = parseNode && getSourceFileOfNode(parseNode);
/third_party/typescript/src/services/codefixes/
DfixPropertyOverrideAccessor.ts50 file = getSourceFileOfNode(baseProp.valueDeclaration);
DfixInvalidImportSyntax.ts6 const sourceFile = getSourceFileOfNode(node);
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts111 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 !== …
1475getSourceFileOfNode(input).scriptKind === ScriptKind.ETS ? ensureEtsDecorators(input) : undefined,
1487getSourceFileOfNode(input).scriptKind === ScriptKind.ETS ? ensureEtsDecorators(input) : undefined,
/third_party/typescript/src/services/
DsymbolDisplay.ts436 getSourceFileOfNode(resolvedNode),
520 …getPrinter().writeNode(EmitHint.Unspecified, param, getSourceFileOfNode(getParseTreeNode(enclosing…
688 …getPrinter().writeList(ListFormat.TypeParameters, params, getSourceFileOfNode(getParseTreeNode(enc…
DimportTracker.ts72 return indirectUserDeclarations!.map<SourceFile>(getSourceFileOfNode);
Dservices.ts44 return getSourceFileOfNode(this);
237 return getSourceFileOfNode(this);
Dcompletions.ts1389 const locals = getSourceFileOfNode(node).locals;
1414 const locals = getSourceFileOfNode(node).locals;
/third_party/typescript/src/services/refactors/
DconvertOverloadListToSingleSignature.ts201 if (!every(decls, d => getSourceFileOfNode(d) === file)) {
DconvertParamsToDestructuredObject.ts68 getSourceFileOfNode(call),
/third_party/typescript/lib/
Dtsc.js2341 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 …]
DtypingsInstaller.js2748 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 …]
DtypescriptServices.js2953 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 …]
Dtsserverlibrary.js2953 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 …]
Dtsserver.js2759 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 …]
Dtypescript.js2953 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 …]

12