Home
last modified time | relevance | path

Searched refs:ScopeType (Results 1 – 25 of 27) sorted by relevance

12

/third_party/typescript_eslint/packages/scope-manager/src/scope/
DScopeBase.ts4 import { ScopeType } from './ScopeType';
40 scope.type === ScopeType.class ||
41 scope.type === ScopeType.conditionalType ||
42 scope.type === ScopeType.functionType ||
43 scope.type === ScopeType.mappedType ||
44 scope.type === ScopeType.module ||
45 scope.type === ScopeType.tsEnum ||
46 scope.type === ScopeType.tsModule ||
47 scope.type === ScopeType.type
52 if (scope.type === ScopeType.block || scope.type === ScopeType.switch) {
[all …]
DSwitchScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.switch,
17 super(scopeManager, ScopeType.switch, upperScope, block, false);
DModuleScope.ts4 import { ScopeType } from './ScopeType';
7 class ModuleScope extends ScopeBase<ScopeType.module, TSESTree.Program, Scope> {
13 super(scopeManager, ScopeType.module, upperScope, block, false);
DCatchScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.catch,
17 super(scopeManager, ScopeType.catch, upperScope, block, false);
DTSEnumScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.tsEnum,
17 super(scopeManager, ScopeType.tsEnum, upperScope, block, false);
DBlockScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.block,
17 super(scopeManager, ScopeType.block, upperScope, block, false);
DClassScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.class,
17 super(scopeManager, ScopeType.class, upperScope, block, false);
DMappedTypeScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.mappedType,
17 super(scopeManager, ScopeType.mappedType, upperScope, block, false);
DTypeScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.type,
17 super(scopeManager, ScopeType.type, upperScope, block, false);
DTSModuleScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.tsModule,
17 super(scopeManager, ScopeType.tsModule, upperScope, block, false);
DConditionalTypeScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.conditionalType,
17 super(scopeManager, ScopeType.conditionalType, upperScope, block, false);
DForScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.for,
17 super(scopeManager, ScopeType.for, upperScope, block, false);
DFunctionTypeScope.ts4 import { ScopeType } from './ScopeType';
8 ScopeType.functionType,
21 super(scopeManager, ScopeType.functionType, upperScope, block, false);
DFunctionExpressionNameScope.ts3 import { ScopeType } from './ScopeType';
9 ScopeType.functionExpressionName,
21 ScopeType.functionExpressionName,
DWithScope.ts4 import { ScopeType } from './ScopeType';
9 ScopeType.with,
18 super(scopeManager, ScopeType.with, upperScope, block, false);
DFunctionScope.ts4 import { ScopeType } from './ScopeType';
10 ScopeType.function,
27 ScopeType.function,
DGlobalScope.ts4 import { ScopeType } from './ScopeType';
16 ScopeType.global,
35 super(scopeManager, ScopeType.global, null, block, false);
DScopeType.ts1 enum ScopeType { enum
20 export { ScopeType };
/third_party/typescript_eslint/packages/scope-manager/tests/util/
Dexpect.ts23 ScopeType,
33 expect(scope.type).toBe(ScopeType.block);
36 expect(scope.type).toBe(ScopeType.catch);
39 expect(scope.type).toBe(ScopeType.class);
42 expect(scope.type).toBe(ScopeType.for);
45 expect(scope.type).toBe(ScopeType.function);
50 expect(scope.type).toBe(ScopeType.functionExpressionName);
53 expect(scope.type).toBe(ScopeType.global);
56 expect(scope.type).toBe(ScopeType.module);
59 expect(scope.type).toBe(ScopeType.switch);
[all …]
/third_party/typescript_eslint/packages/scope-manager/src/referencer/
DTypeVisitor.ts5 import { ScopeType } from '../scope';
138 scope.type === ScopeType.functionType ||
139 scope.type === ScopeType.mappedType
145 currentScope.type === ScopeType.functionType ||
146 currentScope.type === ScopeType.mappedType
152 if (currentScope.type === ScopeType.conditionalType) {
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint-scope/
DScope.ts22 type ScopeType = alias
38 type: ScopeType;
119 type: ScopeType,
183 ScopeType,
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/
DScope.ts49 export const ScopeType = scopeManager.ScopeType; constant
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_util.js235 const ScopeType = "[PC preview] unknow ScopeType";
254 return ScopeType;
259 return ScopeType;
274 return ScopeType;
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-shadow.ts6 import { ScopeType } from '@typescript-eslint/scope-manager';
76 (scope.type === ScopeType.tsModule && !!scope.block.global) ||
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCSE.cpp105 using ScopeType = ScopedHTType::ScopeTy; typedef in __anon99c08eae0111::MachineCSE
109 DenseMap<MachineBasicBlock *, ScopeType *> ScopeMap;
499 ScopeType *Scope = new ScopeType(VNT); in EnterScope()
505 DenseMap<MachineBasicBlock*, ScopeType*>::iterator SI = ScopeMap.find(MBB); in ExitScope()

12