File: jsDeclarationsClassStatic.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (49 lines) | stat: -rw-r--r-- 1,556 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
45
46
47
48
49
=== tests/cases/conformance/jsdoc/declarations/source.js ===
class Handler {
>Handler : Symbol(Handler, Decl(source.js, 0, 0), Decl(source.js, 7, 1))

	static get OPTIONS() {
>OPTIONS : Symbol(Handler.OPTIONS, Decl(source.js, 0, 15))

		return 1;
	}

	process() {
>process : Symbol(Handler.process, Decl(source.js, 3, 2))
	}
}
Handler.statische = function() { }
>Handler.statische : Symbol(Handler.statische, Decl(source.js, 7, 1))
>Handler : Symbol(Handler, Decl(source.js, 0, 0), Decl(source.js, 7, 1))
>statische : Symbol(Handler.statische, Decl(source.js, 7, 1))

const Strings = {
>Strings : Symbol(Strings, Decl(source.js, 9, 5))

    a: "A",
>a : Symbol(a, Decl(source.js, 9, 17))

    b: "B"
>b : Symbol(b, Decl(source.js, 10, 11))
}

module.exports = Handler;
>module.exports : Symbol(module.exports, Decl(source.js, 0, 0))
>module : Symbol(export=, Decl(source.js, 12, 1))
>exports : Symbol(export=, Decl(source.js, 12, 1))
>Handler : Symbol(Handler, Decl(source.js, 0, 0), Decl(source.js, 7, 1))

module.exports.Strings = Strings
>module.exports.Strings : Symbol(Strings, Decl(source.js, 14, 25))
>module.exports : Symbol(Strings, Decl(source.js, 14, 25))
>module : Symbol(module, Decl(source.js, 12, 1))
>exports : Symbol(module.exports, Decl(source.js, 0, 0))
>Strings : Symbol(Strings, Decl(source.js, 14, 25))
>Strings : Symbol(Strings, Decl(source.js, 9, 5))

/**
 * @typedef {Object} HandlerOptions
 * @property {String} name
 * Should be able to export a type alias at the same time.
 */