Home
last modified time | relevance | path

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

12345678910>>...45

/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=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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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=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 …]
DpathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json2 "======== Resolving module '/import/foo' from '/root/src/a.ts'. ========",
3 "Module resolution kind is not specified, using 'NodeJs'.",
4 …rl' option is set to '/root', using this value to resolve non-relative module name '/import/foo'.",
5 "'paths' option is specified, looking for a pattern to match module name '/import/foo'.",
6 "Module name '/import/foo', matched pattern '/import/*'.",
7 "Trying substitution './import/*', candidate module location: './import/foo'.",
8 …"Loading module as file / folder, candidate module location '/root/import/foo', target file type '…
9 "File '/root/import/foo.ts' exist - use it as a name resolution result.",
10 … "======== Module name '/import/foo' was successfully resolved to '/root/import/foo.ts'. ========",
11 "======== Resolving module '/client/bar' from '/root/src/a.ts'. ========",
[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/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 …]
/third_party/rust/rust/compiler/rustc_resolve/src/
Dimports.rs14 use crate::{Finalize, Module, ModuleOrUniformRoot, ParentScope, PerNS, ScopeSet};
56 /// Did this import result from a nested import? ie. `use foo::{bar, baz};`
58 /// The ID of the `UseTree` that imported this `Import`.
60 /// In the case where the `Import` was expanded from a "nested" use tree,
67 /// If this is the import for `foo::bar::a`, we would have the ID of the `UseTree`
73 // The visibility of the greatest re-export.
74 // n.b. `max_vis` is only used in `finalize_import` to check for re-export errors.
90 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt()
136 /// One import.
141 /// Node ID of the "root" use item -- this is always the same as `ImportKind`'s `id`
[all …]
/third_party/rust/rust/tests/ui/imports/
Dissue-52891.stderr2 --> $DIR/issue-52891.rs:12:5
5 | -------------- previous import of the module `a` here
9 = note: `a` must be defined only once in the type namespace of this module
12 --> $DIR/issue-52891.rs:14:19
15 | -------------- previous import of the module `a` here
18 | ^--
21 | help: remove unnecessary import
23 = note: `a` must be defined only once in the type namespace of this module
26 --> $DIR/issue-52891.rs:15:22
29 | -------------- previous import of the module `a` here
[all …]
/third_party/python/Lib/test/
Dtest_modulefinder.py1 import os
2 import errno
3 import importlib.machinery
4 import py_compile
5 import shutil
6 import unittest
7 import tempfile
9 from test import support
11 import modulefinder
15 # 1. a module name that will be imported by modulefinder
[all …]
/third_party/python/Doc/library/
Dimp.rst1 :mod:`imp` --- Access the :ref:`import <importsystem>` internals
4 .. module:: imp
5 :synopsis: Access the implementation of the import statement.
10 .. deprecated-removed:: 3.4 3.12
11 The :mod:`imp` module is deprecated in favor of :mod:`importlib`.
13 .. index:: statement: import
15 --------------
17 This module provides an interface to the mechanisms used to implement the
18 :keyword:`import` statement. It defines the following constants and functions:
23 .. index:: pair: file; byte-code
[all …]
Dimportlib.rst1 :mod:`!importlib` --- The implementation of :keyword:`!import`
4 .. module:: importlib
5 :synopsis: The implementation of the import machinery.
14 --------------
18 ------------
20 The purpose of the :mod:`importlib` package is three-fold.
23 implementation of the :keyword:`import` statement (and thus, by extension, the
25 implementation of :keyword:`!import` which is portable to any Python
29 Two, the components to implement :keyword:`import` are exposed in this
31 generically as an :term:`importer`) to participate in the import process.
[all …]
/third_party/vk-gl-cts/external/openglcts/scripts/
Dbuild_caselists.py1 # -*- coding: utf-8 -*-
3 #-------------------------------------------------------------------------
5 # --------------------------------------
13 # http://www.apache.org/licenses/LICENSE-2.0
21 #-------------------------------------------------------------------------
23 import os
24 import sys
25 import string
26 import argparse
27 import tempfile
[all …]

12345678910>>...45