Home
last modified time | relevance | path

Searched refs:importNode (Results 1 – 23 of 23) sorted by relevance

/third_party/typescript/src/services/codefixes/
DuseDefaultImport.ts22 readonly importNode: AnyImportSyntax; property
31 return { importNode: parent, name, moduleSpecifier: parent.moduleReference.expression };
34 const importNode = parent.parent.parent; constant
35 return { importNode, name, moduleSpecifier: importNode.moduleSpecifier };
40 …changes.replaceNode(sourceFile, info.importNode, makeImport(info.name, /*namedImports*/ undefined,…
DconvertToEs6Module.ts27 const importNode = importFromModuleSpecifier(moduleSpecifier); constant
28 switch (importNode.kind) {
30 …changes.replaceNode(importingFile, importNode, makeImport(importNode.name, /*namedImports*/ undefi…
33 if (isRequireCall(importNode, /*checkArgumentIsStringLiteralLike*/ false)) {
34 …hanges.replaceNode(importingFile, importNode, factory.createPropertyAccessExpression(getSynthesize…
/third_party/jsframework/mock-generate/src/declaration-node/
DimportAndExportDeclaration.ts66 const importNode = node as ImportDeclaration; constant
67 …const importPath = sourceFile.text.substring(importNode.moduleSpecifier.pos, importNode.moduleSpec…
68 const importClause = importNode.importClause;
/third_party/typescript/src/services/refactors/
DmoveToNewFile.ts188 forEachImportInStatement(statement, importNode => {
189 … if (checker.getSymbolAtLocation(moduleSpecifierFromImport(importNode)) !== oldFile.symbol) return;
197 …deleteUnusedImports(sourceFile, importNode, changes, shouldMove); // These will be changed to impo…
198 …uleSpecifier = combinePaths(getDirectoryPath(moduleSpecifierFromImport(importNode).text), newModul…
199 …const newImportDeclaration = filterImport(importNode, factory.createStringLiteral(newModuleSpecifi…
202 const ns = getNamespaceLikeImport(importNode);
203 …ort(changes, sourceFile, checker, movedSymbols, newModuleName, newModuleSpecifier, ns, importNode);
277 …function forEachImportInStatement(statement: Statement, cb: (importNode: SupportedImport) => void)…
/third_party/typescript/src/services/
DsuggestionDiagnostics.ts23 const importNode = importFromModuleSpecifier(moduleSpecifier); constant
24 const name = importNameForConvertToDefaultImport(importNode);
/third_party/typescript/src/compiler/factory/
Dutilities.ts514 …export function getExternalModuleNameLiteral(factory: NodeFactory, importNode: ImportDeclaration |…
515 const moduleName = getExternalModuleName(importNode);
517 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
/third_party/typescript/src/compiler/transformers/module/
Dmodule.ts383 for (const importNode of currentModuleInfo.externalImports) { constant
385 …const externalModuleName = getExternalModuleNameLiteral(factory, importNode, currentSourceFile, ho…
388 … const importAliasName = getLocalNameForExternalImport(factory, importNode, currentSourceFile);
899 …function createRequireCall(importNode: ImportDeclaration | ImportEqualsDeclaration | ExportDeclara…
900 …const moduleName = getExternalModuleNameLiteral(factory, importNode, currentSourceFile, host, reso…
/third_party/typescript/tests/baselines/reference/
DmappedTypeRecursiveInference.errors.txt1 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
2 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
26 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
28 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
DmappedTypeRecursiveInference.types94 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
95 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
100 …lementsByTagNameNS: unknown; getSelection: unknown; hasFocus: unknown; importNode: unknown; open: …
101 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
102 …lementsByTagNameNS: unknown; getSelection: unknown; hasFocus: unknown; importNode: unknown; open: …
107 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
108 …lementsByTagNameNS: unknown; getSelection: unknown; hasFocus: unknown; importNode: unknown; open: …
109 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
110 …lementsByTagNameNS: unknown; getSelection: unknown; hasFocus: unknown; importNode: unknown; open: …
111 …e: any; getElementsByTagNameNS: any; getSelection: any; hasFocus: any; importNode: any; open: any;…
/third_party/python/Lib/test/
Dtest_minidom.py784 self.assertRaises(xml.dom.NotSupportedErr, doc1.importNode, doc2, deep)
795 self.assertRaises(xml.dom.NotSupportedErr, target.importNode,
801 self.assertRaises(xml.dom.NotSupportedErr, target.importNode,
/third_party/node/test/fixtures/wpt/interfaces/
Ddom.idl287 [CEReactions, NewObject] Node importNode(Node node, optional boolean deep = false);
/third_party/python/Lib/xml/dom/
Dminidom.py1807 def importNode(self, node, deep): member in Document
/third_party/typescript/lib/
Dtsserverlibrary.js27996 …function getExternalModuleNameLiteral(factory, importNode, sourceFile, host, resolver, compilerOpt… argument
27997 var moduleName = ts.getExternalModuleName(importNode);
27999 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
70372 var importNode = getSymbolLinks(apparentType.symbol).originatingImport;
70375 if (importNode && !ts.isImportCall(importNode)) {
70379 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(importNode, ts.Diagnostics.Type_originate…
95859 var importNode = _c[_b];
95861 …var externalModuleName = ts.getExternalModuleNameLiteral(factory, importNode, currentSourceFile, h…
95863 … var importAliasName = ts.getLocalNameForExternalImport(factory, importNode, currentSourceFile);
96272 function createRequireCall(importNode) { argument
[all …]
Dtypescript.js27996 …function getExternalModuleNameLiteral(factory, importNode, sourceFile, host, resolver, compilerOpt… argument
27997 var moduleName = ts.getExternalModuleName(importNode);
27999 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
70372 var importNode = getSymbolLinks(apparentType.symbol).originatingImport;
70375 if (importNode && !ts.isImportCall(importNode)) {
70379 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(importNode, ts.Diagnostics.Type_originate…
95859 var importNode = _c[_b];
95861 …var externalModuleName = ts.getExternalModuleNameLiteral(factory, importNode, currentSourceFile, h…
95863 … var importAliasName = ts.getLocalNameForExternalImport(factory, importNode, currentSourceFile);
96272 function createRequireCall(importNode) { argument
[all …]
Dtsserver.js27802 …function getExternalModuleNameLiteral(factory, importNode, sourceFile, host, resolver, compilerOpt… argument
27803 var moduleName = ts.getExternalModuleName(importNode);
27805 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
70178 var importNode = getSymbolLinks(apparentType.symbol).originatingImport;
70181 if (importNode && !ts.isImportCall(importNode)) {
70185 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(importNode, ts.Diagnostics.Type_originate…
95665 var importNode = _c[_b];
95667 …var externalModuleName = ts.getExternalModuleNameLiteral(factory, importNode, currentSourceFile, h…
95669 … var importAliasName = ts.getLocalNameForExternalImport(factory, importNode, currentSourceFile);
96078 function createRequireCall(importNode) { argument
[all …]
DtypescriptServices.js27996 …function getExternalModuleNameLiteral(factory, importNode, sourceFile, host, resolver, compilerOpt… argument
27997 var moduleName = ts.getExternalModuleName(importNode);
27999 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
70372 var importNode = getSymbolLinks(apparentType.symbol).originatingImport;
70375 if (importNode && !ts.isImportCall(importNode)) {
70379 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(importNode, ts.Diagnostics.Type_originate…
95859 var importNode = _c[_b];
95861 …var externalModuleName = ts.getExternalModuleNameLiteral(factory, importNode, currentSourceFile, h…
95863 … var importAliasName = ts.getLocalNameForExternalImport(factory, importNode, currentSourceFile);
96272 function createRequireCall(importNode) { argument
[all …]
Dtsc.js22439 …function getExternalModuleNameLiteral(factory, importNode, sourceFile, host, resolver, compilerOpt… argument
22440 var moduleName = ts.getExternalModuleName(importNode);
22442 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
58601 var importNode = getSymbolLinks(apparentType.symbol).originatingImport;
58602 if (importNode && !ts.isImportCall(importNode)) {
58606 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(importNode, ts.Diagnostics.Type_originate…
78433 var importNode = _c[_b];
78434 …var externalModuleName = ts.getExternalModuleNameLiteral(factory, importNode, currentSourceFile, h…
78435 … var importAliasName = ts.getLocalNameForExternalImport(factory, importNode, currentSourceFile);
78718 function createRequireCall(importNode) { argument
[all …]
DtypingsInstaller.js27791 …function getExternalModuleNameLiteral(factory, importNode, sourceFile, host, resolver, compilerOpt… argument
27792 var moduleName = ts.getExternalModuleName(importNode);
27794 … return tryGetModuleNameFromDeclaration(importNode, host, factory, resolver, compilerOptions)
70167 var importNode = getSymbolLinks(apparentType.symbol).originatingImport;
70170 if (importNode && !ts.isImportCall(importNode)) {
70174 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(importNode, ts.Diagnostics.Type_originate…
95654 var importNode = _c[_b];
95656 …var externalModuleName = ts.getExternalModuleNameLiteral(factory, importNode, currentSourceFile, h…
95658 … var importAliasName = ts.getLocalNameForExternalImport(factory, importNode, currentSourceFile);
96067 function createRequireCall(importNode) { argument
[all …]
Dlib.dom.d.ts4895 importNode<T extends Node>(importedNode: T, deep: boolean): T; method
/third_party/typescript/src/compiler/
Dchecker.ts28748 const importNode = getSymbolLinks(apparentType.symbol).originatingImport;
28751 if (importNode && !isImportCall(importNode)) {
28756 …createDiagnosticForNode(importNode, Diagnostics.Type_originates_at_this_import_A_namespace_style_i…
/third_party/typescript/tests/lib/
Dlib.d.ts6582 importNode(importedNode: Node, deep: boolean): Node; method
/third_party/typescript/src/lib/
Ddom.generated.d.ts4875 importNode<T extends Node>(importedNode: T, deep: boolean): T; method
/third_party/chromium/patch/
D0001-cve.patch77029 - Document.importNode methods.