Home
last modified time | relevance | path

Searched refs:scoped (Results 1 – 25 of 268) sorted by relevance

1234567891011

/third_party/typescript/tests/baselines/reference/
DletDeclarations-scopes-duplicates.errors.txt1 …eclarations-scopes-duplicates.ts(2,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 …eclarations-scopes-duplicates.ts(3,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
3 …eclarations-scopes-duplicates.ts(5,5): error TS2451: Cannot redeclare block-scoped variable 'var2'.
4 …eclarations-scopes-duplicates.ts(6,7): error TS2451: Cannot redeclare block-scoped variable 'var2'.
5 …eclarations-scopes-duplicates.ts(8,7): error TS2451: Cannot redeclare block-scoped variable 'var3'.
6 …eclarations-scopes-duplicates.ts(9,5): error TS2451: Cannot redeclare block-scoped variable 'var3'.
7 …clarations-scopes-duplicates.ts(11,7): error TS2451: Cannot redeclare block-scoped variable 'var4'.
8 …clarations-scopes-duplicates.ts(12,7): error TS2451: Cannot redeclare block-scoped variable 'var4'.
11 …clarations-scopes-duplicates.ts(17,5): error TS2451: Cannot redeclare block-scoped variable 'var6'.
12 …clarations-scopes-duplicates.ts(18,5): error TS2451: Cannot redeclare block-scoped variable 'var6'.
[all …]
DdestructuringSameNames.errors.txt1 …uring/destructuringSameNames.ts(21,7): error TS2451: Cannot redeclare block-scoped variable 'foo1'.
2 …ring/destructuringSameNames.ts(21,13): error TS2451: Cannot redeclare block-scoped variable 'foo1'.
3 …uring/destructuringSameNames.ts(22,7): error TS2451: Cannot redeclare block-scoped variable 'foo2'.
4 …ring/destructuringSameNames.ts(22,19): error TS2451: Cannot redeclare block-scoped variable 'foo2'.
5 …ring/destructuringSameNames.ts(23,13): error TS2451: Cannot redeclare block-scoped variable 'foo3'.
6 …ring/destructuringSameNames.ts(23,19): error TS2451: Cannot redeclare block-scoped variable 'foo3'.
7 …uring/destructuringSameNames.ts(24,9): error TS2451: Cannot redeclare block-scoped variable 'foo4'.
8 …ring/destructuringSameNames.ts(24,15): error TS2451: Cannot redeclare block-scoped variable 'foo4'.
9 …uring/destructuringSameNames.ts(25,9): error TS2451: Cannot redeclare block-scoped variable 'foo5'.
10 …ring/destructuringSameNames.ts(25,21): error TS2451: Cannot redeclare block-scoped variable 'foo5'.
[all …]
DshadowingViaLocalValueOrBindingElement.errors.txt1 …t.ts(4,13): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
2 …t.ts(5,15): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
3 …t.ts(6,18): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
4 …t.ts(7,15): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
5 …t.ts(8,18): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
14 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
17 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
20 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
23 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
26 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
DletAndVarRedeclaration.errors.txt7 tests/cases/compiler/letAndVarRedeclaration.ts(12,9): error TS2451: Cannot redeclare block-scoped v…
8 tests/cases/compiler/letAndVarRedeclaration.ts(14,13): error TS2451: Cannot redeclare block-scoped
9 tests/cases/compiler/letAndVarRedeclaration.ts(17,18): error TS2451: Cannot redeclare block-scoped
13 tests/cases/compiler/letAndVarRedeclaration.ts(28,9): error TS2451: Cannot redeclare block-scoped v…
14 tests/cases/compiler/letAndVarRedeclaration.ts(30,13): error TS2451: Cannot redeclare block-scoped
15 tests/cases/compiler/letAndVarRedeclaration.ts(33,18): error TS2451: Cannot redeclare block-scoped
16 tests/cases/compiler/letAndVarRedeclaration.ts(37,5): error TS2451: Cannot redeclare block-scoped v…
17 tests/cases/compiler/letAndVarRedeclaration.ts(38,10): error TS2451: Cannot redeclare block-scoped
18 tests/cases/compiler/letAndVarRedeclaration.ts(42,9): error TS2451: Cannot redeclare block-scoped v…
19 tests/cases/compiler/letAndVarRedeclaration.ts(43,14): error TS2451: Cannot redeclare block-scoped
[all …]
DrecursiveLetConst.errors.txt1 tests/cases/compiler/recursiveLetConst.ts(2,9): error TS2448: Block-scoped variable 'x' used before…
2 tests/cases/compiler/recursiveLetConst.ts(3,12): error TS2448: Block-scoped variable 'x1' used befo…
3 tests/cases/compiler/recursiveLetConst.ts(4,11): error TS2448: Block-scoped variable 'y' used befor…
4 tests/cases/compiler/recursiveLetConst.ts(5,14): error TS2448: Block-scoped variable 'y1' used befo…
5 tests/cases/compiler/recursiveLetConst.ts(6,14): error TS2448: Block-scoped variable 'v' used befor…
6 tests/cases/compiler/recursiveLetConst.ts(7,16): error TS2448: Block-scoped variable 'v' used befor…
7 tests/cases/compiler/recursiveLetConst.ts(8,15): error TS2448: Block-scoped variable 'v' used befor…
8 tests/cases/compiler/recursiveLetConst.ts(9,15): error TS2448: Block-scoped variable 'v' used befor…
9 tests/cases/compiler/recursiveLetConst.ts(10,17): error TS2448: Block-scoped variable 'v' used befo…
10 tests/cases/compiler/recursiveLetConst.ts(11,11): error TS2448: Block-scoped variable 'x2' used bef…
[all …]
DconstDeclarationShadowedByVarDeclaration.errors.txt1 …on.ts(6,9): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
2 ….ts(14,13): error TS2481: Cannot initialize outer scoped variable 'y' in the same scope as block s…
3 …n.ts(21,7): error TS2481: Cannot initialize outer scoped variable 'z' in the same scope as block s…
14 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
24 !!! error TS2481: Cannot initialize outer scoped variable 'y' in the same scope as block scoped dec…
33 !!! error TS2481: Cannot initialize outer scoped variable 'z' in the same scope as block scoped dec…
DexportedBlockScopedDeclarations.errors.txt1 tests/cases/compiler/exportedBlockScopedDeclarations.ts(1,13): error TS2448: Block-scoped variable …
2 tests/cases/compiler/exportedBlockScopedDeclarations.ts(2,20): error TS2448: Block-scoped variable …
3 tests/cases/compiler/exportedBlockScopedDeclarations.ts(4,15): error TS2448: Block-scoped variable …
4 tests/cases/compiler/exportedBlockScopedDeclarations.ts(7,22): error TS2448: Block-scoped variable …
5 tests/cases/compiler/exportedBlockScopedDeclarations.ts(10,12): error TS2448: Block-scoped variable…
6 tests/cases/compiler/exportedBlockScopedDeclarations.ts(11,19): error TS2448: Block-scoped variable…
7 tests/cases/compiler/exportedBlockScopedDeclarations.ts(13,14): error TS2448: Block-scoped variable…
8 tests/cases/compiler/exportedBlockScopedDeclarations.ts(16,21): error TS2448: Block-scoped variable…
14 !!! error TS2448: Block-scoped variable 'foo' used before its declaration.
18 !!! error TS2448: Block-scoped variable 'bar' used before its declaration.
[all …]
DshadowingViaLocalValue.errors.txt1 …e.ts(4,13): error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block s…
2 …ts(11,18): error TS2481: Cannot initialize outer scoped variable 'x1' in the same scope as block s…
11 !!! error TS2481: Cannot initialize outer scoped variable 'x' in the same scope as block scoped dec…
20 !!! error TS2481: Cannot initialize outer scoped variable 'x1' in the same scope as block scoped de…
DduplicateIdentifierRelatedSpans_moduleAugmentation.errors.txt1 /dir/a.ts(1,14): error TS2451: Cannot redeclare block-scoped variable 'x'.
2 /dir/b.ts(4,18): error TS2451: Cannot redeclare block-scoped variable 'x'.
3 /dir/b.ts(8,18): error TS2451: Cannot redeclare block-scoped variable 'x'.
9 !!! error TS2451: Cannot redeclare block-scoped variable 'x'.
19 !!! error TS2451: Cannot redeclare block-scoped variable 'x'.
26 !!! error TS2451: Cannot redeclare block-scoped variable 'x'.
DexportAsNamespace_augment.errors.txt1 /a.d.ts(3,14): error TS2451: Cannot redeclare block-scoped variable 'conflict'.
2 /b.ts(6,22): error TS2451: Cannot redeclare block-scoped variable 'conflict'.
3 /b.ts(12,18): error TS2451: Cannot redeclare block-scoped variable 'conflict'.
11 !!! error TS2451: Cannot redeclare block-scoped variable 'conflict'.
23 !!! error TS2451: Cannot redeclare block-scoped variable 'conflict'.
32 !!! error TS2451: Cannot redeclare block-scoped variable 'conflict'.
DblockScopedVariablesUseBeforeDef.errors.txt1 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(2,13): error TS2448: Block-scoped variable…
2 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(58,20): error TS2448: Block-scoped variabl…
3 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(65,20): error TS2448: Block-scoped variabl…
4 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(100,12): error TS2448: Block-scoped variab…
11 !!! error TS2448: Block-scoped variable 'x' used before its declaration.
70 !!! error TS2448: Block-scoped variable 'x' used before its declaration.
80 !!! error TS2448: Block-scoped variable 'x' used before its declaration.
118 !!! error TS2448: Block-scoped variable 'x' used before its declaration.
DjsFileCompilationBindErrors.errors.txt1 tests/cases/compiler/a.js(1,5): error TS2451: Cannot redeclare block-scoped variable 'C'.
2 tests/cases/compiler/a.js(2,5): error TS2451: Cannot redeclare block-scoped variable 'C'.
10 !!! error TS2451: Cannot redeclare block-scoped variable 'C'.
11 let C = 0; // Error: Cannot redeclare block-scoped variable 'C'.
13 !!! error TS2451: Cannot redeclare block-scoped variable 'C'.
DblockScopedBindingUsedBeforeDef.errors.txt1 tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts(2,12): error TS2448: Block-scoped variable …
3 tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts(5,12): error TS2448: Block-scoped variable …
5 tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts(8,7): error TS2448: Block-scoped variable '…
13 !!! error TS2448: Block-scoped variable 'a' used before its declaration.
21 !!! error TS2448: Block-scoped variable 'a' used before its declaration.
29 !!! error TS2448: Block-scoped variable 'b' used before its declaration.
Dfor-of54.errors.txt1 …54.ts(2,9): error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block s…
8 !!! error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block scoped dec…
Dfor-of52.errors.txt1 …e/es6/for-ofStatements/for-of52.ts(1,11): error TS2451: Cannot redeclare block-scoped variable 'v'.
2 …e/es6/for-ofStatements/for-of52.ts(1,14): error TS2451: Cannot redeclare block-scoped variable 'v'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'v'.
10 !!! error TS2451: Cannot redeclare block-scoped variable 'v'.
DletDeclarations-scopes-duplicates6.errors.txt1 tests/cases/compiler/file1.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
DletDeclarations-scopes-duplicates4.errors.txt1 tests/cases/compiler/file1.ts(1,7): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
DletDeclarations-scopes-duplicates3.errors.txt1 tests/cases/compiler/file1.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 tests/cases/compiler/file2.ts(1,7): error TS2451: Cannot redeclare block-scoped variable 'var1'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
DletDeclarations-scopes-duplicates5.errors.txt1 tests/cases/compiler/file1.ts(1,7): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 tests/cases/compiler/file2.ts(1,7): error TS2451: Cannot redeclare block-scoped variable 'var1'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
DletDeclarations-scopes-duplicates7.errors.txt1 tests/cases/compiler/file1.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
DletDeclarations-scopes-duplicates2.errors.txt1 tests/cases/compiler/file1.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
2 tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
8 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
14 !!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
/third_party/boost/libs/signals2/test/
Dconnection_test.cpp63 bs2::scoped_connection scoped(sig.connect(&myslot)); in release_test() local
64 BOOST_CHECK(scoped.connected()); in release_test()
65 conn = scoped.release(); in release_test()
71 bs2::scoped_connection scoped(conn); in release_test() local
72 BOOST_CHECK(scoped.connected()); in release_test()
73 conn = scoped.release(); in release_test()
75 BOOST_CHECK(scoped.connected() == false); in release_test()
80 scoped = conn2; in release_test()
92 bs2::scoped_connection scoped(sig.connect(&myslot)); in move_test() local
93 BOOST_CHECK(scoped.connected()); in move_test()
[all …]
/third_party/typescript/src/compiler/factory/
DemitHelpers.ts412 scoped: false,
426 scoped: false,
437 scoped: false,
450 scoped: false,
469 scoped: false,
477 scoped: false,
496 scoped: false,
509 scoped: false,
525 scoped: false,
545 scoped: false,
[all …]
/third_party/node/deps/npm/docs/content/using-npm/
Dscope.md30 by the primary npm registry. Unscoped packages can depend on scoped packages and
32 so it can be used to work with scoped and unscoped registries at the same time.
34 ### Installing scoped packages
38 scoped modules will be installed in `node_modules/@myorg/packagename`. The scope
40 contain any number of scoped packages.
42 A scoped package is installed by referencing it by name, preceded by an
60 ### Requiring scoped packages
62 Because scoped packages are installed into a scope folder, you have to
72 ### Publishing scoped packages
79 **does** support scoped packages.)
[all …]
/third_party/boost/libs/core/doc/
Dscoped_enum.qbk24 C++11 scoped enums (7.2 \[dcl.enum\]) if the feature is supported by the compiler, otherwise emulate
28 Some of the enumerations defined in the standard library are scoped enums.
49 These macros allows to use `future_errc` in almost all the cases as an scoped enum.
70 There are however some limitations. The emulated scoped enum is not a C++ enum, so `is_enum< future…
72 The emulated scoped enum can not be used in switch nor in template arguments. For these cases the u…
106 In C++03, scoped enums behave differently in case of calling an overloaded function when one overlo…
145 In early versions of the header there were two ways to declare scoped enums, with different pros an…
172 obtain the underlying type of the scoped enum. This metafunction has support for emulated scoped en…
173 macros in `boost/core/scoped_enum.hpp`. When native scoped enums are supported by the compiler, thi…
176 Unfortunately, there are configurations which implement scoped enums but not `std::underlying_type`…
[all …]

1234567891011