/third_party/typescript/src/services/codefixes/ |
D | useDefaultImport.ts | 22 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,…
|
D | convertToEs6Module.ts | 27 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/ |
D | importAndExportDeclaration.ts | 66 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/ |
D | moveToNewFile.ts | 188 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/ |
D | suggestionDiagnostics.ts | 23 const importNode = importFromModuleSpecifier(moduleSpecifier); constant 24 const name = importNameForConvertToDefaultImport(importNode);
|
/third_party/typescript/src/compiler/factory/ |
D | utilities.ts | 514 …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/ |
D | module.ts | 383 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/ |
D | mappedTypeRecursiveInference.errors.txt | 1 …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;…
|
D | mappedTypeRecursiveInference.types | 94 …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/ |
D | test_minidom.py | 784 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/ |
D | dom.idl | 287 [CEReactions, NewObject] Node importNode(Node node, optional boolean deep = false);
|
/third_party/python/Lib/xml/dom/ |
D | minidom.py | 1807 def importNode(self, node, deep): member in Document
|
/third_party/typescript/lib/ |
D | tsserverlibrary.js | 27996 …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 …]
|
D | typescript.js | 27996 …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 …]
|
D | tsserver.js | 27802 …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 …]
|
D | typescriptServices.js | 27996 …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 …]
|
D | tsc.js | 22439 …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 …]
|
D | typingsInstaller.js | 27791 …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 …]
|
D | lib.dom.d.ts | 4895 importNode<T extends Node>(importedNode: T, deep: boolean): T; method
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 28748 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/ |
D | lib.d.ts | 6582 importNode(importedNode: Node, deep: boolean): Node; method
|
/third_party/typescript/src/lib/ |
D | dom.generated.d.ts | 4875 importNode<T extends Node>(importedNode: T, deep: boolean): T; method
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 77029 - Document.importNode methods.
|