File: jsDeclarationsExportAssignedClassExpression.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (20 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=== tests/cases/conformance/jsdoc/declarations/index.js ===
module.exports = class Thing {
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
>module : Symbol(export=, Decl(index.js, 0, 0))
>exports : Symbol(export=, Decl(index.js, 0, 0))
>Thing : Symbol(Thing, Decl(index.js, 0, 16))

    /**
     * @param {number} p
     */
    constructor(p) {
>p : Symbol(p, Decl(index.js, 4, 16))

        this.t = 12 + p;
>this.t : Symbol(Thing.t, Decl(index.js, 4, 20))
>this : Symbol(Thing, Decl(index.js, 0, 16))
>t : Symbol(Thing.t, Decl(index.js, 4, 20))
>p : Symbol(p, Decl(index.js, 4, 16))
    }
}