Home
last modified time | relevance | path

Searched defs:c2 (Results 1 – 25 of 46) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DliteralTypes2.ts107 const c2 = -123; constant
201 const c2 = cond ? 1 : "two"; constant
298 readonly c2 = -123; property in C1
316 const c2: { a : 0 | 1, b: "foo" | "bar" } = { a: 1, b: "foo" }; constant
352 const c2: (1 | "foo")[] = [1, "foo"]; constant
384 const { c1 = true, c2 = 0, c3 = "foo" } = { c1: false, c2: 1, c3: "bar" }; constant
DliteralTypeWidening.ts32 const c2 = c1; // Widening type "hello" constant
65 const c2: "foo" | "bar" = c1; // "foo" | "bar" constant
117 const c2 = c1; // Widening type 123 constant
150 const c2: 123 | 456 = c1; // 123 | 456 constant
202 const c2: "foo" = "foo"; constant
DgenericAndNonGenericOverload1.ts25 let c2: callable2<number>; variable
DcollisionRestParameterClassMethod.ts47 declare class c2 { class
DsignaturesUseJSDocForOptionalParameters.ts56 let c2 = pInst.optionalParam('hello', null) variable
DambientModuleExports.ts52 let c2 = new Foo2.C(); variable
DarrayOfFunctionTypes3.ts103 let c2: { (x: number): number; <T>(x: T): any; }; variable
108 let z2 = [a2, b2, c2]; variable
DconstDeclarations2.ts25 export const c2: number = 23; constant
DunionAndIntersectionInference2.ts77 let c2: string & { name: string } & number; variable
DdeclFilePrivateMethodOverloads.ts38 declare class c2 { class
DmissingSelf.ts58 let c2 = new CalcButton2(); variable
DclassImplementsClass3.ts39 let c2: C2; variable
DinstanceMemberInitialization.ts35 let c2 = new C(); variable
DtooFewArgumentsInGenericFunctionTypedArgument.ts30 let c2: Collection<number, string>; variable
DstaticPrototypePropertyOnClass.ts23 class c2<T> { class
DmethodSignaturesWithOverloads2.ts58 let c2: { variable
DcallbacksDontShareTypes.ts34 let c2: Collection<number>; variable
DreadonlyInDeclarationFile.ts52 protected get c2() { method in C
57 protected set c2(value) { } method in C
DimplicitAnyGenerics.ts30 let c2 = new C<any>(); variable
DgenericCallWithOverloadedConstructorTypedArguments.ts71 let c2: { new <T>(x: T): string; new<T>(x: number): T; } variable
DcollisionRestParameterClassConstructor.ts37 class c2 { class
/arkcompiler/ets_runtime/test/deopttest/restore_vregs/
Drestore_vregs.ts35 let c2 = new C(); variable
/arkcompiler/ets_runtime/test/aottest/ic/
Dic.ts28 let c2 = new C(); variable
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/
Dtest-class-generic-type.ts26 let c2 = new C<string>("a"); variable
/arkcompiler/ets_runtime/test/aottest/try_catch_finally/
Dtry_catch_finally.ts41 var c2 = 0, fin2 = 0; variable

12