File: assignToObjectTypeWithPrototypeProperty.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (17 lines) | stat: -rw-r--r-- 896 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=== tests/cases/compiler/assignToObjectTypeWithPrototypeProperty.ts ===
class XEvent {}
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))

var p: XEvent = XEvent.prototype;
>p : Symbol(p, Decl(assignToObjectTypeWithPrototypeProperty.ts, 1, 3))
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
>XEvent.prototype : Symbol(XEvent.prototype)
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
>prototype : Symbol(XEvent.prototype)

var x: {prototype: XEvent} = XEvent;
>x : Symbol(x, Decl(assignToObjectTypeWithPrototypeProperty.ts, 2, 3))
>prototype : Symbol(prototype, Decl(assignToObjectTypeWithPrototypeProperty.ts, 2, 8))
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))