Home
last modified time | relevance | path

Searched refs:readonly (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/arkcompiler/ets_frontend/arkguard/src/configs/
DIOptions.ts20 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 …]
DINameObfuscationOption.ts20 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/
DprivateNameInLhsReceiverExpression.ts24 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 …]
DreadonlyInDeclarationFile.ts22 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 …]
DvarianceProblingAndZeroOrderIndexSignatureRelationsAlign.ts24 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 …]
DvarianceProblingAndZeroOrderIndexSignatureRelationsAlign2.ts24 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 …]
DmodifierParenCast.ts21 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");
DdeclarationNoDanglingGenerics.ts52 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";
DdeclarationEmitPrivateReadonlyLiterals.ts23 private static readonly A = "a";
24 private readonly B = "b";
25 private static readonly C = 42;
26 private readonly D = 42;
DoverrideInterfaceProperty.ts22 readonly size: number;
26 new<K, V>(entries?: readonly (readonly [K, V])[] | null): Mup<K, V>;
27 readonly prototype: Mup<any, any>;
DnarrowingIntersection.ts25 | { readonly value: string; readonly err?: never; }
26 | { readonly value?: never; readonly err: FooAndBaz; };
DmappedTypeModifiers.ts23 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] };
DobjectSpreadRepeatedNullCheckPerf.ts22 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 …]
DmappedTypes4.ts90 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;
DinferenceDoesNotAddUndefinedOrNull.ts28 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/
Dtest-ts-parameter-property.ts24 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) { };
Dtest-ts-parameter-property7.ts18 constructor(private readonly readonly, private readonly readonly) { };
Dtest-keyword-declare.ts37 static declare readonly [5]
38 static declare readonly ["b"]
39 static readonly declare 67
40 declare static readonly j
Dtest-class-definition.ts20 static declare readonly [5]
21 static declare readonly ["b"]
22 static readonly declare 67
23 declare static readonly j
Dtest-ts-parameter-property3.ts18 constructor(readonly readonly readonly) { };
Dtest_generic.ts17 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";};
Dtest-ts-mapped-type.ts17 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/
Dtest-type-literal.ts23 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 };
Dtest-interface.ts23 readonly (a: number): number,
29 readonly a?: number,
30 readonly b: string | boolean;
31 readonly [a:number]:number
/arkcompiler/ets_frontend/arkguard/src/generator/
DHexNameGenerator.ts24 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;

12345678910>>...13