File: jsDeclarationsClassExtendsVisibility.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 (44 lines) | stat: -rw-r--r-- 1,452 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
=== tests/cases/conformance/jsdoc/declarations/cls.js ===
const Bar = require("./bar");
>Bar : Symbol(Bar, Decl(cls.js, 0, 5))
>require : Symbol(require)
>"./bar" : Symbol("tests/cases/conformance/jsdoc/declarations/bar", Decl(bar.js, 0, 0))

const Strings = {
>Strings : Symbol(Strings, Decl(cls.js, 1, 5))

    a: "A",
>a : Symbol(a, Decl(cls.js, 1, 17))

    b: "B"
>b : Symbol(b, Decl(cls.js, 2, 11))

};
class Foo extends Bar {}
>Foo : Symbol(Foo, Decl(cls.js, 4, 2))
>Bar : Symbol(Bar, Decl(cls.js, 0, 5))

module.exports = Foo;
>module.exports : Symbol(module.exports, Decl(cls.js, 0, 0))
>module : Symbol(export=, Decl(cls.js, 5, 24))
>exports : Symbol(export=, Decl(cls.js, 5, 24))
>Foo : Symbol(Foo, Decl(cls.js, 4, 2))

module.exports.Strings = Strings;
>module.exports.Strings : Symbol(Strings, Decl(cls.js, 6, 21))
>module.exports : Symbol(Strings, Decl(cls.js, 6, 21))
>module : Symbol(module, Decl(cls.js, 5, 24))
>exports : Symbol(module.exports, Decl(cls.js, 0, 0))
>Strings : Symbol(Strings, Decl(cls.js, 6, 21))
>Strings : Symbol(Strings, Decl(cls.js, 1, 5))

=== tests/cases/conformance/jsdoc/declarations/bar.js ===
class Bar {}
>Bar : Symbol(Bar, Decl(bar.js, 0, 0))

module.exports = Bar;
>module.exports : Symbol(module.exports, Decl(bar.js, 0, 0))
>module : Symbol(export=, Decl(bar.js, 0, 12))
>exports : Symbol(export=, Decl(bar.js, 0, 12))
>Bar : Symbol(Bar, Decl(bar.js, 0, 0))