Home
last modified time | relevance | path

Searched refs:func1 (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/typescript/tests/baselines/reference/
DnoImplicitThisBigThis.types5 >createObj : () => { func1(): any; func2(): any; func3(): any; }
8func1() { return this; }, func2() { return this; }, …
10 func1() {
11 >func1 : () => { func1(): any; func2(): any; func3(): any; }
14 >this : { func1(): any; func2(): any; func3(): any; }
18 >func2 : () => { func1(): any; func2(): any; func3(): any; }
21 >this : { func1(): any; func2(): any; func3(): any; }
25 >func3 : () => { func1(): any; func2(): any; func3(): any; }
28 >this : { func1(): any; func2(): any; func3(): any; }
34 >createObjNoCrash : () => { func1(): any; func2(): any; func3(): any; func4(): any; func5(): any; f…
[all …]
DfunctionLiterals.types5 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
7 func1(x: number): number; // Method signature
8 >func1 : (x: number) => number
21 b.func1 = b.func2;
22 >b.func1 = b.func2 : (x: number) => number
23 >b.func1 : (x: number) => number
24 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
25 >func1 : (x: number) => number
27 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
30 b.func1 = b.func3;
[all …]
DfunctionLiterals.js5 func1(x: number): number; // Method signature
11 b.func1 = b.func2;
12 b.func1 = b.func3;
13 b.func2 = b.func1;
15 b.func3 = b.func1;
33 func1<T>(x: T): number; // Method signature
39 b2.func1 = b2.func2;
40 b2.func1 = b2.func3;
41 b2.func2 = b2.func1;
43 b2.func3 = b2.func1;
[all …]
DfunctionLiterals.symbols7 func1(x: number): number; // Method signature
8 >func1 : Symbol(func1, Decl(functionLiterals.ts, 2, 8))
21 b.func1 = b.func2;
22 >b.func1 : Symbol(func1, Decl(functionLiterals.ts, 2, 8))
24 >func1 : Symbol(func1, Decl(functionLiterals.ts, 2, 8))
29 b.func1 = b.func3;
30 >b.func1 : Symbol(func1, Decl(functionLiterals.ts, 2, 8))
32 >func1 : Symbol(func1, Decl(functionLiterals.ts, 2, 8))
37 b.func2 = b.func1;
41 >b.func1 : Symbol(func1, Decl(functionLiterals.ts, 2, 8))
[all …]
DnoImplicitThisBigThis.js6 func1() {
20 func1() {
55 func1: function () {
68 func1: function () {
101 func1(): any;
106 func1(): any;
DtargetTypeTest2.symbols9 function func1(stuff:any[]) { return stuff; }
10 >func1 : Symbol(func1, Decl(targetTypeTest2.ts, 3, 26))
20 return func1([stuff1, stuff2, stuff3]);
21 >func1 : Symbol(func1, Decl(targetTypeTest2.ts, 3, 26))
DtargetTypeTest3.symbols9 function func1(stuff:any[]) { return stuff; }
10 >func1 : Symbol(func1, Decl(targetTypeTest3.ts, 3, 29))
20 return func1([stuff1, stuff2, stuff3]);
21 >func1 : Symbol(func1, Decl(targetTypeTest3.ts, 3, 29))
DtargetTypeTest2.types13 function func1(stuff:any[]) { return stuff; }
14 >func1 : (stuff: any[]) => any[]
24 return func1([stuff1, stuff2, stuff3]);
25 >func1([stuff1, stuff2, stuff3]) : any[]
26 >func1 : (stuff: any[]) => any[]
DtargetTypeTest3.types13 function func1(stuff:any[]) { return stuff; }
14 >func1 : (stuff: any[]) => any[]
24 return func1([stuff1, stuff2, stuff3]);
25 >func1([stuff1, stuff2, stuff3]) : any[]
26 >func1 : (stuff: any[]) => any[]
DtargetTypeTest3.js8 function func1(stuff:any[]) { return stuff; } function
11 return func1([stuff1, stuff2, stuff3]);
17 function func1(stuff) { return stuff; }
19 return func1([stuff1, stuff2, stuff3]);
DtargetTypeTest2.js8 function func1(stuff:any[]) { return stuff; } function
11 return func1([stuff1, stuff2, stuff3]);
17 function func1(stuff) { return stuff; }
19 return func1([stuff1, stuff2, stuff3]);
DcommentsOnObjectLiteral3.types3 >v : { prop: number; func: () => void; func1(): void; a: any; }
4func1() { }, //getter get a() { return this.prop; } /*trailing 1*/, //setter set a(value) { this…
18 func1() { },
19 >func1 : () => void
DnoImplicitThisBigThis.symbols8 func1() {
9 >func1 : Symbol(func1, Decl(noImplicitThisBigThis.ts, 3, 12))
35 func1() {
36 >func1 : Symbol(func1, Decl(noImplicitThisBigThis.ts, 17, 12))
DemitDefaultParametersFunctionPropertyES6.types3 >obj2 : { func1(y?: number, ...rest: any[]): void; func2(x?: string): void; func3(x: string, z: num…
4func1(y = 10, ...rest) { }, func2(x = "hello") { }, func3(x: string, z: number, y = "hello")…
6 func1(y = 10, ...rest) { },
7 >func1 : (y?: number, ...rest: any[]) => void
DemitDefaultParametersFunctionProperty.types3 >obj2 : { func1(y?: number, ...rest: any[]): void; func2(x?: string): void; func3(x: string, z: num…
4func1(y = 10, ...rest) { }, func2(x = "hello") { }, func3(x: string, z: number, y = "hello")…
6 func1(y = 10, ...rest) { },
7 >func1 : (y?: number, ...rest: any[]) => void
DemitRestParametersFunctionPropertyES6.types3 >obj : { func1: (...rest: any[]) => void; }
5 func1: (...rest) => void
6 >func1 : (...rest: any[]) => void
DemitRestParametersFunctionProperty.types3 >obj : { func1: (...rest: any[]) => void; }
5 func1: (...rest) => void
6 >func1 : (...rest: any[]) => void
DquickInfoInheritDoc.baseline227 "text": "func1",
269 "text": "BaseClass.func1",
286 "text": "BaseClass.func1.stuff1",
295 "text": "BaseClass.func1.returns",
315 "text": "SubClass.func1.stuff1",
324 "text": "SubClass.func1.returns",
DemitRestParametersFunctionProperty.symbols5 func1: (...rest) => void
6 >func1 : Symbol(func1, Decl(emitRestParametersFunctionProperty.ts, 0, 10))
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/methodSignatures/
DfunctionLiterals.ts4 func1(x: number): number; // Method signature
10 b.func1 = b.func2;
11 b.func1 = b.func3;
12 b.func2 = b.func1;
14 b.func3 = b.func1;
32 func1<T>(x: T): number; // Method signature
38 b2.func1 = b2.func2;
39 b2.func1 = b2.func3;
40 b2.func2 = b2.func1;
42 b2.func3 = b2.func1;
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.7/improved_function_inference_in_objects_and_methods/
Dimproved_function_inference_in_objects_and_methods.ts26 function func1<T>(arg: T): T{ function
29 var f1 = func1(5);
31 var f2 = func1('a');
33 var f3 = func1(true);
35 var f4 = func1({ num: 5 });
37 var f5 = func1(() => { return; });
/third_party/node/test/fixtures/wpt/wasm/jsapi/function/
Dtable.tentative.any.js8 var func1 = new WebAssembly.Function({parameters: ["i32"], results: []}, testfunc)
9 table.set(0, func1)
17 assert_equals(first, func1)
18 assert_equals(first.type().parameters[0], func1.type().parameters[0])
/third_party/jerryscript/tests/jerry/es2015/
Dreflect-construct.js33 function func1 (a, b, c) { function
38 var object1 = new func1 (...args);
39 var object2 = Reflect.construct (func1, args);
58 Reflect.construct (func1, 5, 5);
Dfunction-name.js63 var func1 = function () {}; function
64 assertMethodName(func1, 'func1');
97 func1() {}, method
123 assertMethodName(o.func1, 'func1');
153 func1() {} method in A
184 assertMethodName(A.prototype.func1, 'func1');
215 func1() {} method in B
246 assertMethodName(B.prototype.func1, 'func1');
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/leading_middle_rest_elements_in_tuple_types/
Dleading_middle_rest_elements_in_tuple_types4.ts26 function func1(...arg: [...arr: unknown[], num: number]) { function
29 let result1 = func1(10);
31 let result2 = func1(5, 's', true, 10);

12345