/third_party/typescript/tests/baselines/reference/ |
D | letDeclarations-scopes.symbols | 1 === tests/cases/compiler/letDeclarations-scopes.ts === 4 >l : Symbol(l, Decl(letDeclarations-scopes.ts, 1, 3)) 7 >n : Symbol(n, Decl(letDeclarations-scopes.ts, 3, 3)) 12 >l : Symbol(l, Decl(letDeclarations-scopes.ts, 7, 7)) 15 >n : Symbol(n, Decl(letDeclarations-scopes.ts, 3, 3)) 16 >l : Symbol(l, Decl(letDeclarations-scopes.ts, 7, 7)) 20 >l : Symbol(l, Decl(letDeclarations-scopes.ts, 11, 7)) 23 >n : Symbol(n, Decl(letDeclarations-scopes.ts, 3, 3)) 24 >l : Symbol(l, Decl(letDeclarations-scopes.ts, 11, 7)) 29 >l : Symbol(l, Decl(letDeclarations-scopes.ts, 16, 7)) [all …]
|
D | constDeclarations-scopes.symbols | 1 === tests/cases/compiler/constDeclarations-scopes.ts === 4 >c : Symbol(c, Decl(constDeclarations-scopes.ts, 1, 5)) 7 >n : Symbol(n, Decl(constDeclarations-scopes.ts, 3, 3)) 12 >c : Symbol(c, Decl(constDeclarations-scopes.ts, 7, 9)) 15 >n : Symbol(n, Decl(constDeclarations-scopes.ts, 3, 3)) 16 >c : Symbol(c, Decl(constDeclarations-scopes.ts, 7, 9)) 20 >c : Symbol(c, Decl(constDeclarations-scopes.ts, 11, 9)) 23 >n : Symbol(n, Decl(constDeclarations-scopes.ts, 3, 3)) 24 >c : Symbol(c, Decl(constDeclarations-scopes.ts, 11, 9)) 29 >c : Symbol(c, Decl(constDeclarations-scopes.ts, 16, 9)) [all …]
|
D | letDeclarations-scopes-duplicates.symbols | 1 === tests/cases/compiler/letDeclarations-scopes-duplicates.ts === 4 >var1 : Symbol(var1, Decl(letDeclarations-scopes-duplicates.ts, 1, 3)) 7 >var1 : Symbol(var1, Decl(letDeclarations-scopes-duplicates.ts, 2, 3)) 10 >var2 : Symbol(var2, Decl(letDeclarations-scopes-duplicates.ts, 4, 3)) 13 >var2 : Symbol(var2, Decl(letDeclarations-scopes-duplicates.ts, 5, 5)) 16 >var3 : Symbol(var3, Decl(letDeclarations-scopes-duplicates.ts, 7, 5)) 19 >var3 : Symbol(var3, Decl(letDeclarations-scopes-duplicates.ts, 8, 3)) 22 >var4 : Symbol(var4, Decl(letDeclarations-scopes-duplicates.ts, 10, 5)) 25 >var4 : Symbol(var4, Decl(letDeclarations-scopes-duplicates.ts, 11, 5)) 28 >var5 : Symbol(var5, Decl(letDeclarations-scopes-duplicates.ts, 13, 3)) [all …]
|
D | letDeclarations-scopes-duplicates.errors.txt | 1 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(2,5): error TS2451: Cannot redeclare bloc… 2 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(3,5): error TS2451: Cannot redeclare bloc… 3 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(5,5): error TS2451: Cannot redeclare bloc… 4 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(6,7): error TS2451: Cannot redeclare bloc… 5 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(8,7): error TS2451: Cannot redeclare bloc… 6 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(9,5): error TS2451: Cannot redeclare bloc… 7 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(11,7): error TS2451: Cannot redeclare blo… 8 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(12,7): error TS2451: Cannot redeclare blo… 9 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(14,5): error TS2300: Duplicate identifier… 10 tests/cases/compiler/letDeclarations-scopes-duplicates.ts(15,5): error TS2300: Duplicate identifier… [all …]
|
/third_party/typescript_eslint/packages/scope-manager/tests/eslint-scope/ |
D | implicit-global-reference.test.ts | 15 const scopes = scopeManager.scopes; constant 18 scopes.map(scope => 25 expectToBeGlobalScope(scopes[0]); 27 scopes[0]['implicit'].variables.map(variable => variable.name), 37 const scopes = scopeManager.scopes; constant 40 scopes.map(scope => 47 expectToBeGlobalScope(scopes[0]); 49 scopes[0]['implicit'].variables.map(variable => variable.name), 61 const scopes = scopeManager.scopes; constant 64 scopes.map(scope => [all …]
|
D | es6-export.test.ts | 16 expect(scopeManager.scopes).toHaveLength(2); 18 let scope = scopeManager.scopes[0]; 24 scope = scopeManager.scopes[1]; 39 expect(scopeManager.scopes).toHaveLength(3); 41 let scope = scopeManager.scopes[0]; 47 scope = scopeManager.scopes[1]; 55 scope = scopeManager.scopes[2]; 69 expect(scopeManager.scopes).toHaveLength(3); 71 let scope = scopeManager.scopes[0]; 77 scope = scopeManager.scopes[1]; [all …]
|
D | references.test.ts | 8 expect(scopeManager.scopes).toHaveLength(1); 10 const scope = scopeManager.scopes[0]; 34 expect(scopeManager.scopes).toHaveLength(2); // [global, foo] 36 const scope = scopeManager.scopes[1]; 47 getRealVariables(scopeManager.scopes[0].variables)[0], 61 expect(scopeManager.scopes).toHaveLength(2); // [global, foo] 63 const scope = scopeManager.scopes[1]; 74 getRealVariables(scopeManager.scopes[0].variables)[0], 86 expect(scopeManager.scopes).toHaveLength(1); 88 const scope = scopeManager.scopes[0]; [all …]
|
D | implied-strict.test.ts | 25 expect(scopeManager.scopes).toHaveLength(3); 27 let scope = scopeManager.scopes[0]; 33 scope = scopeManager.scopes[1]; 38 scope = scopeManager.scopes[2]; 55 expect(scopeManager.scopes).toHaveLength(2); 57 let scope = scopeManager.scopes[0]; 63 scope = scopeManager.scopes[1]; 81 expect(scopeManager.scopes).toHaveLength(3); 83 let scope = scopeManager.scopes[0]; 89 scope = scopeManager.scopes[1]; [all …]
|
D | es6-import.test.ts | 15 expect(scopeManager.scopes).toHaveLength(2); 17 let scope = scopeManager.scopes[0]; 23 scope = scopeManager.scopes[1]; 39 expect(scopeManager.scopes).toHaveLength(2); 41 let scope = scopeManager.scopes[0]; 47 scope = scopeManager.scopes[1]; 63 expect(scopeManager.scopes).toHaveLength(2); 65 let scope = scopeManager.scopes[0]; 71 scope = scopeManager.scopes[1]; 87 expect(scopeManager.scopes).toHaveLength(2); [all …]
|
D | es6-arrow-function-expression.test.ts | 19 expect(scopeManager.scopes).toHaveLength(2); 21 let scope = scopeManager.scopes[0]; 28 scope = scopeManager.scopes[1]; 43 expect(scopeManager.scopes).toHaveLength(2); 45 let scope = scopeManager.scopes[0]; 52 scope = scopeManager.scopes[1]; 72 expect(scopeManager.scopes).toHaveLength(2); 74 let scope = scopeManager.scopes[0]; 81 scope = scopeManager.scopes[1]; 96 expect(scopeManager.scopes).toHaveLength(2); [all …]
|
D | es6-default-parameters.test.ts | 27 expect(scopeManager.scopes).toHaveLength(2); // [global, foo] 29 const scope = scopeManager.scopes[1]; 70 expect(scopeManager.scopes).toHaveLength(2); // [global, foo] 72 const scope = scopeManager.scopes[1]; 83 getRealVariables(scopeManager.scopes[0].variables)[0], 115 expect(scopeManager.scopes).toHaveLength(2); // [global, foo] 117 const scope = scopeManager.scopes[1]; 128 getRealVariables(scopeManager.scopes[0].variables)[0], 160 expect(scopeManager.scopes).toHaveLength(2); // [global, foo] 162 const scope = scopeManager.scopes[1]; [all …]
|
D | es6-block-scope.test.ts | 18 expect(scopeManager.scopes).toHaveLength(2); // Program and BlockStatement scope. 20 let scope = scopeManager.scopes[0]; 25 scope = scopeManager.scopes[1]; 44 expect(scopeManager.scopes).toHaveLength(3); 46 let scope = scopeManager.scopes[0]; 51 scope = scopeManager.scopes[1]; 59 scope = scopeManager.scopes[2]; 77 expect(scopeManager.scopes).toHaveLength(2); 79 let scope = scopeManager.scopes[0]; 86 scope = scopeManager.scopes[1]; [all …]
|
D | es6-class.test.ts | 20 expect(scopeManager.scopes).toHaveLength(3); 22 let scope = scopeManager.scopes[0]; 32 scope = scopeManager.scopes[1]; 42 scope = scopeManager.scopes[2]; 60 expect(scopeManager.scopes).toHaveLength(3); 62 let scope = scopeManager.scopes[0]; 70 scope = scopeManager.scopes[1]; 80 scope = scopeManager.scopes[2]; 98 expect(scopeManager.scopes).toHaveLength(3); 100 let scope = scopeManager.scopes[0]; [all …]
|
D | es6-destructuring-assignments.test.ts | 19 expect(scopeManager.scopes).toHaveLength(2); 21 let scope = scopeManager.scopes[0]; 30 scope = scopeManager.scopes[1]; 59 expect(scopeManager.scopes).toHaveLength(3); // [global, function, for] 61 let scope = scopeManager.scopes[0]; 70 scope = scopeManager.scopes[2]; 99 expect(scopeManager.scopes).toHaveLength(2); 101 let scope = scopeManager.scopes[0]; 111 scope = scopeManager.scopes[1]; 149 expect(scopeManager.scopes).toHaveLength(3); // [global, function, for] [all …]
|
D | es6-iteration-scope.test.ts | 22 expect(scopeManager.scopes).toHaveLength(4); 24 let scope = scopeManager.scopes[0]; 29 scope = scopeManager.scopes[1]; 39 const iterScope = (scope = scopeManager.scopes[2]); 51 scope = scopeManager.scopes[3]; 72 expect(scopeManager.scopes).toHaveLength(4); 74 let scope = scopeManager.scopes[0]; 80 scope = scopeManager.scopes[1]; 90 const iterScope = (scope = scopeManager.scopes[2]); 109 scope = scopeManager.scopes[3]; [all …]
|
/third_party/boost/tools/quickbook/src/ |
D | template_stack.cpp | 37 : scope(template_stack::parser(*this)), scopes(), parent_1_4(0) in template_stack() 39 scopes.push_front(template_scope()); in template_stack() 40 parent_1_4 = &scopes.front(); in template_stack() 45 for (template_scope const* i = &*scopes.begin(); i; in find() 58 scopes.front().symbols, symbol.c_str()); in find_top_scope() 63 BOOST_ASSERT(!scopes.empty()); in top() 64 return scopes.front().symbols; in top() 69 BOOST_ASSERT(!scopes.empty()); in top_scope() 70 return scopes.front(); in top_scope() 75 BOOST_ASSERT(!scopes.empty()); in add() [all …]
|
/third_party/node/test/parallel/ |
D | test-policy-scopes-integrity.js | 27 scopes: { property 51 scopes: { property 81 scopes: { property 128 scopes: { property 146 scopes: { property 164 scopes: { property 177 scopes: { property 199 scopes: { property 213 scopes: { property 226 scopes: { property [all …]
|
D | test-policy-scopes-dependencies.js | 27 scopes: { property 43 scopes: { property 59 scopes: { property 78 scopes: { property 112 scopes: { property 170 scopes: { property 187 scopes: { property 204 scopes: { property 220 scopes: { property 241 scopes: { property [all …]
|
/third_party/spirv-tools/test/val/ |
D | val_non_uniform_test.cpp | 100 SpvScope scopes[] = {SpvScopeCrossDevice, SpvScopeDevice, SpvScopeWorkgroup, variable 190 Values("%bool"), ValuesIn(scopes), Values(""), 197 Values("%bool"), ValuesIn(scopes), 202 Values("%bool"), ValuesIn(scopes), 207 Values("%bool"), ValuesIn(scopes), 212 Values("%u32vec4"), ValuesIn(scopes), 217 Values("%bool"), ValuesIn(scopes), 222 Values("%bool"), ValuesIn(scopes), 227 Values("%u32"), ValuesIn(scopes), 233 Values("%u32"), ValuesIn(scopes), [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
D | val_non_uniform_test.cpp | 100 SpvScope scopes[] = {SpvScopeCrossDevice, SpvScopeDevice, SpvScopeWorkgroup, variable 190 Values("%bool"), ValuesIn(scopes), Values(""), 197 Values("%bool"), ValuesIn(scopes), 202 Values("%bool"), ValuesIn(scopes), 207 Values("%bool"), ValuesIn(scopes), 212 Values("%u32vec4"), ValuesIn(scopes), 217 Values("%bool"), ValuesIn(scopes), 222 Values("%bool"), ValuesIn(scopes), 227 Values("%u32"), ValuesIn(scopes), 233 Values("%u32"), ValuesIn(scopes), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_non_uniform_test.cpp | 100 SpvScope scopes[] = {SpvScopeCrossDevice, SpvScopeDevice, SpvScopeWorkgroup, variable 190 Values("%bool"), ValuesIn(scopes), Values(""), 197 Values("%bool"), ValuesIn(scopes), 202 Values("%bool"), ValuesIn(scopes), 207 Values("%bool"), ValuesIn(scopes), 212 Values("%u32vec4"), ValuesIn(scopes), 217 Values("%bool"), ValuesIn(scopes), 222 Values("%bool"), ValuesIn(scopes), 227 Values("%u32"), ValuesIn(scopes), 233 Values("%u32"), ValuesIn(scopes), [all …]
|
/third_party/node/deps/npm/node_modules/readdir-scoped-modules/ |
D | readdir.js | 45 var scopes = kids . filter (function (kid) { 53 debug ('scopes=%j', scopes) 55 if (scopes . length === 0) 59 var l = scopes . length 60 scopes . forEach (function (scope) { 87 var scopes = kids . filter (function (kid) { 95 debug ('scopes=%j', scopes) 97 if (scopes . length === 0) 100 var l = scopes . length 101 scopes . forEach (function (scope) {
|
/third_party/typescript_eslint/packages/scope-manager/src/ |
D | ScopeManager.ts | 46 public readonly scopes: Scope[]; property in ScopeManager 54 this.scopes.forEach(recurse); 59 this.scopes = []; 113 const scopes = this.nodeToScope.get(node); constant 115 if (!scopes || scopes.length === 0) { 121 if (scopes.length === 1) { 122 return scopes[0]; 126 for (let i = scopes.length - 1; i >= 0; --i) { 127 const scope = scopes[i]; 134 for (let i = 0; i < scopes.length; ++i) { [all …]
|
/third_party/boost/libs/log/test/run/ |
D | attr_named_scope.cpp | 61 typedef attrs::named_scope_list scopes; in BOOST_AUTO_TEST_CASE() typedef 77 logging::value_ref< scopes > sc = val.extract< scopes >(); in BOOST_AUTO_TEST_CASE() 98 sc = val.extract< scopes >(); in BOOST_AUTO_TEST_CASE() 103 scopes::const_iterator it = sc->begin(); in BOOST_AUTO_TEST_CASE() 125 sc = val.extract< scopes >(); in BOOST_AUTO_TEST_CASE() 141 typedef attrs::named_scope_list scopes; in BOOST_AUTO_TEST_CASE() typedef 154 logging::value_ref< scopes > sc1 = val1.extract< scopes >(), sc2 = val2.extract< scopes >(); in BOOST_AUTO_TEST_CASE() 182 typedef attrs::named_scope_list scopes; in BOOST_AUTO_TEST_CASE() typedef 186 scopes sc = named_scope::get_scopes(); in BOOST_AUTO_TEST_CASE()
|
/third_party/grpc/examples/objective-c/auth_sample/ |
D | SelectUserViewController.m | 36 // As instructed in https://developers.google.com/identity/sign-in/ios/additional-scopes 37 if (![signIn.scopes containsObject:kTestScope]) { 38 signIn.scopes = [signIn.scopes arrayByAddingObject:kTestScope]; 53 NSString *scopes = [user.accessibleScopes componentsJoinedByString:@", "]; 54 scopes = scopes.length ? scopes : @"(none)"; 55 self.subLabel.text = [NSString stringWithFormat:@"Scopes: %@", scopes];
|