Home
last modified time | relevance | path

Searched +full:import +full:- +full:module (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/third_party/typescript/tests/cases/compiler/
Des6ExportEqualsInterop.ts1 // @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 …]
DramdaToolsNoInfinite2.ts2 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/
Des6ExportEqualsInterop.js4 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 …]
Des6ExportEqualsInterop.types4 // 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 …]
Des6ExportEqualsInterop.errors.txt4 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 …]
DnodeModules1(module=nodenext).errors.txt1module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
2module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
3module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
4module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
5module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
6module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
7module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
8module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
9module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
10module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
[all …]
DnodeModules1(module=node16).errors.txt1module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
2module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
3module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
4module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
5module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
6module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
7module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
8module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
9module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
10module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
[all …]
DnodeModulesAllowJs1(module=node16).errors.txt1module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
2module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
3module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
4module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
5module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
6module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
7module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
8module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
9module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
10module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
[all …]
DnodeModulesAllowJs1(module=nodenext).errors.txt1module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
2module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
3module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
4module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
5module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
6module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
7module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
8module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
9module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
10module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript m…
[all …]
DimportMeta(module=commonjs,target=esnext).errors.txt2 …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 …]
DimportMeta(module=commonjs,target=es5).errors.txt2 …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 …]
DramdaToolsNoInfinite2.js2 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 …]
DimportAssertion1(module=commonjs).errors.txt1 …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 …]
DimportAssertion1(module=es2015).errors.txt1 …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 …]
Des6ExportEqualsInterop.symbols4 // 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/
Dimport.rst5 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/
Dmodules.rst1 .. _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/
Dtest-esm-loader-programmatically.mjs1 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 …]
Dtest-esm-type-flag-package-scopes.mjs1 // 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 …]
Dtest-esm-loader-spawn-promisified.mjs1 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 …]
Dtest-esm-specifiers.mjs1 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/
Desm.md3 <!--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 …]
Dmodule.md1 # 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 …]
Dpackages.md3 <!--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/
D15.MODULE-SYSTEM.md1 # 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