Searched +full:import +full:- +full:module (Results 1 – 25 of 1100) sorted by relevance
12345678910>>...44
| /third_party/typescript/tests/cases/compiler/ |
| D | es6ExportEqualsInterop.ts | 1 // @module: commonjs 4 declare module "interface" { 12 declare module "variable" { 20 declare module "interface-variable" { 32 declare module "module" { 33 module Foo { 40 declare module "interface-module" { 45 module Foo { 52 declare module "variable-module" { 53 module Foo { [all …]
|
| D | ramdaToolsNoInfinite2.ts | 2 declare module "Any/Kind" { 3 import { Extends } from "Any/Extends"; 4 import { List } from "List/List"; 8 declare module "Any/Compute" { 13 declare module "Object/Pick" { 14 import { Key } from "Any/Key"; 24 declare module "Object/Keys" { 25 import { Keys as UKeys } from "Union/Keys"; 29 declare module "Object/Omit" { 30 import { _Pick } from "Object/Pick"; [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | es6ExportEqualsInterop.js | 4 declare module "interface" { 12 declare module "variable" { 20 declare module "interface-variable" { 32 declare module "module" { 33 module Foo { 40 declare module "interface-module" { 45 module Foo { 52 declare module "variable-module" { 53 module Foo { 66 declare module "function" { [all …]
|
| D | es6ExportEqualsInterop.types | 4 // import-equals 5 import z1 = require("interface"); 8 import z2 = require("variable"); 11 import z3 = require("interface-variable"); 14 import z4 = require("module"); 17 import z5 = require("interface-module"); 20 import z6 = require("variable-module"); 23 import z7 = require("function"); 26 import z8 = require("function-module"); 29 import z9 = require("class"); [all …]
|
| D | es6ExportEqualsInterop.errors.txt | 4 tests/cases/compiler/main.ts(27,8): error TS1259: Module '"interface"' can only be default-imported… 5 tests/cases/compiler/main.ts(28,8): error TS1259: Module '"variable"' can only be default-imported … 6 tests/cases/compiler/main.ts(29,8): error TS1259: Module '"interface-variable"' can only be default… 7 tests/cases/compiler/main.ts(30,8): error TS1259: Module '"module"' can only be default-imported us… 8 tests/cases/compiler/main.ts(31,8): error TS1259: Module '"interface-module"' can only be default-i… 9 tests/cases/compiler/main.ts(32,8): error TS1259: Module '"variable-module"' can only be default-im… 10 tests/cases/compiler/main.ts(33,8): error TS1259: Module '"function"' can only be default-imported … 11 tests/cases/compiler/main.ts(34,8): error TS1259: Module '"function-module"' can only be default-im… 12 tests/cases/compiler/main.ts(35,8): error TS1259: Module '"class"' can only be default-imported usi… 13 tests/cases/compiler/main.ts(36,8): error TS1259: Module '"class-module"' can only be default-impor… [all …]
|
| D | nodeModules1(module=nodenext).errors.txt | 1 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 2 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 3 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 4 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 5 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 6 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 7 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 8 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 9 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 10 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… [all …]
|
| D | nodeModules1(module=node16).errors.txt | 1 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 2 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 3 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 4 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 5 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 6 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 7 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 8 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 9 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 10 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… [all …]
|
| D | nodeModulesAllowJs1(module=node16).errors.txt | 1 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 2 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 3 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 4 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 5 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 6 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 7 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 8 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 9 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 10 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… [all …]
|
| D | nodeModulesAllowJs1(module=nodenext).errors.txt | 1 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 2 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 3 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 4 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 5 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 6 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 7 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 8 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 9 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… 10 …module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m… [all …]
|
| D | importMeta(module=commonjs,target=esnext).errors.txt | 2 …ssignmentTargets.ts(1,32): error TS1343: The 'import.meta' meta-property is only allowed when the … 4 …ssignmentTargets.ts(1,51): error TS1343: The 'import.meta' meta-property is only allowed when the … 6 …ssignmentTargets.ts(1,70): error TS1343: The 'import.meta' meta-property is only allowed when the … 7 …assignmentTargets.ts(2,1): error TS1343: The 'import.meta' meta-property is only allowed when the … 8 tests/cases/conformance/es2019/importMeta/assignmentTargets.ts(2,1): error TS2364: The left-hand si… 9 …signmentTargets.ts(11,21): error TS1343: The 'import.meta' meta-property is only allowed when the … 10 …re you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. 11 …portMeta/example.ts(3,59): error TS1343: The 'import.meta' meta-property is only allowed when the … 12 …portMeta/example.ts(6,16): error TS1343: The 'import.meta' meta-property is only allowed when the … 14 …uleLookingFile01.ts(1,16): error TS1343: The 'import.meta' meta-property is only allowed when the … [all …]
|
| D | importMeta(module=commonjs,target=es5).errors.txt | 2 …ssignmentTargets.ts(1,32): error TS1343: The 'import.meta' meta-property is only allowed when the … 4 …ssignmentTargets.ts(1,51): error TS1343: The 'import.meta' meta-property is only allowed when the … 6 …ssignmentTargets.ts(1,70): error TS1343: The 'import.meta' meta-property is only allowed when the … 7 …assignmentTargets.ts(2,1): error TS1343: The 'import.meta' meta-property is only allowed when the … 8 tests/cases/conformance/es2019/importMeta/assignmentTargets.ts(2,1): error TS2364: The left-hand si… 9 …signmentTargets.ts(11,21): error TS1343: The 'import.meta' meta-property is only allowed when the … 10 …re you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option. 11 …portMeta/example.ts(3,59): error TS1343: The 'import.meta' meta-property is only allowed when the … 12 …portMeta/example.ts(6,16): error TS1343: The 'import.meta' meta-property is only allowed when the … 14 …uleLookingFile01.ts(1,16): error TS1343: The 'import.meta' meta-property is only allowed when the … [all …]
|
| D | ramdaToolsNoInfinite2.js | 2 declare module "Any/Kind" { 3 import { Extends } from "Any/Extends"; 4 import { List } from "List/List"; 8 declare module "Any/Compute" { 13 declare module "Object/Pick" { 14 import { Key } from "Any/Key"; 24 declare module "Object/Keys" { 25 import { Keys as UKeys } from "Union/Keys"; 29 declare module "Object/Omit" { 30 import { _Pick } from "Object/Pick"; [all …]
|
| D | importAssertion1(module=commonjs).errors.txt | 1 …rmance/importAssertion/1.ts(1,14): error TS2821: Import assertions are only supported when the '--… 2 …rmance/importAssertion/1.ts(2,28): error TS2821: Import assertions are only supported when the '--… 3 …rmance/importAssertion/1.ts(3,28): error TS2821: Import assertions are only supported when the '--… 4 …rmance/importAssertion/2.ts(1,28): error TS2821: Import assertions are only supported when the '--… 5 …rmance/importAssertion/2.ts(2,38): error TS2821: Import assertions are only supported when the '--… 6 … error TS1324: Dynamic imports only support a second argument when the '--module' option is set to… 7 … error TS1324: Dynamic imports only support a second argument when the '--module' option is set to… 8 … error TS1324: Dynamic imports only support a second argument when the '--module' option is set to… 9 … error TS1324: Dynamic imports only support a second argument when the '--module' option is set to… 10 … error TS1324: Dynamic imports only support a second argument when the '--module' option is set to… [all …]
|
| D | importAssertion1(module=es2015).errors.txt | 1 …rmance/importAssertion/1.ts(1,14): error TS2821: Import assertions are only supported when the '--… 2 …rmance/importAssertion/1.ts(2,28): error TS2821: Import assertions are only supported when the '--… 3 …rmance/importAssertion/1.ts(3,28): error TS2821: Import assertions are only supported when the '--… 4 …rmance/importAssertion/2.ts(1,28): error TS2821: Import assertions are only supported when the '--… 5 …rmance/importAssertion/2.ts(2,38): error TS2821: Import assertions are only supported when the '--… 6 …/3.ts(1,11): error TS1323: Dynamic imports are only supported when the '--module' flag is set to '… 7 …/3.ts(2,11): error TS1323: Dynamic imports are only supported when the '--module' flag is set to '… 8 …/3.ts(3,11): error TS1323: Dynamic imports are only supported when the '--module' flag is set to '… 9 …/3.ts(4,11): error TS1323: Dynamic imports are only supported when the '--module' flag is set to '… 10 …/3.ts(5,12): error TS1323: Dynamic imports are only supported when the '--module' flag is set to '… [all …]
|
| D | es6ExportEqualsInterop.symbols | 4 // import-equals 5 import z1 = require("interface"); 8 import z2 = require("variable"); 11 import z3 = require("interface-variable"); 14 import z4 = require("module"); 17 import z5 = require("interface-module"); 20 import z6 = require("variable-module"); 23 import z7 = require("function"); 26 import z8 = require("function-module"); 29 import z9 = require("class"); [all …]
|
| /third_party/python/Doc/reference/ |
| D | import.rst | 5 The import system 8 .. index:: single: import machinery 10 Python code in one :term:`module` gains access to the code in another module 11 by the process of :term:`importing` it. The :keyword:`import` statement is 12 the most common way of invoking the import machinery, but it is not the only 13 way. Functions such as :func:`importlib.import_module` and built-in 14 :func:`__import__` can also be used to invoke the import machinery. 16 The :keyword:`import` statement combines two operations; it searches for the 17 named module, then it binds the results of that search to a name in the local 18 scope. The search operation of the :keyword:`!import` statement is defined as [all …]
|
| /third_party/python/Doc/tutorial/ |
| D | modules.rst | 1 .. _tut-modules: 18 *module*; definitions from a module can be *imported* into other modules or into 19 the *main* module (the collection of variables that you have access to in a 22 A module is a file containing Python definitions and statements. The file name 23 is the module name with the suffix :file:`.py` appended. Within a module, the 24 module's name (as a string) is available as the value of the global variable 28 # Fibonacci numbers module 45 Now enter the Python interpreter and import this module with the following 48 >>> import fibo 51 the current :term:`namespace` (see :ref:`tut-scopes` for more details); [all …]
|
| /third_party/node/test/es-module/ |
| D | test-esm-loader-programmatically.mjs | 1 import { spawnPromisified } from '../common/index.mjs'; 2 import * as fixtures from '../common/fixtures.js'; 3 import assert from 'node:assert'; 4 import { execPath } from 'node:process'; 5 import { describe, it } from 'node:test'; 11 '--no-warnings', 12 '--input-type=module', 13 '--loader=data:text/javascript,', 17 import: (module) => `await import(${JSON.stringify(module)});`, 19 …dynamicImport: (module) => `await import(${JSON.stringify(`data:text/javascript,${encodeURICompone… [all …]
|
| D | test-esm-type-flag-package-scopes.mjs | 1 // Flags: --experimental-default-type=module --experimental-wasm-modules 2 import { spawnPromisified } from '../common/index.mjs'; 3 import * as fixtures from '../common/fixtures.mjs'; 4 import { describe, it } from 'node:test'; 5 import { strictEqual } from 'node:assert'; 7 describe('the type flag should change the interpretation of certain files within a "type": "module"… 9 …it('should run as ESM an extensionless JavaScript file within a "type": "module" scope', async () … 11 '--experimental-default-type=module', 12 fixtures.path('es-modules/package-type-module/noext-esm'), 21 … it('should import an extensionless JavaScript file within a "type": "module" scope', async () => { [all …]
|
| D | test-esm-loader-spawn-promisified.mjs | 1 import { spawnPromisified } from '../common/index.mjs'; 2 import * as fixtures from '../common/fixtures.mjs'; 3 import assert from 'node:assert'; 4 import { execPath } from 'node:process'; 5 import { describe, it } from 'node:test'; 10 '--no-warnings', 11 '--experimental-loader', 12 fixtures.fileURL('/es-module-loaders/hooks-custom.mjs'), 13 '--input-type=module', 14 '--eval', [all …]
|
| D | test-esm-specifiers.mjs | 1 import { spawnPromisified } from '../common/index.mjs'; 2 import * as fixtures from '../common/fixtures.mjs'; 3 import { match, strictEqual } from 'node:assert'; 4 import { execPath } from 'node:process'; 5 import { describe, it } from 'node:test'; 8 describe('ESM: specifier-resolution=node', { concurrency: true }, () => { 11 '--no-warnings', 12 '--experimental-specifier-resolution=node', 13 '--input-type=module', 14 '--eval', [all …]
|
| /third_party/node/doc/api/ |
| D | esm.md | 3 <!--introduced_in=v8.5.0--> 5 <!-- type=misc --> 7 <!-- YAML 10 - version: v18.20.0 11 pr-url: https://github.com/nodejs/node/pull/50140 12 description: Add experimental support for import attributes. 13 - version: v18.19.0 14 pr-url: https://github.com/nodejs/node/pull/44710 15 description: Module customization hooks are executed off the main thread. 16 - version: [all …]
|
| D | module.md | 1 # Modules: `node:module` API 3 <!--introduced_in=v12.20.0--> 5 <!-- YAML 7 --> 9 ## The `Module` object 14 `Module`, the [`module`][] variable often seen in [CommonJS][] modules. Accessed 15 via `import 'node:module'` or `require('node:module')`. 17 ### `module.builtinModules` 19 <!-- YAML 21 - v9.3.0 [all …]
|
| D | packages.md | 3 <!--introduced_in=v12.20.0--> 5 <!-- type=misc --> 7 <!-- YAML 9 - version: 10 - v14.13.0 11 - v12.20.0 12 pr-url: https://github.com/nodejs/node/pull/34718 14 - version: 15 - v14.6.0 16 - v12.19.0 [all …]
|
| /third_party/jerryscript/docs/ |
| D | 15.MODULE-SYSTEM.md | 1 # ES6 module support for JerryScript 3 The module system allows users to write import and export statements in scripts, which can be used … 4 …ndard's relevant part can be found [here](https://www.ecma-international.org/ecma-262/6.0/#sec-mod… 5 …e builtin modules with ES6 imports can use the [Port API](05.PORT-API.md#es2015-module-system) to … 9 If a script contains import statements, then JerryScript will open and evaluate the the referenced … 15 import { exported_value } from "./module.js" 20 module.js 30 * exporting identifiers from the module's lexical environment 32 * importing exported identifiers from a module 34 * module namespace imports [all …]
|
12345678910>>...44