/third_party/typescript/tests/baselines/reference/ |
D | privateNameMethodCallExpression.types | 13 #method2(a, ...b) {}; 14 >#method2 : (a: any, ...b: any[]) => void 50 this.#method2(0, ...arr, 3); 51 >this.#method2(0, ...arr, 3) : void 52 >this.#method2 : (a: any, ...b: any[]) => void 59 const b = new this.#method2(0, ...arr, 3); //Error 61 >new this.#method2(0, ...arr, 3) : any 62 >this.#method2 : (a: any, ...b: any[]) => void 69 const str = this.#method2`head${1}middle${2}tail`; 71 >this.#method2`head${1}middle${2}tail` : void [all …]
|
D | privateNameStaticMethodCallExpression.types | 13 static #method2(a, ...b) {}; 14 >#method2 : (a: any, ...b: any[]) => void 50 AA.#method2(0, ...arr, 3); 51 >AA.#method2(0, ...arr, 3) : void 52 >AA.#method2 : (a: any, ...b: any[]) => void 59 const b = new AA.#method2(0, ...arr, 3); //Error 61 >new AA.#method2(0, ...arr, 3) : any 62 >AA.#method2 : (a: any, ...b: any[]) => void 69 const str = AA.#method2`head${1}middle${2}tail`; 71 >AA.#method2`head${1}middle${2}tail` : void [all …]
|
D | privateNameStaticMethodCallExpression.symbols | 11 static #method2(a, ...b) {}; 12 >#method2 : Symbol(AA.#method2, Decl(privateNameStaticMethodCallExpression.ts, 1, 38)) 41 AA.#method2(0, ...arr, 3); 42 >AA.#method2 : Symbol(AA.#method2, Decl(privateNameStaticMethodCallExpression.ts, 1, 38)) 46 const b = new AA.#method2(0, ...arr, 3); //Error 48 >AA.#method2 : Symbol(AA.#method2, Decl(privateNameStaticMethodCallExpression.ts, 1, 38)) 52 const str = AA.#method2`head${1}middle${2}tail`; 54 >AA.#method2 : Symbol(AA.#method2, Decl(privateNameStaticMethodCallExpression.ts, 1, 38)) 57 AA.getClass().#method2`test${1}and${2}`; 58 >AA.getClass().#method2 : Symbol(AA.#method2, Decl(privateNameStaticMethodCallExpression.ts, 1, 38)) [all …]
|
D | privateNameMethodCallExpression.symbols | 11 #method2(a, ...b) {}; 12 >#method2 : Symbol(AA.#method2, Decl(privateNameMethodCallExpression.ts, 1, 31)) 41 this.#method2(0, ...arr, 3); 42 >this.#method2 : Symbol(AA.#method2, Decl(privateNameMethodCallExpression.ts, 1, 31)) 46 const b = new this.#method2(0, ...arr, 3); //Error 48 >this.#method2 : Symbol(AA.#method2, Decl(privateNameMethodCallExpression.ts, 1, 31)) 52 const str = this.#method2`head${1}middle${2}tail`; 54 >this.#method2 : Symbol(AA.#method2, Decl(privateNameMethodCallExpression.ts, 1, 31)) 57 this.getInstance().#method2`test${1}and${2}`; 58 >this.getInstance().#method2 : Symbol(AA.#method2, Decl(privateNameMethodCallExpression.ts, 1, 31)) [all …]
|
D | es6ModuleClassDeclaration.js | 11 public method2() { method in c 27 public method2() { method in c2 47 public method2() { 63 public method2() { 85 public method2() { 101 public method2() { 123 method2() { method in c 139 method2() { method in c2 159 method2() { method in anonymousFunction4dea51690100.c3 176 method2() { method in anonymousFunction4dea51690100.c4 [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.types | 17 method2(arg: B): void; 18 >method2 : (arg: B) => void 26 …Prop = 10; }, method2(arg) { arg.strProp = "hello"; } } : { met… 40 method2(arg) { 41 >method2 : (arg: B) => void 58 …= 10; }, method2: (arg) => { arg.strProp = "hello"; } } : { met… 73 method2: (arg) => { 74 >method2 : (arg: B) => void 92 …0; }, method2: function (arg) { arg.strProp = "hello"; } } : { … 107 method2: function (arg) { [all …]
|
D | checkJsdocTypeTagOnObjectProperty2.types | 7 >obj : { bar: string | undefined; method1(arg0: number): number; method2: (arg0: number) => number;… 8 …method2: (n1) => "lol", /** @type {function(number): number} */ arrowFunc: (num="0") => num + 42… 25 method2: (n1) => "lol", 26 >method2 : (arg0: number) => number 55 >obj : { bar: string | undefined; method1(arg0: number): number; method2: (arg0: number) => number;… 60 var s1 = obj.method2("0"); 62 >obj.method2("0") : number 63 >obj.method2 : (arg0: number) => number 64 >obj : { bar: string | undefined; method1(arg0: number): number; method2: (arg0: number) => number;… 65 >method2 : (arg0: number) => number
|
D | es6ModuleClassDeclaration.symbols | 22 public method2() { 23 >method2 : Symbol(c.method2, Decl(es6ModuleClassDeclaration.ts, 8, 5)) 52 public method2() { 53 >method2 : Symbol(c2.method2, Decl(es6ModuleClassDeclaration.ts, 24, 5)) 91 public method2() { 92 >method2 : Symbol(c3.method2, Decl(es6ModuleClassDeclaration.ts, 44, 9)) 121 public method2() { 122 >method2 : Symbol(c4.method2, Decl(es6ModuleClassDeclaration.ts, 60, 9)) 166 public method2() { 167 >method2 : Symbol(c3.method2, Decl(es6ModuleClassDeclaration.ts, 82, 9)) [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration02.symbols | 31 method2(arg: B): void; 32 >method2 : Symbol(Bar.method2, Decl(contextuallyTypedClassExpressionMethodDeclaration02.ts, 13, 26)) 49 method2(arg) { 50 >method2 : Symbol((Anonymous class).method2, Decl(contextuallyTypedClassExpressionMethodDeclaration… 71 method2 = (arg) => { 72 >method2 : Symbol((Anonymous class).method2, Decl(contextuallyTypedClassExpressionMethodDeclaration… 93 method2 = function (arg) { 94 >method2 : Symbol((Anonymous class).method2, Decl(contextuallyTypedClassExpressionMethodDeclaration…
|
D | contextuallyTypedClassExpressionMethodDeclaration01.types | 17 method2(arg: B): void; 18 >method2 : (arg: B) => void 26 >class { static method1(arg) { arg.numProp = 10; } static method2(a… 39 static method2(arg) { 40 >method2 : (arg: any) => void 57 …method1 = (arg) => { arg.numProp = 10; } static method2 = (arg) => { … 71 static method2 = (arg) => { 72 >method2 : (arg: B) => void 90 …1 = function (arg) { arg.numProp = 10; } static method2 = function (arg) … 104 static method2 = function (arg) { [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration02.types | 21 method2(arg: B): void; 22 >method2 : (arg: B) => void 30 >class { method1(arg) { arg.numProp = 10; } method2(arg) { … 43 method2(arg) { 44 >method2 : (arg: any) => void 61 >class { method1 = (arg) => { arg.numProp = 10; } method2 = (arg) =… 75 method2 = (arg) => { 76 >method2 : (arg: any) => void 94 >class { method1 = function (arg) { arg.numProp = 10; } method2 = f… 108 method2 = function (arg) { [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.js | 12 method2(arg: B): void; 20 method2(arg) { 31 method2: (arg) => { 42 method2: function (arg) { 54 method2: function (arg) { 64 method2: function (arg) { 74 method2: function (arg) {
|
D | contextuallyTypedClassExpressionMethodDeclaration02.js | 16 method2(arg: B): void; 24 method2(arg) { method in AnonymousClass5a1f2a7a0101 35 method2 = (arg) => { field in AnonymousClass5a1f2a7a0201 46 method2 = function (arg) { method in AnonymousClass5a1f2a7a0301 60 class_1.prototype.method2 = function (arg) { method in class_1 72 this.method2 = function (arg) { method 85 this.method2 = function (arg) { method
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.symbols | 24 method2(arg: B): void; 25 >method2 : Symbol(Foo.method2, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 9, 26)) 45 method2(arg) { 46 >method2 : Symbol(method2, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 17, 10)) 72 method2: (arg) => { 73 >method2 : Symbol(method2, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 28, 10)) 99 method2: function (arg) { 100 >method2 : Symbol(method2, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 39, 10))
|
D | es6ModuleClassDeclaration.types | 26 public method2() { 27 >method2 : () => void 60 public method2() { 61 >method2 : () => void 105 public method2() { 106 >method2 : () => void 139 public method2() { 140 >method2 : () => void 192 public method2() { 193 >method2 : () => void [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration01.symbols | 24 method2(arg: B): void; 25 >method2 : Symbol(Foo.method2, Decl(contextuallyTypedClassExpressionMethodDeclaration01.ts, 9, 26)) 42 static method2(arg) { 43 >method2 : Symbol((Anonymous class).method2, Decl(contextuallyTypedClassExpressionMethodDeclaration… 66 static method2 = (arg) => { 67 >method2 : Symbol((Anonymous class).method2, Decl(contextuallyTypedClassExpressionMethodDeclaration… 92 static method2 = function (arg) { 93 >method2 : Symbol((Anonymous class).method2, Decl(contextuallyTypedClassExpressionMethodDeclaration…
|
D | contextuallyTypedClassExpressionMethodDeclaration01.js | 12 method2(arg: B): void; 20 static method2(arg) { method in AnonymousClass5a1e9e190101 31 static method2 = (arg) => { field in AnonymousClass5a1e9e190201 42 static method2 = function (arg) { method in AnonymousClass5a1e9e190301 56 class_1.method2 = function (arg) { function 72 _a.method2 = function (arg) { 87 _a.method2 = function (arg) { function
|
D | privateNameMethodCallExpression.js | 4 #method2(a, ...b) {}; method in AA 13 this.#method2(0, ...arr, 3); 15 const b = new this.#method2(0, ...arr, 3); //Error 16 const str = this.#method2`head${1}middle${2}tail`; 17 this.getInstance().#method2`test${1}and${2}`; 19 this.getInstance().#method2(0, ...arr, 3); 20 const b2 = new (this.getInstance().#method2)(0, ...arr, 3); //Error 21 const str2 = this.getInstance().#method2`head${1}middle${2}tail`;
|
D | privateNameStaticMethodCallExpression.js | 4 static #method2(a, ...b) {}; method in AA 13 AA.#method2(0, ...arr, 3); 15 const b = new AA.#method2(0, ...arr, 3); //Error 16 const str = AA.#method2`head${1}middle${2}tail`; 17 AA.getClass().#method2`test${1}and${2}`; 19 AA.getClass().#method2(0, ...arr, 3); 20 const b2 = new (AA.getClass().#method2)(0, ...arr, 3); //Error 21 const str2 = AA.getClass().#method2`head${1}middle${2}tail`;
|
D | checkJsdocTypeTagOnObjectProperty2.symbols | 21 method2: (n1) => "lol", 22 >method2 : Symbol(method2, Decl(0.js, 8, 4)) 46 var s1 = obj.method2("0"); 48 >obj.method2 : Symbol(method2, Decl(0.js, 8, 4)) 50 >method2 : Symbol(method2, Decl(0.js, 8, 4))
|
D | uniqueSymbolsDeclarationsErrors.types | 11 >obj : { method1(p: typeof s): typeof s; method2(p: I["readonlyType"]): I["readonlyType"]; } 12 …eturn p; }, method2(p: I["readonlyType"]): I["readonlyType"] { return p; }} : { me… 24 method2(p: I["readonlyType"]): I["readonlyType"] { 25 >method2 : (p: I["readonlyType"]) => I["readonlyType"] 35 >class { method1(p: typeof s): typeof s { return p; } method2(p: I["readonlyType"])… 46 method2(p: I["readonlyType"]): I["readonlyType"] { 47 >method2 : (p: I["readonlyType"]) => I["readonlyType"]
|
D | checkJsdocTypeTagOnObjectProperty2.js | 12 method2: (n1) => "lol", 23 var s1 = obj.method2("0"); 36 method2: function (n1) { return "lol"; }, method 49 var s1 = obj.method2("0");
|
/third_party/typescript/tests/cases/conformance/classes/members/privateNames/ |
D | privateNameMethodCallExpression.ts | 5 #method2(a, ...b) {}; 14 this.#method2(0, ...arr, 3); 16 const b = new this.#method2(0, ...arr, 3); //Error 17 const str = this.#method2`head${1}middle${2}tail`; 18 this.getInstance().#method2`test${1}and${2}`; 20 this.getInstance().#method2(0, ...arr, 3); 21 const b2 = new (this.getInstance().#method2)(0, ...arr, 3); //Error 22 const str2 = this.getInstance().#method2`head${1}middle${2}tail`;
|
D | privateNameStaticMethodCallExpression.ts | 5 static #method2(a, ...b) {}; 14 AA.#method2(0, ...arr, 3); 16 const b = new AA.#method2(0, ...arr, 3); //Error 17 const str = AA.#method2`head${1}middle${2}tail`; 18 AA.getClass().#method2`test${1}and${2}`; 20 AA.getClass().#method2(0, ...arr, 3); 21 const b2 = new (AA.getClass().#method2)(0, ...arr, 3); //Error 22 const str2 = AA.getClass().#method2`head${1}middle${2}tail`;
|
/third_party/typescript/tests/cases/compiler/ |
D | es6ModuleClassDeclaration.ts | 11 public method2() { method in c 27 public method2() { method in c2 47 public method2() { method in c3 63 public method2() { method in c4 85 public method2() { method in c3 101 public method2() { method in c4
|