Searched refs:InitStatus (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/src/ |
D | variable.ts | 18 InitStatus, 126 status: InitStatus | null; 128 constructor(declKind: VarDeclarationKind, name: string, status?: InitStatus) { 134 this.status = InitStatus.INITIALIZED; 139 return this.status === InitStatus.INITIALIZED; 147 private status: InitStatus | null; 151 constructor(declKind: VarDeclarationKind, name: string, status?: InitStatus) { 157 this.status = InitStatus.INITIALIZED; 162 return this.status === InitStatus.INITIALIZED;
|
D | addVariable2Scope.ts | 28 InitStatus, 99 … parentVariableScope.add(MandatoryArguments, VarDeclarationKind.CONST, InitStatus.INITIALIZED); 104 scope.add(MandatoryArguments, VarDeclarationKind.CONST, InitStatus.INITIALIZED); 150 v = scope.add(decl, VarDeclarationKind.LET, InitStatus.UNINITIALIZED); 152 v = scope.add(decl, VarDeclarationKind.CONST, InitStatus.UNINITIALIZED); 166 v = scope.add(decl, VarDeclarationKind.CLASS, InitStatus.UNINITIALIZED); 169 v = classScope.add(decl, VarDeclarationKind.CLASS, InitStatus.UNINITIALIZED);
|
D | scope.ts | 29 export enum InitStatus { enum 103 …abstract add(decl: Decl | string, declKind: VarDeclarationKind, status?: InitStatus): Variable | u… 341 let v = this.add(name, declKind, InitStatus.INITIALIZED); 405 …add(decl: Decl | string, declKind: VarDeclarationKind, status?: InitStatus): Variable | undefined { 439 …add(decl: Decl | string, declKind: VarDeclarationKind, status?: InitStatus): Variable | undefined { 445 v = new ModuleVariable(declKind, name, InitStatus.UNINITIALIZED); 493 …add(decl: Decl | string, declKind: VarDeclarationKind, status?: InitStatus): Variable | undefined { 520 …add(decl: Decl | string, declKind: VarDeclarationKind, status?: InitStatus): Variable | undefined {
|