/third_party/typescript/tests/cases/compiler/ |
D | convertClassExpressionToFunctionFromObjectProperty2.ts | 25 constructor() { } constant 28 constructor() { } constant 31 constructor() { } constant 34 constructor() { } constant 37 constructor() { } constant 40 constructor() { } constant 43 constructor() { } constant 46 constructor() { } constant 49 constructor() { } constant 52 constructor() { } constant [all …]
|
D | declFileConstructors.ts | 9 constructor() { method in SimpleConstructor 14 constructor(/** this is comment about a*/a: string, method in ConstructorWithParameters 22 constructor(a: string, ...rests: string[]) { method in ConstructorWithRestParamters 28 constructor(a: string); method in ConstructorWithOverloads 35 constructor(public x: string) { method in ConstructorWithPublicParameterProperty 40 constructor(private x: string) { method in ConstructorWithPrivateParameterProperty 45 constructor(public x?: string) { method in ConstructorWithOptionalParameterProperty 50 constructor(public x = "hello") { method in ConstructorWithParameterInitializer 57 constructor() { method in GlobalSimpleConstructor 62 constructor(/** this is comment about a*/a: string, method in GlobalConstructorWithParameters [all …]
|
D | parserConstructorDeclaration12.ts | 2 constructor<>() { } method in C 3 constructor<> () { } method in C 4 constructor <>() { } method in C 5 constructor <> () { } method in C 6 constructor< >() { } method in C 7 constructor< > () { } method in C 8 constructor < >() { } method in C 9 constructor < > () { } method in C
|
D | classUpdateTests.ts | 15 constructor() {} method in B 19 constructor(public p1=0, private p2=0, p3=0) {} method in C 34 constructor() {} // ERROR - super call required method in F 39 constructor() { super(); } // NO ERROR method in G 43 constructor() { super(); } // ERROR - no super call allowed method in H 47 constructor() { super(); } // ERROR - no super call allowed method in I 51 constructor(public p1:number) { method in J 57 constructor(public p1:number) { // ERROR method in K 64 constructor(private p1:number) { method in L 70 constructor(private p1:number) { // ERROR method in M [all …]
|
D | collisionArgumentsClassConstructor.ts | 3 constructor(i: number, ...arguments) { // error method in c1 8 constructor(arguments: number, ...rest) { // error method in c12 13 constructor(arguments: number) { // no error method in c1NoError 19 constructor(...restParameters) { method in c2 24 constructor() { method in c2NoError 30 constructor(public arguments: number, ...restParameters) { //arguments is error method in c3 35 constructor(public arguments: number) { // no error method in c3NoError 41 constructor(i: number, ...arguments); // No error - no code gen method in c4
|
D | returnInConstructor1.ts | 3 constructor() { method in A 10 constructor() { method in B 17 constructor() { method in C 24 constructor() { method in D 31 constructor() { method in E 38 constructor() { method in F 47 constructor() { method in G 53 constructor() { method in H 60 constructor() { method in I
|
D | collisionRestParameterClassConstructor.ts | 3 constructor(_i: number, ...restParameters) { //_i is error method in c1 8 constructor(_i: number) { // no error method in c1NoError 14 constructor(...restParameters) { method in c2 19 constructor() { method in c2NoError 25 constructor(public _i: number, ...restParameters) { //_i is error method in c3 30 constructor(public _i: number) { // no error method in c3NoError 36 constructor(_i: number, ...restParameters); // No error - no code gen method in c4
|
D | baseCheck.ts | 1 class C { constructor(x: number, y: number) { } } method in C 3 constructor(x: number) { method in ELoc 8 constructor(x: number) { method in ELocVar 17 class D extends C { constructor(public z: number) { super(this.z) } } // too few params method in D 18 class E extends C { constructor(public z: number) { super(0, this.z) } } method in E 19 class F extends C { constructor(public z: number) { super("hello", this.z) } } // first param type method in F
|
D | strictModeInConstructor.ts | 9 constructor () { method in B 18 constructor () { method in C 27 constructor () { method in D 37 constructor () { method in Bs 46 constructor () { method in Cs 55 constructor () { method in Ds
|
D | objectCreationOfElementAccessExpression.ts | 3 constructor(public name: string) { method in Food 18 constructor(name: string, public flavor: string) { method in MonsterFood 24 constructor(public flavor: string) { method in IceCream 29 constructor(public flavor: string, public isGlutenFree: boolean) { method in Cookie 34 constructor(name: string, public whereToBuy: number) { method in PetFood 39 constructor(public whereToBuy: number) { method in ExpensiveOrganicDogFood 44 constructor(public whereToBuy: number, public containsFish: boolean) { method in ExpensiveOrganicCatFood
|
/third_party/typescript/tests/baselines/reference/ |
D | convertClassExpressionToFunctionFromObjectProperty1.js | 6 constructor () {} method in foo.x 9 constructor () {} method in foo.y 14 constructor () {} method in foo.break 17 constructor () {} method in foo.case 20 constructor () {} method in foo 23 constructor () {} method in foo 26 constructor () {} method in foo 29 constructor () {} method in foo.continue 32 constructor () {} method in foo.debugger 35 constructor () {} method in foo [all …]
|
D | parserConstructorDeclaration12.js | 3 constructor<>() { } field in C 4 constructor<> () { } field in C 5 constructor <>() { } field in C 6 constructor <> () { } field in C 7 constructor< >() { } field in C 8 constructor< > () { } field in C 9 constructor < >() { } field in C 10 constructor < > () { } field in C
|
D | declFileConstructors.js | 6 constructor() { method in SimpleConstructor 11 constructor(/** this is comment about a*/a: string, method in ConstructorWithParameters 19 constructor(a: string, ...rests: string[]) { method in ConstructorWithRestParamters 27 constructor(a: any) { method in ConstructorWithOverloads 32 constructor(public x: string) { method in ConstructorWithPublicParameterProperty 37 constructor(private x: string) { method in ConstructorWithPrivateParameterProperty 42 constructor(public x?: string) { method in ConstructorWithOptionalParameterProperty 47 constructor(public x = "hello") { method in ConstructorWithParameterInitializer 54 constructor() { method in GlobalSimpleConstructor 59 constructor(/** this is comment about a*/a: string, method in GlobalConstructorWithParameters [all …]
|
D | emitClassDeclarationWithPropertyAssignmentInES6.js | 9 constructor() { method in D 21 constructor() { method in F 29 constructor() { method in C 34 constructor() { method in D 40 constructor() { method in E 46 constructor() { method in F
|
D | privateNamesInNestedClasses-2.js | 4 constructor () { method in A 7 constructor() { method in A.constructor.B 9 constructor() { method in A.constructor.B.constructor.C 29 constructor() { method in A 32 constructor() { method in A.constructor.B 35 constructor() { method in A.constructor.B.constructor.C
|
D | checkSuperCallBeforeThisAccess.js | 7 constructor(n: number) { method in C1 53 constructor(value: number) { method in Foo 58 constructor(something: boolean) { method in BarCorrectlyFails 71 constructor(something: boolean) { method in BarIncorrectlyWorks 86 constructor() { method in A 91 constructor(n) { method in C1 135 constructor(value) { method in Foo 139 constructor(something) { method in BarCorrectlyFails 151 constructor(something) { method in BarIncorrectlyWorks
|
D | transformsElideNullUndefinedType.js | 37 class C2 { constructor(p10: null) { } } method in C2 38 class C3 { constructor(p11: undefined) { } } method in C3 42 constructor(p12: null) { } method in C4 47 constructor(p13: undefined) { } method in C5 50 var C6 = class { constructor(p12: null) { } } method in C6 51 var C7 = class { constructor(p13: undefined) { } } method in C7 87 constructor(p10) { } method in C2 90 constructor(p11) { } method in C3 93 constructor(p12) { } method in C4 96 constructor(p13) { } method in C5 [all …]
|
D | strictPropertyInitialization.js | 54 constructor() { method in C5 65 constructor(cond: boolean) { method in C6 77 constructor(cond: boolean) { method in C7 113 constructor() { method in C10 155 constructor() { method in C1 168 constructor() { method in C4 180 constructor() { method in C5 189 constructor(cond) { method in C6 200 constructor(cond) { method in C7 221 constructor() { method in C10 [all …]
|
D | classUpdateTests.js | 16 constructor() {} method in B 20 constructor(public p1=0, private p2=0, p3=0) {} method in C 35 constructor() {} // ERROR - super call required method in F 40 constructor() { super(); } // NO ERROR method in G 44 constructor() { super(); } // ERROR - no super call allowed method in H 48 constructor() { super(); } // ERROR - no super call allowed method in I 52 constructor(public p1:number) { method in J 58 constructor(public p1:number) { // ERROR method in K 65 constructor(private p1:number) { method in L 71 constructor(private p1:number) { // ERROR method in M [all …]
|
/third_party/typescript/tests/cases/conformance/classes/constructorDeclarations/superCalls/ |
D | derivedClassParameterProperties.ts | 8 constructor(y: string) { method in Derived 15 constructor(public y: string) { method in Derived2 22 constructor(public y: string) { method in Derived3 30 constructor(y: string) { method in Derived4 38 constructor(y: string) { method in Derived5 46 constructor(y: string) { method in Derived6 56 constructor(y: string) { method in Derived7 66 constructor(y: string) { method in Derived8 79 constructor(y: string) { method in Derived9 89 constructor(y: string) { method in Derived10
|
D | derivedClassSuperCallsWithThisArg.ts | 3 constructor(a) { } method in Base 7 constructor() { method in Derived 13 constructor(public a: string) { method in Derived2 19 constructor(public a: string) { method in Derived3 25 constructor(public a: string) { method in Derived4
|
/third_party/typescript/tests/cases/conformance/classes/members/inheritanceAndOverriding/ |
D | derivedClassOverridesProtectedMembers3.ts | 19 constructor(a: typeof x) {} method in Base 26 constructor(a: typeof x) { super(a); } method in Derived1 31 constructor(a: typeof x) { super(a); } method in Derived2 36 constructor(a: typeof x) { super(a); } method in Derived3 41 constructor(a: typeof x) { super(a); } method in Derived4 46 constructor(a: typeof x) { super(a); } method in Derived5 51 constructor(a: typeof x) { super(a); } method in Derived6 56 constructor(a: typeof x) { super(a); } method in Derived7 61 constructor(a: typeof x) { super(a); } method in Derived8 66 constructor(a: typeof x) { super(a); } method in Derived9 [all …]
|
/third_party/typescript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/ |
D | readonlyConstructorAssignment.ts | 4 constructor(readonly x: number) { method in A 10 constructor(x: number) { method in B 20 constructor(readonly x: number) { method in C 27 constructor(private readonly x: number) { method in D 34 constructor(readonly x: number) { method in E
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_contact.js | 20 constructor() { method in mockContact.ContactClass 45 constructor() { method in mockContact.ContactAttributesClass 52 constructor() { method in mockContact.EmailClass 67 constructor() { method in mockContact.EventClass 81 constructor() { method in mockContact.GroupClass 89 constructor() { method in mockContact.HolderClass 98 constructor() { method in mockContact.ImAddressClass 116 constructor() { method in mockContact.NameClass 131 constructor() { method in mockContact.NickNameClass 138 constructor() { method in mockContact.NoteClass [all …]
|
/third_party/node/deps/npm/node_modules/minizlib/ |
D | index.js | 13 constructor (err) { method in ZlibError 47 constructor (opts, mode) { method in ZlibBase 183 constructor (opts, mode) { method in Zlib 234 constructor (opts) { method in Deflate 240 constructor (opts) { method in Inflate 247 constructor (opts) { method in Gzip 253 constructor (opts) { method in Gunzip 260 constructor (opts) { method in DeflateRaw 266 constructor (opts) { method in InflateRaw 273 constructor (opts) { method in Unzip [all …]
|