/third_party/typescript_eslint/packages/scope-manager/src/scope/ |
D | ScopeBase.ts | 4 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 …]
|
D | SwitchScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.switch, 17 super(scopeManager, ScopeType.switch, upperScope, block, false);
|
D | ModuleScope.ts | 4 import { ScopeType } from './ScopeType'; 7 class ModuleScope extends ScopeBase<ScopeType.module, TSESTree.Program, Scope> { 13 super(scopeManager, ScopeType.module, upperScope, block, false);
|
D | CatchScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.catch, 17 super(scopeManager, ScopeType.catch, upperScope, block, false);
|
D | TSEnumScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.tsEnum, 17 super(scopeManager, ScopeType.tsEnum, upperScope, block, false);
|
D | BlockScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.block, 17 super(scopeManager, ScopeType.block, upperScope, block, false);
|
D | ClassScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.class, 17 super(scopeManager, ScopeType.class, upperScope, block, false);
|
D | MappedTypeScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.mappedType, 17 super(scopeManager, ScopeType.mappedType, upperScope, block, false);
|
D | TypeScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.type, 17 super(scopeManager, ScopeType.type, upperScope, block, false);
|
D | TSModuleScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.tsModule, 17 super(scopeManager, ScopeType.tsModule, upperScope, block, false);
|
D | ConditionalTypeScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.conditionalType, 17 super(scopeManager, ScopeType.conditionalType, upperScope, block, false);
|
D | ForScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.for, 17 super(scopeManager, ScopeType.for, upperScope, block, false);
|
D | FunctionTypeScope.ts | 4 import { ScopeType } from './ScopeType'; 8 ScopeType.functionType, 21 super(scopeManager, ScopeType.functionType, upperScope, block, false);
|
D | FunctionExpressionNameScope.ts | 3 import { ScopeType } from './ScopeType'; 9 ScopeType.functionExpressionName, 21 ScopeType.functionExpressionName,
|
D | WithScope.ts | 4 import { ScopeType } from './ScopeType'; 9 ScopeType.with, 18 super(scopeManager, ScopeType.with, upperScope, block, false);
|
D | FunctionScope.ts | 4 import { ScopeType } from './ScopeType'; 10 ScopeType.function, 27 ScopeType.function,
|
D | GlobalScope.ts | 4 import { ScopeType } from './ScopeType'; 16 ScopeType.global, 35 super(scopeManager, ScopeType.global, null, block, false);
|
D | ScopeType.ts | 1 enum ScopeType { enum 20 export { ScopeType };
|
/third_party/typescript_eslint/packages/scope-manager/tests/util/ |
D | expect.ts | 23 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/ |
D | TypeVisitor.ts | 5 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/ |
D | Scope.ts | 22 type ScopeType = alias 38 type: ScopeType; 119 type: ScopeType, 183 ScopeType,
|
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/ |
D | Scope.ts | 49 export const ScopeType = scopeManager.ScopeType; constant
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_util.js | 235 const ScopeType = "[PC preview] unknow ScopeType"; 254 return ScopeType; 259 return ScopeType; 274 return ScopeType;
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | no-shadow.ts | 6 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/ |
D | MachineCSE.cpp | 105 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()
|