/arkcompiler/ets_frontend/arkguard/src/configs/ |
D | IOptions.ts | 20 readonly mCompact?: boolean; 23 readonly mRemoveComments?: boolean; 26 readonly mDisableConsole?: boolean; 29 readonly mDisableHilog?: boolean; 32 readonly mSimplify?: boolean; 35 readonly mNameObfuscation?: INameObfuscationOption; 39 readonly mOhSdkPath?: string; 41 readonly mTopLevel?: boolean; 43 readonly mEnableSourceMap?: boolean; 45 readonly mEnableNameCache?: boolean; [all …]
|
D | INameObfuscationOption.ts | 20 readonly mEnable: boolean; 22 readonly mNameGeneratorType: NameGeneratorType; 24 readonly mRenameProperties: boolean; 26 readonly mReservedNames: string[]; 30 readonly mDictionaryList?: string[]; 32 readonly mKeepStringProperty?: boolean;
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | privateNameInLhsReceiverExpression.ts | 24 obj[(new class { #x = 1; readonly s = "prop"; }).s].#y = 1; 25 AssertType(obj[(new class { #x = 1; readonly s = "prop"; }).s].#y = 1, "int"); 26 AssertType(obj[(new class { #x = 1; readonly s = "prop"; }).s].#y, "number"); 27 AssertType(obj[(new class { #x = 1; readonly s = "prop"; }).s], "Test"); 29 AssertType((new class { #x = 1; readonly s = "prop"; }).s, "string"); 30 AssertType((new class { #x = 1; readonly s = "prop"; }), "(Anonymous class)"); 31 AssertType(new class { #x = 1; readonly s = "prop"; }, "(Anonymous class)"); 32 AssertType(class { #x = 1; readonly s = "prop"; }, "typeof (Anonymous class)"); 39 obj[(new class { #x = 1; readonly s = "prop"; }).s].#y += 1; 40 AssertType(obj[(new class { #x = 1; readonly s = "prop"; }).s].#y += 1, "number"); [all …]
|
D | readonlyInDeclarationFile.ts | 22 readonly x: number; 23 readonly [x: string]: Object; 27 readonly [x: string]: Object; 28 private readonly a1: number; 29 protected readonly a2: number; 30 public readonly a3: number; 64 private static readonly s1: number; 65 protected static readonly s2: number; 66 public static readonly s3: number; 105 readonly a: string; variable [all …]
|
D | varianceProblingAndZeroOrderIndexSignatureRelationsAlign.ts | 24 readonly _tag: 'Left' = 'Left' 25 readonly _A!: A 26 readonly _L!: L 27 constructor(readonly value: L) {} 42 readonly _tag: 'Right' = 'Right' 43 readonly _A!: A 44 readonly _L!: L 45 constructor(readonly value: A) {} 63 readonly _A!: A; 64 readonly _O!: O; [all …]
|
D | varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.ts | 24 readonly _tag: 'Left' = 'Left' 25 readonly _A!: A 26 readonly _L!: L 27 constructor(readonly value: L) {} 42 readonly _tag: 'Right' = 'Right' 43 readonly _A!: A 44 readonly _L!: L 45 constructor(readonly value: A) {} 63 readonly _A!: A; 64 readonly _O!: O; [all …]
|
D | modifierParenCast.ts | 21 let readonly: any = undefined; 22 AssertType(readonly, "any"); 37 export const a = (readonly as number); 39 AssertType((readonly as number), "number"); 40 AssertType(readonly as number, "number"); 41 AssertType(readonly, "any");
|
D | declarationNoDanglingGenerics.ts | 52 AssertType(class { static readonly THE_KIND: TKind = kind; readonly kind: TKind = kind; }, "… 55 static readonly THE_KIND: TKind = kind; 59 readonly kind: TKind = kind; 67 static readonly A = "A"; 68 static readonly B = "B"; 69 static readonly C = "C";
|
D | declarationEmitPrivateReadonlyLiterals.ts | 23 private static readonly A = "a"; 24 private readonly B = "b"; 25 private static readonly C = 42; 26 private readonly D = 42;
|
D | overrideInterfaceProperty.ts | 22 readonly size: number; 26 new<K, V>(entries?: readonly (readonly [K, V])[] | null): Mup<K, V>; 27 readonly prototype: Mup<any, any>;
|
D | narrowingIntersection.ts | 25 | { readonly value: string; readonly err?: never; } 26 | { readonly value?: never; readonly err: FooAndBaz; };
|
D | mappedTypeModifiers.ts | 23 type TR = { readonly a: number, readonly b: string }; 24 type TPR = { readonly a?: number, readonly b?: string }; 72 let v03: { readonly [P in keyof T]: T[P] }; 88 let v04: { readonly [P in keyof T]?: T[P] }; 114 type BR = { readonly a: { x: number }, readonly b: { x: string } }; 115 type BPR = { readonly a?: { x: number }, readonly b?: { x: string } }; 163 let b03: { readonly [P in keyof B]: B[P] }; 179 let b04: { readonly [P in keyof B]?: B[P] };
|
D | objectSpreadRepeatedNullCheckPerf.ts | 22 readonly a?: string 23 readonly b?: string 24 readonly c?: string 25 readonly d?: string 26 readonly e?: string 27 readonly f?: string 28 readonly g?: string 29 readonly h?: string 30 readonly i?: string 31 readonly j?: string [all …]
|
D | mappedTypes4.ts | 90 readonly [P in keyof T]: DeepReadonly<T[P]>; 100 readonly x: number; 101 readonly y: { readonly a: string, readonly b: number }; 102 readonly z: boolean;
|
D | inferenceDoesNotAddUndefinedOrNull.ts | 28 declare function toArray<T>(value: T | readonly T[]): readonly T[]; 30 …tion flatMapChildren<T>(node: Node, cb: (child: Node) => readonly T[] | T | undefined): readonly T… 65 function flatMapChildren2<T>(node: Node, cb: (child: Node) => readonly T[] | T | null): readonly T[…
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
D | test-ts-parameter-property.ts | 24 readonly d, 25 public readonly e, 26 private readonly f, 27 protected readonly g, 28 public readonly readonly: boolean = false, 37 public constructor(readonly) { }; 41 public constructor(public readonly) { }; 45 public constructor(readonly readonly) { };
|
D | test-ts-parameter-property7.ts | 18 constructor(private readonly readonly, private readonly readonly) { };
|
D | test-keyword-declare.ts | 37 static declare readonly [5] 38 static declare readonly ["b"] 39 static readonly declare 67 40 declare static readonly j
|
D | test-class-definition.ts | 20 static declare readonly [5] 21 static declare readonly ["b"] 22 static readonly declare 67 23 declare static readonly j
|
D | test-ts-parameter-property3.ts | 18 constructor(readonly readonly readonly) { };
|
D | test_generic.ts | 17 function func1<Type, A, B extends readonly number[]>(arg: Type): Type { 34 interface U<A extends readonly [number, number, { a: number, b: string }], Z = boolean> extends R<[… 36 readonly<A extends number>(): [boolean, number[]]; 45 c<E, F extends readonly []>() { } 74 async<A extends readonly [number, string]>() => {return "foo";};
|
D | test-ts-mapped-type.ts | 17 type Type1<T1> = { -readonly [prop in keyof T1]-?: boolean; }; 18 type Type2<T2> = { +readonly [prop in keyof T2]+?: boolean; }; 19 type Type3<T3> = { readonly [prop in keyof T3]?: boolean; };
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | test-type-literal.ts | 23 readonly c: number, readonly 7: number; readonly d?: string, readonly 8?: number variable 26 var f: { [a: number]: number, readonly(a: number): string }; variable 27 var g: { readonly [a: number]: number };
|
D | test-interface.ts | 23 readonly (a: number): number, 29 readonly a?: number, 30 readonly b: string | boolean; 31 readonly [a:number]:number
|
/arkcompiler/ets_frontend/arkguard/src/generator/ |
D | HexNameGenerator.ts | 24 private readonly mHexLength: number; 25 private readonly mReservedNames: Set<string>; 26 private readonly mWithPrefixSuffix: boolean; 28 private readonly mHexPrefix: string; 29 private readonly mHexSuffix: string;
|