mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
75 lines
3.4 KiB
Diff
75 lines
3.4 KiB
Diff
--- old.jsDeclarationsClassMethod.symbols
|
|
+++ new.jsDeclarationsClassMethod.symbols
|
|
@@= skipped -1, +1 lines =@@
|
|
|
|
=== jsDeclarationsClassMethod.js ===
|
|
function C1() {
|
|
->C1 : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0), Decl(jsDeclarationsClassMethod.js, 20, 1))
|
|
+>C1 : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0))
|
|
|
|
/**
|
|
* A comment prop
|
|
@@= skipped -9, +9 lines =@@
|
|
* @returns {number}
|
|
*/
|
|
this.prop = function (x, y) {
|
|
->this.prop : Symbol(C1.prop, Decl(jsDeclarationsClassMethod.js, 0, 15))
|
|
->this : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0), Decl(jsDeclarationsClassMethod.js, 20, 1))
|
|
->prop : Symbol(C1.prop, Decl(jsDeclarationsClassMethod.js, 0, 15))
|
|
>x : Symbol(x, Decl(jsDeclarationsClassMethod.js, 7, 26))
|
|
>y : Symbol(y, Decl(jsDeclarationsClassMethod.js, 7, 28))
|
|
|
|
@@= skipped -19, +16 lines =@@
|
|
* @returns {number}
|
|
*/
|
|
C1.prototype.method = function (x, y) {
|
|
->C1.prototype : Symbol(C1.method, Decl(jsDeclarationsClassMethod.js, 10, 1))
|
|
->C1 : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0), Decl(jsDeclarationsClassMethod.js, 20, 1))
|
|
+>C1.prototype : Symbol(Function.prototype, Decl(lib.es5.d.ts, --, --))
|
|
+>C1 : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0))
|
|
>prototype : Symbol(Function.prototype, Decl(lib.es5.d.ts, --, --))
|
|
->method : Symbol(C1.method, Decl(jsDeclarationsClassMethod.js, 10, 1))
|
|
>x : Symbol(x, Decl(jsDeclarationsClassMethod.js, 18, 32))
|
|
>y : Symbol(y, Decl(jsDeclarationsClassMethod.js, 18, 34))
|
|
|
|
@@= skipped -20, +19 lines =@@
|
|
*/
|
|
C1.staticProp = function (x, y) {
|
|
>C1.staticProp : Symbol(C1.staticProp, Decl(jsDeclarationsClassMethod.js, 20, 1))
|
|
->C1 : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0), Decl(jsDeclarationsClassMethod.js, 20, 1))
|
|
+>C1 : Symbol(C1, Decl(jsDeclarationsClassMethod.js, 0, 0))
|
|
>staticProp : Symbol(C1.staticProp, Decl(jsDeclarationsClassMethod.js, 20, 1))
|
|
>x : Symbol(x, Decl(jsDeclarationsClassMethod.js, 28, 26))
|
|
>y : Symbol(y, Decl(jsDeclarationsClassMethod.js, 28, 28))
|
|
@@= skipped -11, +11 lines =@@
|
|
}
|
|
|
|
class C2 {
|
|
->C2 : Symbol(C2, Decl(jsDeclarationsClassMethod.js, 30, 1), Decl(jsDeclarationsClassMethod.js, 52, 1))
|
|
+>C2 : Symbol(C2, Decl(jsDeclarationsClassMethod.js, 30, 1))
|
|
|
|
/**
|
|
* A comment method1
|
|
@@= skipped -26, +26 lines =@@
|
|
* @returns {number}
|
|
*/
|
|
C2.prototype.method2 = function (x, y) {
|
|
->C2.prototype.method2 : Symbol(C2.method2, Decl(jsDeclarationsClassMethod.js, 42, 1))
|
|
->C2.prototype : Symbol(C2.method2, Decl(jsDeclarationsClassMethod.js, 42, 1))
|
|
->C2 : Symbol(C2, Decl(jsDeclarationsClassMethod.js, 30, 1), Decl(jsDeclarationsClassMethod.js, 52, 1))
|
|
+>C2.prototype : Symbol(C2.prototype)
|
|
+>C2 : Symbol(C2, Decl(jsDeclarationsClassMethod.js, 30, 1))
|
|
>prototype : Symbol(C2.prototype)
|
|
->method2 : Symbol(C2.method2, Decl(jsDeclarationsClassMethod.js, 42, 1))
|
|
>x : Symbol(x, Decl(jsDeclarationsClassMethod.js, 50, 33))
|
|
>y : Symbol(y, Decl(jsDeclarationsClassMethod.js, 50, 35))
|
|
|
|
@@= skipped -21, +19 lines =@@
|
|
*/
|
|
C2.staticProp = function (x, y) {
|
|
>C2.staticProp : Symbol(C2.staticProp, Decl(jsDeclarationsClassMethod.js, 52, 1))
|
|
->C2 : Symbol(C2, Decl(jsDeclarationsClassMethod.js, 30, 1), Decl(jsDeclarationsClassMethod.js, 52, 1))
|
|
+>C2 : Symbol(C2, Decl(jsDeclarationsClassMethod.js, 30, 1))
|
|
>staticProp : Symbol(C2.staticProp, Decl(jsDeclarationsClassMethod.js, 52, 1))
|
|
>x : Symbol(x, Decl(jsDeclarationsClassMethod.js, 60, 26))
|
|
>y : Symbol(y, Decl(jsDeclarationsClassMethod.js, 60, 28))
|