1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
=== tests/cases/conformance/jsdoc/declarations/index.js ===
class A {
>A : Symbol(A, Decl(index.js, 0, 0))
member = new Q();
>member : Symbol(A.member, Decl(index.js, 0, 9))
>Q : Symbol(Q, Decl(index.js, 2, 1))
}
class Q {
>Q : Symbol(Q, Decl(index.js, 2, 1))
x = 42;
>x : Symbol(Q.x, Decl(index.js, 3, 9))
}
module.exports = class Q {
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
>module : Symbol(export=, Decl(index.js, 5, 1))
>exports : Symbol(export=, Decl(index.js, 5, 1))
>Q : Symbol(Q, Decl(index.js, 6, 16))
constructor() {
this.x = new A();
>this.x : Symbol(Q.x, Decl(index.js, 7, 19))
>this : Symbol(Q, Decl(index.js, 6, 16))
>x : Symbol(Q.x, Decl(index.js, 7, 19))
>A : Symbol(A, Decl(index.js, 0, 0))
}
}
module.exports.Another = Q;
>module.exports.Another : Symbol(Another, Decl(index.js, 10, 1))
>module.exports : Symbol(Another, Decl(index.js, 10, 1))
>module : Symbol(module, Decl(index.js, 5, 1))
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
>Another : Symbol(Another, Decl(index.js, 10, 1))
>Q : Symbol(Q, Decl(index.js, 2, 1))
|