TypeScript/tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt

2080 lines
92 KiB
Plaintext

===================================================================
JsFile: recursiveClassReferenceTest.js
mapUrl: recursiveClassReferenceTest.js.map
sourceRoot:
sources: recursiveClassReferenceTest.ts
===================================================================
-------------------------------------------------------------------
emittedFile:tests/cases/compiler/recursiveClassReferenceTest.js
sourceFile:recursiveClassReferenceTest.ts
-------------------------------------------------------------------
>>>// Scenario 1: Test reqursive function call with "this" parameter
1 >
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^^^^^^^^->
1 >
2 >// Scenario 1: Test reqursive function call with "this" parameter
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(1, 66) Source(1, 66) + SourceIndex(0)
---
>>>// Scenario 2: Test recursive function call with cast and "this" parameter
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1->
>
2 >// Scenario 2: Test recursive function call with cast and "this" parameter
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(2, 75) Source(2, 75) + SourceIndex(0)
---
>>>var __extends = this.__extends || function (d, b) {
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
>>> function __() { this.constructor = d; }
>>> __.prototype = b.prototype;
>>> d.prototype = new __();
>>>};
>>>var Sample;
1 >
2 >^^^^
3 > ^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >
>
>
>
>declare module Sample.Thing {
>
> export interface IWidget {
> getDomNode(): any;
> destroy();
> gar(runner:(widget:Sample.Thing.IWidget)=>any):any;
> }
>
> export interface ICodeThing {
>
> getDomNode(): Element;
>
> addWidget(widgetId:string, widget:IWidget);
>
>
> focus();
>
> //addWidget(widget: Sample.Thing.Widgets.IWidget);
> }
>
> export interface IAction {
> run(Thing:ICodeThing):boolean;
> getId():string;
> }
>}
>
>
2 >module
3 > Sample
4 > .Actions.Thing.Find {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1 >Emitted(9, 1) Source(32, 1) + SourceIndex(0)
2 >Emitted(9, 5) Source(32, 8) + SourceIndex(0)
3 >Emitted(9, 11) Source(32, 14) + SourceIndex(0)
4 >Emitted(9, 12) Source(42, 2) + SourceIndex(0)
---
>>>(function (Sample) {
1->
2 >^^^^^^^^^^^
3 > ^^^^^^
1->
2 >module
3 > Sample
1->Emitted(10, 1) Source(32, 1) + SourceIndex(0)
2 >Emitted(10, 12) Source(32, 8) + SourceIndex(0)
3 >Emitted(10, 18) Source(32, 14) + SourceIndex(0)
---
>>> var Actions;
1 >^^^^
2 > ^^^^
3 > ^^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >.
2 >
3 > Actions
4 > .Thing.Find {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1 >Emitted(11, 5) Source(32, 15) + SourceIndex(0) name (Sample)
2 >Emitted(11, 9) Source(32, 15) + SourceIndex(0) name (Sample)
3 >Emitted(11, 16) Source(32, 22) + SourceIndex(0) name (Sample)
4 >Emitted(11, 17) Source(42, 2) + SourceIndex(0) name (Sample)
---
>>> (function (Actions) {
1->^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^
1->
2 >
3 > Actions
1->Emitted(12, 5) Source(32, 15) + SourceIndex(0) name (Sample)
2 >Emitted(12, 16) Source(32, 15) + SourceIndex(0) name (Sample)
3 >Emitted(12, 23) Source(32, 22) + SourceIndex(0) name (Sample)
---
>>> var Thing;
1 >^^^^^^^^
2 > ^^^^
3 > ^^^^^
4 > ^
5 > ^^^^^^^^^^^^->
1 >.
2 >
3 > Thing
4 > .Find {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1 >Emitted(13, 9) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
2 >Emitted(13, 13) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
3 >Emitted(13, 18) Source(32, 28) + SourceIndex(0) name (Sample.Actions)
4 >Emitted(13, 19) Source(42, 2) + SourceIndex(0) name (Sample.Actions)
---
>>> (function (Thing_1) {
1->^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^
1->
2 >
3 > Thing
1->Emitted(14, 9) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
2 >Emitted(14, 20) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
3 >Emitted(14, 27) Source(32, 28) + SourceIndex(0) name (Sample.Actions)
---
>>> var Find;
1 >^^^^^^^^^^^^
2 > ^^^^
3 > ^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >.
2 >
3 > Find
4 > {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1 >Emitted(15, 13) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
2 >Emitted(15, 17) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
3 >Emitted(15, 21) Source(32, 33) + SourceIndex(0) name (Sample.Actions.Thing)
4 >Emitted(15, 22) Source(42, 2) + SourceIndex(0) name (Sample.Actions.Thing)
---
>>> (function (Find) {
1->^^^^^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^
4 > ^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^^^^->
1->
2 >
3 > Find
4 >
5 > {
1->Emitted(16, 13) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
2 >Emitted(16, 24) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
3 >Emitted(16, 28) Source(32, 33) + SourceIndex(0) name (Sample.Actions.Thing)
4 >Emitted(16, 30) Source(32, 34) + SourceIndex(0) name (Sample.Actions.Thing)
5 >Emitted(16, 31) Source(32, 35) + SourceIndex(0) name (Sample.Actions.Thing)
---
>>> var StartFindAction = (function () {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
1->Emitted(17, 17) Source(33, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find)
---
>>> function StartFindAction() {
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^->
1->
1->Emitted(18, 21) Source(33, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
---
>>> }
1->^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
>
2 > }
1->Emitted(19, 21) Source(41, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.constructor)
2 >Emitted(19, 22) Source(41, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.constructor)
---
>>> StartFindAction.prototype.getId = function () { return "yo"; };
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^^
5 > ^^^^^^
6 > ^
7 > ^^^^
8 > ^
9 > ^
10> ^
1->
2 > getId
3 >
4 > public getId() {
5 > return
6 >
7 > "yo"
8 > ;
9 >
10> }
1->Emitted(20, 21) Source(35, 10) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
2 >Emitted(20, 52) Source(35, 15) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
3 >Emitted(20, 55) Source(35, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
4 >Emitted(20, 69) Source(35, 20) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
5 >Emitted(20, 75) Source(35, 26) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
6 >Emitted(20, 76) Source(35, 27) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
7 >Emitted(20, 80) Source(35, 31) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
8 >Emitted(20, 81) Source(35, 32) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
9 >Emitted(20, 82) Source(35, 33) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
10>Emitted(20, 83) Source(35, 34) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.getId)
---
>>> StartFindAction.prototype.run = function (Thing) {
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^
5 > ^^^^^
1 >
>
> public
2 > run
3 >
4 > public run(
5 > Thing:Sample.Thing.ICodeThing
1 >Emitted(21, 21) Source(37, 10) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
2 >Emitted(21, 50) Source(37, 13) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
3 >Emitted(21, 53) Source(37, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
4 >Emitted(21, 63) Source(37, 14) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
5 >Emitted(21, 68) Source(37, 43) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
---
>>> return true;
1 >^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^
5 > ^
1 >):boolean {
>
>
2 > return
3 >
4 > true
5 > ;
1 >Emitted(22, 25) Source(39, 4) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
2 >Emitted(22, 31) Source(39, 10) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
3 >Emitted(22, 32) Source(39, 11) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
4 >Emitted(22, 36) Source(39, 15) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
5 >Emitted(22, 37) Source(39, 16) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
---
>>> };
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(23, 21) Source(40, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
2 >Emitted(23, 22) Source(40, 4) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction.run)
---
>>> return StartFindAction;
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^
1->
>
2 > }
1->Emitted(24, 21) Source(41, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
2 >Emitted(24, 43) Source(41, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
---
>>> })();
1 >^^^^^^^^^^^^^^^^
2 > ^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 > }
3 >
4 > export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
1 >Emitted(25, 17) Source(41, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
2 >Emitted(25, 18) Source(41, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find.StartFindAction)
3 >Emitted(25, 18) Source(33, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find)
4 >Emitted(25, 22) Source(41, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find)
---
>>> Find.StartFindAction = StartFindAction;
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^
4 > ^
5 > ^^^^^->
1->
2 > StartFindAction
3 > implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
4 >
1->Emitted(26, 17) Source(33, 15) + SourceIndex(0) name (Sample.Actions.Thing.Find)
2 >Emitted(26, 37) Source(33, 30) + SourceIndex(0) name (Sample.Actions.Thing.Find)
3 >Emitted(26, 55) Source(41, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find)
4 >Emitted(26, 56) Source(41, 3) + SourceIndex(0) name (Sample.Actions.Thing.Find)
---
>>> })(Find = Thing_1.Find || (Thing_1.Find = {}));
1->^^^^^^^^^^^^
2 > ^
3 > ^^
4 > ^^^^
5 > ^^^
6 > ^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^
9 > ^^^^^^^^
1->
>
2 > }
3 >
4 > Find
5 >
6 > Find
7 >
8 > Find
9 > {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1->Emitted(27, 13) Source(42, 1) + SourceIndex(0) name (Sample.Actions.Thing.Find)
2 >Emitted(27, 14) Source(42, 2) + SourceIndex(0) name (Sample.Actions.Thing.Find)
3 >Emitted(27, 16) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
4 >Emitted(27, 20) Source(32, 33) + SourceIndex(0) name (Sample.Actions.Thing)
5 >Emitted(27, 23) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
6 >Emitted(27, 35) Source(32, 33) + SourceIndex(0) name (Sample.Actions.Thing)
7 >Emitted(27, 40) Source(32, 29) + SourceIndex(0) name (Sample.Actions.Thing)
8 >Emitted(27, 52) Source(32, 33) + SourceIndex(0) name (Sample.Actions.Thing)
9 >Emitted(27, 60) Source(42, 2) + SourceIndex(0) name (Sample.Actions.Thing)
---
>>> })(Thing = Actions.Thing || (Actions.Thing = {}));
1 >^^^^^^^^
2 > ^
3 > ^^
4 > ^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^^
9 > ^^^^^^^^
10> ^->
1 >
2 > }
3 >
4 > Thing
5 >
6 > Thing
7 >
8 > Thing
9 > .Find {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1 >Emitted(28, 9) Source(42, 1) + SourceIndex(0) name (Sample.Actions.Thing)
2 >Emitted(28, 10) Source(42, 2) + SourceIndex(0) name (Sample.Actions.Thing)
3 >Emitted(28, 12) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
4 >Emitted(28, 17) Source(32, 28) + SourceIndex(0) name (Sample.Actions)
5 >Emitted(28, 20) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
6 >Emitted(28, 33) Source(32, 28) + SourceIndex(0) name (Sample.Actions)
7 >Emitted(28, 38) Source(32, 23) + SourceIndex(0) name (Sample.Actions)
8 >Emitted(28, 51) Source(32, 28) + SourceIndex(0) name (Sample.Actions)
9 >Emitted(28, 59) Source(42, 2) + SourceIndex(0) name (Sample.Actions)
---
>>> })(Actions = Sample.Actions || (Sample.Actions = {}));
1->^^^^
2 > ^
3 > ^^
4 > ^^^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^^^
9 > ^^^^^^^^
1->
2 > }
3 >
4 > Actions
5 >
6 > Actions
7 >
8 > Actions
9 > .Thing.Find {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1->Emitted(29, 5) Source(42, 1) + SourceIndex(0) name (Sample.Actions)
2 >Emitted(29, 6) Source(42, 2) + SourceIndex(0) name (Sample.Actions)
3 >Emitted(29, 8) Source(32, 15) + SourceIndex(0) name (Sample)
4 >Emitted(29, 15) Source(32, 22) + SourceIndex(0) name (Sample)
5 >Emitted(29, 18) Source(32, 15) + SourceIndex(0) name (Sample)
6 >Emitted(29, 32) Source(32, 22) + SourceIndex(0) name (Sample)
7 >Emitted(29, 37) Source(32, 15) + SourceIndex(0) name (Sample)
8 >Emitted(29, 51) Source(32, 22) + SourceIndex(0) name (Sample)
9 >Emitted(29, 59) Source(42, 2) + SourceIndex(0) name (Sample)
---
>>>})(Sample || (Sample = {}));
1 >
2 >^
3 > ^^
4 > ^^^^^^
5 > ^^^^^
6 > ^^^^^^
7 > ^^^^^^^^
1 >
2 >}
3 >
4 > Sample
5 >
6 > Sample
7 > .Actions.Thing.Find {
> export class StartFindAction implements Sample.Thing.IAction {
>
> public getId() { return "yo"; }
>
> public run(Thing:Sample.Thing.ICodeThing):boolean {
>
> return true;
> }
> }
> }
1 >Emitted(30, 1) Source(42, 1) + SourceIndex(0) name (Sample)
2 >Emitted(30, 2) Source(42, 2) + SourceIndex(0) name (Sample)
3 >Emitted(30, 4) Source(32, 8) + SourceIndex(0)
4 >Emitted(30, 10) Source(32, 14) + SourceIndex(0)
5 >Emitted(30, 15) Source(32, 8) + SourceIndex(0)
6 >Emitted(30, 21) Source(32, 14) + SourceIndex(0)
7 >Emitted(30, 29) Source(42, 2) + SourceIndex(0)
---
>>>var Sample;
1 >
2 >^^^^
3 > ^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >
>
>
2 >module
3 > Sample
4 > .Thing.Widgets {
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
> }
1 >Emitted(31, 1) Source(44, 1) + SourceIndex(0)
2 >Emitted(31, 5) Source(44, 8) + SourceIndex(0)
3 >Emitted(31, 11) Source(44, 14) + SourceIndex(0)
4 >Emitted(31, 12) Source(64, 2) + SourceIndex(0)
---
>>>(function (Sample) {
1->
2 >^^^^^^^^^^^
3 > ^^^^^^
1->
2 >module
3 > Sample
1->Emitted(32, 1) Source(44, 1) + SourceIndex(0)
2 >Emitted(32, 12) Source(44, 8) + SourceIndex(0)
3 >Emitted(32, 18) Source(44, 14) + SourceIndex(0)
---
>>> var Thing;
1 >^^^^
2 > ^^^^
3 > ^^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >.
2 >
3 > Thing
4 > .Widgets {
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
> }
1 >Emitted(33, 5) Source(44, 15) + SourceIndex(0) name (Sample)
2 >Emitted(33, 9) Source(44, 15) + SourceIndex(0) name (Sample)
3 >Emitted(33, 14) Source(44, 20) + SourceIndex(0) name (Sample)
4 >Emitted(33, 15) Source(64, 2) + SourceIndex(0) name (Sample)
---
>>> (function (Thing) {
1->^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^
4 > ^->
1->
2 >
3 > Thing
1->Emitted(34, 5) Source(44, 15) + SourceIndex(0) name (Sample)
2 >Emitted(34, 16) Source(44, 15) + SourceIndex(0) name (Sample)
3 >Emitted(34, 21) Source(44, 20) + SourceIndex(0) name (Sample)
---
>>> var Widgets;
1->^^^^^^^^
2 > ^^^^
3 > ^^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1->.
2 >
3 > Widgets
4 > {
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
> }
1->Emitted(35, 9) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
2 >Emitted(35, 13) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
3 >Emitted(35, 20) Source(44, 28) + SourceIndex(0) name (Sample.Thing)
4 >Emitted(35, 21) Source(64, 2) + SourceIndex(0) name (Sample.Thing)
---
>>> (function (Widgets) {
1->^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^
4 > ^^
5 > ^
6 > ^^^^^^^^^^^^^^^->
1->
2 >
3 > Widgets
4 >
5 > {
1->Emitted(36, 9) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
2 >Emitted(36, 20) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
3 >Emitted(36, 27) Source(44, 28) + SourceIndex(0) name (Sample.Thing)
4 >Emitted(36, 29) Source(44, 29) + SourceIndex(0) name (Sample.Thing)
5 >Emitted(36, 30) Source(44, 30) + SourceIndex(0) name (Sample.Thing)
---
>>> var FindWidget = (function () {
1->^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
1->Emitted(37, 13) Source(45, 2) + SourceIndex(0) name (Sample.Thing.Widgets)
---
>>> function FindWidget(codeThing) {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^
3 > ^^^^^^^^^
4 > ^^^->
1->export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
>
2 > constructor(private
3 > codeThing: Sample.Thing.ICodeThing
1->Emitted(38, 17) Source(50, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
2 >Emitted(38, 37) Source(50, 23) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
3 >Emitted(38, 46) Source(50, 57) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
---
>>> this.codeThing = codeThing;
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^
5 > ^
1->
2 > codeThing
3 >
4 > codeThing
5 > : Sample.Thing.ICodeThing
1->Emitted(39, 21) Source(50, 23) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
2 >Emitted(39, 35) Source(50, 32) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
3 >Emitted(39, 38) Source(50, 23) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
4 >Emitted(39, 47) Source(50, 32) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
5 >Emitted(39, 48) Source(50, 57) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
---
>>> this.domNode = null;
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^
3 > ^^^
4 > ^^^^
5 > ^
1 >
2 > domNode
3 > :any =
4 > null
5 > ;
1 >Emitted(40, 21) Source(49, 11) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
2 >Emitted(40, 33) Source(49, 18) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
3 >Emitted(40, 36) Source(49, 25) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
4 >Emitted(40, 40) Source(49, 29) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
5 >Emitted(40, 41) Source(49, 30) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
---
>>> // scenario 1
1 >^^^^^^^^^^^^^^^^^^^^
2 >
3 > ^^^^^^^^^^^^^
4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
>
2 >
3 > // scenario 1
1 >Emitted(41, 21) Source(52, 7) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
2 >Emitted(41, 21) Source(51, 7) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
3 >Emitted(41, 34) Source(51, 20) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
---
>>> codeThing.addWidget("addWidget", this);
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^
5 > ^
6 > ^^^^^^^^^^^
7 > ^^
8 > ^^^^
9 > ^
10> ^
1->
>
2 > codeThing
3 > .
4 > addWidget
5 > (
6 > "addWidget"
7 > ,
8 > this
9 > )
10> ;
1->Emitted(42, 21) Source(52, 7) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
2 >Emitted(42, 30) Source(52, 16) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
3 >Emitted(42, 31) Source(52, 17) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
4 >Emitted(42, 40) Source(52, 26) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
5 >Emitted(42, 41) Source(52, 27) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
6 >Emitted(42, 52) Source(52, 38) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
7 >Emitted(42, 54) Source(52, 40) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
8 >Emitted(42, 58) Source(52, 44) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
9 >Emitted(42, 59) Source(52, 45) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
10>Emitted(42, 60) Source(52, 46) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
---
>>> }
1 >^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(43, 17) Source(53, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
2 >Emitted(43, 18) Source(53, 4) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.constructor)
---
>>> FindWidget.prototype.gar = function (runner) { if (true) {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^
5 > ^^^^^^
6 > ^^^^
7 > ^^
8 > ^
9 > ^
10> ^^^^
11> ^
12> ^
13> ^
1->
2 > gar
3 >
4 > public gar(
5 > runner:(widget:Sample.Thing.IWidget)=>any
6 > ) {
7 > if
8 >
9 > (
10> true
11> )
12>
13> {
1->Emitted(44, 17) Source(47, 10) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
2 >Emitted(44, 41) Source(47, 13) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
3 >Emitted(44, 44) Source(47, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
4 >Emitted(44, 54) Source(47, 14) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
5 >Emitted(44, 60) Source(47, 55) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
6 >Emitted(44, 64) Source(47, 59) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
7 >Emitted(44, 66) Source(47, 61) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
8 >Emitted(44, 67) Source(47, 62) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
9 >Emitted(44, 68) Source(47, 63) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
10>Emitted(44, 72) Source(47, 67) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
11>Emitted(44, 73) Source(47, 68) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
12>Emitted(44, 74) Source(47, 69) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
13>Emitted(44, 75) Source(47, 70) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
---
>>> return runner(this);
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^^^
5 > ^
6 > ^^^^
7 > ^
8 > ^
1 >
2 > return
3 >
4 > runner
5 > (
6 > this
7 > )
8 > ;
1 >Emitted(45, 21) Source(47, 70) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
2 >Emitted(45, 27) Source(47, 76) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
3 >Emitted(45, 28) Source(47, 77) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
4 >Emitted(45, 34) Source(47, 83) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
5 >Emitted(45, 35) Source(47, 84) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
6 >Emitted(45, 39) Source(47, 88) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
7 >Emitted(45, 40) Source(47, 89) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
8 >Emitted(45, 41) Source(47, 90) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
---
>>> } };
1 >^^^^^^^^^^^^^^^^
2 > ^
3 > ^
4 > ^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 > }
3 >
4 > }
1 >Emitted(46, 17) Source(47, 90) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
2 >Emitted(46, 18) Source(47, 91) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
3 >Emitted(46, 19) Source(47, 91) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
4 >Emitted(46, 20) Source(47, 92) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.gar)
---
>>> FindWidget.prototype.getDomNode = function () {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
1->
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public
2 > getDomNode
3 >
1->Emitted(47, 17) Source(55, 10) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
2 >Emitted(47, 48) Source(55, 20) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
3 >Emitted(47, 51) Source(55, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
---
>>> return domNode;
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^^^^
5 > ^
1 >public getDomNode() {
>
2 > return
3 >
4 > domNode
5 > ;
1 >Emitted(48, 21) Source(56, 4) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
2 >Emitted(48, 27) Source(56, 10) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
3 >Emitted(48, 28) Source(56, 11) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
4 >Emitted(48, 35) Source(56, 18) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
5 >Emitted(48, 36) Source(56, 19) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
---
>>> };
1 >^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(49, 17) Source(57, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
2 >Emitted(49, 18) Source(57, 4) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.getDomNode)
---
>>> FindWidget.prototype.destroy = function () {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
1->
>
> public
2 > destroy
3 >
1->Emitted(50, 17) Source(59, 10) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
2 >Emitted(50, 45) Source(59, 17) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
3 >Emitted(50, 48) Source(59, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
---
>>> };
1 >^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^->
1 >public destroy() {
>
>
2 > }
1 >Emitted(51, 17) Source(61, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.destroy)
2 >Emitted(51, 18) Source(61, 4) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget.destroy)
---
>>> return FindWidget;
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^
1->
>
>
2 > }
1->Emitted(52, 17) Source(63, 2) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
2 >Emitted(52, 34) Source(63, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
---
>>> })();
1 >^^^^^^^^^^^^
2 > ^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 > }
3 >
4 > export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
1 >Emitted(53, 13) Source(63, 2) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
2 >Emitted(53, 14) Source(63, 3) + SourceIndex(0) name (Sample.Thing.Widgets.FindWidget)
3 >Emitted(53, 14) Source(45, 2) + SourceIndex(0) name (Sample.Thing.Widgets)
4 >Emitted(53, 18) Source(63, 3) + SourceIndex(0) name (Sample.Thing.Widgets)
---
>>> Widgets.FindWidget = FindWidget;
1->^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^
3 > ^^^^^^^^^^^^^
4 > ^
5 > ^^^^^^^^^^^^^^^^^->
1->
2 > FindWidget
3 > implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
4 >
1->Emitted(54, 13) Source(45, 15) + SourceIndex(0) name (Sample.Thing.Widgets)
2 >Emitted(54, 31) Source(45, 25) + SourceIndex(0) name (Sample.Thing.Widgets)
3 >Emitted(54, 44) Source(63, 3) + SourceIndex(0) name (Sample.Thing.Widgets)
4 >Emitted(54, 45) Source(63, 3) + SourceIndex(0) name (Sample.Thing.Widgets)
---
>>> })(Widgets = Thing.Widgets || (Thing.Widgets = {}));
1->^^^^^^^^
2 > ^
3 > ^^
4 > ^^^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^^
9 > ^^^^^^^^
1->
>
2 > }
3 >
4 > Widgets
5 >
6 > Widgets
7 >
8 > Widgets
9 > {
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
> }
1->Emitted(55, 9) Source(64, 1) + SourceIndex(0) name (Sample.Thing.Widgets)
2 >Emitted(55, 10) Source(64, 2) + SourceIndex(0) name (Sample.Thing.Widgets)
3 >Emitted(55, 12) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
4 >Emitted(55, 19) Source(44, 28) + SourceIndex(0) name (Sample.Thing)
5 >Emitted(55, 22) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
6 >Emitted(55, 35) Source(44, 28) + SourceIndex(0) name (Sample.Thing)
7 >Emitted(55, 40) Source(44, 21) + SourceIndex(0) name (Sample.Thing)
8 >Emitted(55, 53) Source(44, 28) + SourceIndex(0) name (Sample.Thing)
9 >Emitted(55, 61) Source(64, 2) + SourceIndex(0) name (Sample.Thing)
---
>>> })(Thing = Sample.Thing || (Sample.Thing = {}));
1 >^^^^
2 > ^
3 > ^^
4 > ^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^
9 > ^^^^^^^^
1 >
2 > }
3 >
4 > Thing
5 >
6 > Thing
7 >
8 > Thing
9 > .Widgets {
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
> }
1 >Emitted(56, 5) Source(64, 1) + SourceIndex(0) name (Sample.Thing)
2 >Emitted(56, 6) Source(64, 2) + SourceIndex(0) name (Sample.Thing)
3 >Emitted(56, 8) Source(44, 15) + SourceIndex(0) name (Sample)
4 >Emitted(56, 13) Source(44, 20) + SourceIndex(0) name (Sample)
5 >Emitted(56, 16) Source(44, 15) + SourceIndex(0) name (Sample)
6 >Emitted(56, 28) Source(44, 20) + SourceIndex(0) name (Sample)
7 >Emitted(56, 33) Source(44, 15) + SourceIndex(0) name (Sample)
8 >Emitted(56, 45) Source(44, 20) + SourceIndex(0) name (Sample)
9 >Emitted(56, 53) Source(64, 2) + SourceIndex(0) name (Sample)
---
>>>})(Sample || (Sample = {}));
1 >
2 >^
3 > ^^
4 > ^^^^^^
5 > ^^^^^
6 > ^^^^^^
7 > ^^^^^^^^
8 > ^^^^^^->
1 >
2 >}
3 >
4 > Sample
5 >
6 > Sample
7 > .Thing.Widgets {
> export class FindWidget implements Sample.Thing.IWidget {
>
> public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
>
> private domNode:any = null;
> constructor(private codeThing: Sample.Thing.ICodeThing) {
> // scenario 1
> codeThing.addWidget("addWidget", this);
> }
>
> public getDomNode() {
> return domNode;
> }
>
> public destroy() {
>
> }
>
> }
> }
1 >Emitted(57, 1) Source(64, 1) + SourceIndex(0) name (Sample)
2 >Emitted(57, 2) Source(64, 2) + SourceIndex(0) name (Sample)
3 >Emitted(57, 4) Source(44, 8) + SourceIndex(0)
4 >Emitted(57, 10) Source(44, 14) + SourceIndex(0)
5 >Emitted(57, 15) Source(44, 8) + SourceIndex(0)
6 >Emitted(57, 21) Source(44, 14) + SourceIndex(0)
7 >Emitted(57, 29) Source(64, 2) + SourceIndex(0)
---
>>>var AbstractMode = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
>interface IMode { getInitialState(): IState;}
>
1->Emitted(58, 1) Source(67, 1) + SourceIndex(0)
---
>>> function AbstractMode() {
1->^^^^
2 > ^^->
1->
1->Emitted(59, 5) Source(67, 1) + SourceIndex(0) name (AbstractMode)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class AbstractMode implements IMode { public getInitialState(): IState { return null;}
2 > }
1->Emitted(60, 5) Source(67, 88) + SourceIndex(0) name (AbstractMode.constructor)
2 >Emitted(60, 6) Source(67, 89) + SourceIndex(0) name (AbstractMode.constructor)
---
>>> AbstractMode.prototype.getInitialState = function () { return null; };
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^^
5 > ^^^^^^
6 > ^
7 > ^^^^
8 > ^
9 > ^
10> ^
1->
2 > getInitialState
3 >
4 > public getInitialState(): IState {
5 > return
6 >
7 > null
8 > ;
9 >
10> }
1->Emitted(61, 5) Source(67, 46) + SourceIndex(0) name (AbstractMode)
2 >Emitted(61, 43) Source(67, 61) + SourceIndex(0) name (AbstractMode)
3 >Emitted(61, 46) Source(67, 39) + SourceIndex(0) name (AbstractMode)
4 >Emitted(61, 60) Source(67, 74) + SourceIndex(0) name (AbstractMode.getInitialState)
5 >Emitted(61, 66) Source(67, 80) + SourceIndex(0) name (AbstractMode.getInitialState)
6 >Emitted(61, 67) Source(67, 81) + SourceIndex(0) name (AbstractMode.getInitialState)
7 >Emitted(61, 71) Source(67, 85) + SourceIndex(0) name (AbstractMode.getInitialState)
8 >Emitted(61, 72) Source(67, 86) + SourceIndex(0) name (AbstractMode.getInitialState)
9 >Emitted(61, 73) Source(67, 86) + SourceIndex(0) name (AbstractMode.getInitialState)
10>Emitted(61, 74) Source(67, 87) + SourceIndex(0) name (AbstractMode.getInitialState)
---
>>> return AbstractMode;
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^
1 >
2 > }
1 >Emitted(62, 5) Source(67, 88) + SourceIndex(0) name (AbstractMode)
2 >Emitted(62, 24) Source(67, 89) + SourceIndex(0) name (AbstractMode)
---
>>>})();
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^->
1 >
2 >}
3 >
4 > class AbstractMode implements IMode { public getInitialState(): IState { return null;} }
1 >Emitted(63, 1) Source(67, 88) + SourceIndex(0) name (AbstractMode)
2 >Emitted(63, 2) Source(67, 89) + SourceIndex(0) name (AbstractMode)
3 >Emitted(63, 2) Source(67, 1) + SourceIndex(0)
4 >Emitted(63, 6) Source(67, 89) + SourceIndex(0)
---
>>>var Sample;
1->
2 >^^^^
3 > ^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1->
>
>interface IState {}
>
>interface Window {
> opener: Window;
>}
>declare var self: Window;
>
>
2 >module
3 > Sample
4 > .Thing.Languages.PlainText {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1->Emitted(64, 1) Source(76, 1) + SourceIndex(0)
2 >Emitted(64, 5) Source(76, 8) + SourceIndex(0)
3 >Emitted(64, 11) Source(76, 14) + SourceIndex(0)
4 >Emitted(64, 12) Source(100, 2) + SourceIndex(0)
---
>>>(function (Sample) {
1->
2 >^^^^^^^^^^^
3 > ^^^^^^
1->
2 >module
3 > Sample
1->Emitted(65, 1) Source(76, 1) + SourceIndex(0)
2 >Emitted(65, 12) Source(76, 8) + SourceIndex(0)
3 >Emitted(65, 18) Source(76, 14) + SourceIndex(0)
---
>>> var Thing;
1 >^^^^
2 > ^^^^
3 > ^^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >.
2 >
3 > Thing
4 > .Languages.PlainText {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1 >Emitted(66, 5) Source(76, 15) + SourceIndex(0) name (Sample)
2 >Emitted(66, 9) Source(76, 15) + SourceIndex(0) name (Sample)
3 >Emitted(66, 14) Source(76, 20) + SourceIndex(0) name (Sample)
4 >Emitted(66, 15) Source(100, 2) + SourceIndex(0) name (Sample)
---
>>> (function (Thing) {
1->^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^
4 > ^^^->
1->
2 >
3 > Thing
1->Emitted(67, 5) Source(76, 15) + SourceIndex(0) name (Sample)
2 >Emitted(67, 16) Source(76, 15) + SourceIndex(0) name (Sample)
3 >Emitted(67, 21) Source(76, 20) + SourceIndex(0) name (Sample)
---
>>> var Languages;
1->^^^^^^^^
2 > ^^^^
3 > ^^^^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1->.
2 >
3 > Languages
4 > .PlainText {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1->Emitted(68, 9) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
2 >Emitted(68, 13) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
3 >Emitted(68, 22) Source(76, 30) + SourceIndex(0) name (Sample.Thing)
4 >Emitted(68, 23) Source(100, 2) + SourceIndex(0) name (Sample.Thing)
---
>>> (function (Languages) {
1->^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^^^
1->
2 >
3 > Languages
1->Emitted(69, 9) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
2 >Emitted(69, 20) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
3 >Emitted(69, 29) Source(76, 30) + SourceIndex(0) name (Sample.Thing)
---
>>> var PlainText;
1 >^^^^^^^^^^^^
2 > ^^^^
3 > ^^^^^^^^^
4 > ^
5 > ^^^^^^^^^^->
1 >.
2 >
3 > PlainText
4 > {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1 >Emitted(70, 13) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
2 >Emitted(70, 17) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
3 >Emitted(70, 26) Source(76, 40) + SourceIndex(0) name (Sample.Thing.Languages)
4 >Emitted(70, 27) Source(100, 2) + SourceIndex(0) name (Sample.Thing.Languages)
---
>>> (function (PlainText) {
1->^^^^^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^^^^^^^
4 > ^^
5 > ^
6 > ^^^^^^^^->
1->
2 >
3 > PlainText
4 >
5 > {
1->Emitted(71, 13) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
2 >Emitted(71, 24) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
3 >Emitted(71, 33) Source(76, 40) + SourceIndex(0) name (Sample.Thing.Languages)
4 >Emitted(71, 35) Source(76, 41) + SourceIndex(0) name (Sample.Thing.Languages)
5 >Emitted(71, 36) Source(76, 42) + SourceIndex(0) name (Sample.Thing.Languages)
---
>>> var State = (function () {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
>
1->Emitted(72, 17) Source(78, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
---
>>> function State(mode) {
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^
3 > ^^^^
4 > ^^^->
1->export class State implements IState {
>
2 > constructor(private
3 > mode: IMode
1->Emitted(73, 21) Source(79, 9) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
2 >Emitted(73, 36) Source(79, 29) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
3 >Emitted(73, 40) Source(79, 40) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
---
>>> this.mode = mode;
1->^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^
3 > ^^^
4 > ^^^^
5 > ^
1->
2 > mode
3 >
4 > mode
5 > : IMode
1->Emitted(74, 25) Source(79, 29) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
2 >Emitted(74, 34) Source(79, 33) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
3 >Emitted(74, 37) Source(79, 29) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
4 >Emitted(74, 41) Source(79, 33) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
5 >Emitted(74, 42) Source(79, 40) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
---
>>> }
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >) {
2 > }
1 >Emitted(75, 21) Source(79, 44) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
2 >Emitted(75, 22) Source(79, 45) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.constructor)
---
>>> State.prototype.clone = function () {
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
1->
> public
2 > clone
3 >
1->Emitted(76, 21) Source(80, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
2 >Emitted(76, 42) Source(80, 15) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
3 >Emitted(76, 45) Source(80, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
---
>>> return this;
1 >^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^
5 > ^
1 >public clone():IState {
>
2 > return
3 >
4 > this
5 > ;
1 >Emitted(77, 25) Source(81, 4) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
2 >Emitted(77, 31) Source(81, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
3 >Emitted(77, 32) Source(81, 11) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
4 >Emitted(77, 36) Source(81, 15) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
5 >Emitted(77, 37) Source(81, 16) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
---
>>> };
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(78, 21) Source(82, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
2 >Emitted(78, 22) Source(82, 4) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.clone)
---
>>> State.prototype.equals = function (other) {
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^
5 > ^^^^^
1->
>
> public
2 > equals
3 >
4 > public equals(
5 > other:IState
1->Emitted(79, 21) Source(84, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
2 >Emitted(79, 43) Source(84, 16) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
3 >Emitted(79, 46) Source(84, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
4 >Emitted(79, 56) Source(84, 17) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
5 >Emitted(79, 61) Source(84, 29) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
---
>>> return this === other;
1 >^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^
5 > ^^^^^
6 > ^^^^^
7 > ^
1 >):boolean {
>
2 > return
3 >
4 > this
5 > ===
6 > other
7 > ;
1 >Emitted(80, 25) Source(85, 4) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
2 >Emitted(80, 31) Source(85, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
3 >Emitted(80, 32) Source(85, 11) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
4 >Emitted(80, 36) Source(85, 15) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
5 >Emitted(80, 41) Source(85, 20) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
6 >Emitted(80, 46) Source(85, 25) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
7 >Emitted(80, 47) Source(85, 26) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
---
>>> };
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(81, 21) Source(86, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
2 >Emitted(81, 22) Source(86, 4) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.equals)
---
>>> State.prototype.getMode = function () { return mode; };
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^^
5 > ^^^^^^
6 > ^
7 > ^^^^
8 > ^
9 > ^
10> ^
1->
>
> public
2 > getMode
3 >
4 > public getMode(): IMode {
5 > return
6 >
7 > mode
8 > ;
9 >
10> }
1->Emitted(82, 21) Source(88, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
2 >Emitted(82, 44) Source(88, 17) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
3 >Emitted(82, 47) Source(88, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
4 >Emitted(82, 61) Source(88, 29) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
5 >Emitted(82, 67) Source(88, 35) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
6 >Emitted(82, 68) Source(88, 36) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
7 >Emitted(82, 72) Source(88, 40) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
8 >Emitted(82, 73) Source(88, 41) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
9 >Emitted(82, 74) Source(88, 42) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
10>Emitted(82, 75) Source(88, 43) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State.getMode)
---
>>> return State;
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^
1 >
>
2 > }
1 >Emitted(83, 21) Source(89, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
2 >Emitted(83, 33) Source(89, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
---
>>> })();
1 >^^^^^^^^^^^^^^^^
2 > ^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^->
1 >
2 > }
3 >
4 > export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
1 >Emitted(84, 17) Source(89, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
2 >Emitted(84, 18) Source(89, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.State)
3 >Emitted(84, 18) Source(78, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
4 >Emitted(84, 22) Source(89, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
---
>>> PlainText.State = State;
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^
3 > ^^^^^^^^
4 > ^
5 > ^^^^^^^^->
1->
2 > State
3 > implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
4 >
1->Emitted(85, 17) Source(78, 15) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
2 >Emitted(85, 32) Source(78, 20) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
3 >Emitted(85, 40) Source(89, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
4 >Emitted(85, 41) Source(89, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
---
>>> var Mode = (function (_super) {
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
>
1->Emitted(86, 17) Source(91, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
---
>>> __extends(Mode, _super);
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^
1->export class Mode extends
2 > AbstractMode
1->Emitted(87, 21) Source(91, 28) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
2 >Emitted(87, 45) Source(91, 40) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
---
>>> function Mode() {
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
1 >Emitted(88, 21) Source(91, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
---
>>> _super.apply(this, arguments);
1->^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1->export class Mode extends
2 > AbstractMode
1->Emitted(89, 25) Source(91, 28) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.constructor)
2 >Emitted(89, 55) Source(91, 40) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.constructor)
---
>>> }
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^^->
1 > {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
>
2 > }
1 >Emitted(90, 21) Source(99, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.constructor)
2 >Emitted(90, 22) Source(99, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.constructor)
---
>>> // scenario 2
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
2 > // scenario 2
1->Emitted(91, 21) Source(93, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
2 >Emitted(91, 34) Source(93, 16) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
---
>>> Mode.prototype.getInitialState = function () {
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
1->
> public
2 > getInitialState
3 >
1->Emitted(92, 21) Source(94, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
2 >Emitted(92, 51) Source(94, 25) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
3 >Emitted(92, 54) Source(94, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
---
>>> return new State(self);
1 >^^^^^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^
5 > ^^^^^
6 > ^
7 > ^^^^
8 > ^
9 > ^
1 >public getInitialState(): IState {
>
2 > return
3 >
4 > new
5 > State
6 > (
7 > self
8 > )
9 > ;
1 >Emitted(93, 25) Source(95, 4) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
2 >Emitted(93, 31) Source(95, 10) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
3 >Emitted(93, 32) Source(95, 11) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
4 >Emitted(93, 36) Source(95, 15) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
5 >Emitted(93, 41) Source(95, 20) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
6 >Emitted(93, 42) Source(95, 21) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
7 >Emitted(93, 46) Source(95, 25) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
8 >Emitted(93, 47) Source(95, 26) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
9 >Emitted(93, 48) Source(95, 27) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
---
>>> };
1 >^^^^^^^^^^^^^^^^^^^^
2 > ^
3 > ^^^^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(94, 21) Source(96, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
2 >Emitted(94, 22) Source(96, 4) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode.getInitialState)
---
>>> return Mode;
1->^^^^^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^
3 > ^^^->
1->
>
>
>
2 > }
1->Emitted(95, 21) Source(99, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
2 >Emitted(95, 32) Source(99, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
---
>>> })(AbstractMode);
1->^^^^^^^^^^^^^^^^
2 > ^
3 >
4 > ^^
5 > ^^^^^^^^^^^^
6 > ^^
7 > ^^^^^^->
1->
2 > }
3 >
4 > export class Mode extends
5 > AbstractMode
6 > {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
1->Emitted(96, 17) Source(99, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
2 >Emitted(96, 18) Source(99, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText.Mode)
3 >Emitted(96, 18) Source(91, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
4 >Emitted(96, 20) Source(91, 28) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
5 >Emitted(96, 32) Source(91, 40) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
6 >Emitted(96, 34) Source(99, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
---
>>> PlainText.Mode = Mode;
1->^^^^^^^^^^^^^^^^
2 > ^^^^^^^^^^^^^^
3 > ^^^^^^^
4 > ^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
2 > Mode
3 > extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
4 >
1->Emitted(97, 17) Source(91, 15) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
2 >Emitted(97, 31) Source(91, 19) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
3 >Emitted(97, 38) Source(99, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
4 >Emitted(97, 39) Source(99, 3) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
---
>>> })(PlainText = Languages.PlainText || (Languages.PlainText = {}));
1->^^^^^^^^^^^^
2 > ^
3 > ^^
4 > ^^^^^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^^^^^^^^
9 > ^^^^^^^^
1->
>
2 > }
3 >
4 > PlainText
5 >
6 > PlainText
7 >
8 > PlainText
9 > {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1->Emitted(98, 13) Source(100, 1) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
2 >Emitted(98, 14) Source(100, 2) + SourceIndex(0) name (Sample.Thing.Languages.PlainText)
3 >Emitted(98, 16) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
4 >Emitted(98, 25) Source(76, 40) + SourceIndex(0) name (Sample.Thing.Languages)
5 >Emitted(98, 28) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
6 >Emitted(98, 47) Source(76, 40) + SourceIndex(0) name (Sample.Thing.Languages)
7 >Emitted(98, 52) Source(76, 31) + SourceIndex(0) name (Sample.Thing.Languages)
8 >Emitted(98, 71) Source(76, 40) + SourceIndex(0) name (Sample.Thing.Languages)
9 >Emitted(98, 79) Source(100, 2) + SourceIndex(0) name (Sample.Thing.Languages)
---
>>> })(Languages = Thing.Languages || (Thing.Languages = {}));
1 >^^^^^^^^
2 > ^
3 > ^^
4 > ^^^^^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^^^^
9 > ^^^^^^^^
1 >
2 > }
3 >
4 > Languages
5 >
6 > Languages
7 >
8 > Languages
9 > .PlainText {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1 >Emitted(99, 9) Source(100, 1) + SourceIndex(0) name (Sample.Thing.Languages)
2 >Emitted(99, 10) Source(100, 2) + SourceIndex(0) name (Sample.Thing.Languages)
3 >Emitted(99, 12) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
4 >Emitted(99, 21) Source(76, 30) + SourceIndex(0) name (Sample.Thing)
5 >Emitted(99, 24) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
6 >Emitted(99, 39) Source(76, 30) + SourceIndex(0) name (Sample.Thing)
7 >Emitted(99, 44) Source(76, 21) + SourceIndex(0) name (Sample.Thing)
8 >Emitted(99, 59) Source(76, 30) + SourceIndex(0) name (Sample.Thing)
9 >Emitted(99, 67) Source(100, 2) + SourceIndex(0) name (Sample.Thing)
---
>>> })(Thing = Sample.Thing || (Sample.Thing = {}));
1 >^^^^
2 > ^
3 > ^^
4 > ^^^^^
5 > ^^^
6 > ^^^^^^^^^^^^
7 > ^^^^^
8 > ^^^^^^^^^^^^
9 > ^^^^^^^^
1 >
2 > }
3 >
4 > Thing
5 >
6 > Thing
7 >
8 > Thing
9 > .Languages.PlainText {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1 >Emitted(100, 5) Source(100, 1) + SourceIndex(0) name (Sample.Thing)
2 >Emitted(100, 6) Source(100, 2) + SourceIndex(0) name (Sample.Thing)
3 >Emitted(100, 8) Source(76, 15) + SourceIndex(0) name (Sample)
4 >Emitted(100, 13) Source(76, 20) + SourceIndex(0) name (Sample)
5 >Emitted(100, 16) Source(76, 15) + SourceIndex(0) name (Sample)
6 >Emitted(100, 28) Source(76, 20) + SourceIndex(0) name (Sample)
7 >Emitted(100, 33) Source(76, 15) + SourceIndex(0) name (Sample)
8 >Emitted(100, 45) Source(76, 20) + SourceIndex(0) name (Sample)
9 >Emitted(100, 53) Source(100, 2) + SourceIndex(0) name (Sample)
---
>>>})(Sample || (Sample = {}));
1 >
2 >^
3 > ^^
4 > ^^^^^^
5 > ^^^^^
6 > ^^^^^^
7 > ^^^^^^^^
8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > Sample
5 >
6 > Sample
7 > .Thing.Languages.PlainText {
>
> export class State implements IState {
> constructor(private mode: IMode) { }
> public clone():IState {
> return this;
> }
>
> public equals(other:IState):boolean {
> return this === other;
> }
>
> public getMode(): IMode { return mode; }
> }
>
> export class Mode extends AbstractMode {
>
> // scenario 2
> public getInitialState(): IState {
> return new State(self);
> }
>
>
> }
> }
1 >Emitted(101, 1) Source(100, 1) + SourceIndex(0) name (Sample)
2 >Emitted(101, 2) Source(100, 2) + SourceIndex(0) name (Sample)
3 >Emitted(101, 4) Source(76, 8) + SourceIndex(0)
4 >Emitted(101, 10) Source(76, 14) + SourceIndex(0)
5 >Emitted(101, 15) Source(76, 8) + SourceIndex(0)
6 >Emitted(101, 21) Source(76, 14) + SourceIndex(0)
7 >Emitted(101, 29) Source(100, 2) + SourceIndex(0)
---
>>>//# sourceMappingURL=recursiveClassReferenceTest.js.map