From fa890651f43a0a94e6f29d215aa2b834964c8890 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 9 May 2019 15:33:26 +0100 Subject: [PATCH] Updated TS parser --- scripts/tsgen/bin/Parser.js | 6 ++---- scripts/tsgen/bin/Parser.js.map | 2 +- scripts/tsgen/jsdoc-tsd.conf.json | 2 +- scripts/tsgen/src/Parser.ts | 3 ++- scripts/tsgen/test/bin/game.js | 27 --------------------------- scripts/tsgen/test/bin/game.js.map | 2 +- scripts/tsgen/test/tsconfig.json | 9 +++++++-- 7 files changed, 14 insertions(+), 37 deletions(-) diff --git a/scripts/tsgen/bin/Parser.js b/scripts/tsgen/bin/Parser.js index 0fdba1fa5..aa5802db1 100644 --- a/scripts/tsgen/bin/Parser.js +++ b/scripts/tsgen/bin/Parser.js @@ -69,10 +69,9 @@ class Parser { case 'Phaser.GameObjects.Components.GetBounds': case 'Phaser.GameObjects.Components.Mask': case 'Phaser.GameObjects.Components.Origin': + case 'Phaser.GameObjects.Components.PathFollower': case 'Phaser.GameObjects.Components.Pipeline': - case 'Phaser.GameObjects.Components.ScaleMode': case 'Phaser.GameObjects.Components.ScrollFactor': - case 'Phaser.GameObjects.Components.ScaleFactor': case 'Phaser.GameObjects.Components.Size': case 'Phaser.GameObjects.Components.Texture': case 'Phaser.GameObjects.Components.TextureCrop': @@ -80,11 +79,10 @@ class Parser { case 'Phaser.GameObjects.Components.ToJSON': case 'Phaser.GameObjects.Components.Transform': case 'Phaser.GameObjects.Components.Visible': + case 'Phaser.Renderer.WebGL.Pipelines.ModelViewProjection': doclet.kind = 'mixin'; break; } - if (doclet.longname == 'ModelViewProjection') - doclet.kind = 'mixin'; if ((doclet.longname.indexOf('Phaser.Physics.Arcade.Components.') == 0 || doclet.longname.indexOf('Phaser.Physics.Impact.Components.') == 0 || doclet.longname.indexOf('Phaser.Physics.Matter.Components.') == 0) diff --git a/scripts/tsgen/bin/Parser.js.map b/scripts/tsgen/bin/Parser.js.map index d9a3dfc87..15aae5a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,CAAC,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAC;iBACrF;aACJ;QACL,CAAC;IACL,CAAC;CAEJ;AA1kBD,wBA0kBC"} \ No newline at end of file diff --git a/scripts/tsgen/jsdoc-tsd.conf.json b/scripts/tsgen/jsdoc-tsd.conf.json index 1f3dcb6c3..bdc27ac3c 100644 --- a/scripts/tsgen/jsdoc-tsd.conf.json +++ b/scripts/tsgen/jsdoc-tsd.conf.json @@ -5,7 +5,7 @@ "source": { "include": [ "../../src/", - "../../plugins/fbinstant" + "../../plugins/fbinstant/src" ], "exclude": [ "../../src/phaser-arcade-physics.js", diff --git a/scripts/tsgen/src/Parser.ts b/scripts/tsgen/src/Parser.ts index 7cb3b2e74..d3c17fce1 100644 --- a/scripts/tsgen/src/Parser.ts +++ b/scripts/tsgen/src/Parser.ts @@ -100,10 +100,11 @@ export class Parser { case 'Phaser.GameObjects.Components.ToJSON': case 'Phaser.GameObjects.Components.Transform': case 'Phaser.GameObjects.Components.Visible': + case 'Phaser.Renderer.WebGL.Pipelines.ModelViewProjection': doclet.kind = 'mixin'; break; } - if (doclet.longname == 'ModelViewProjection') doclet.kind = 'mixin'; + if ((doclet.longname.indexOf('Phaser.Physics.Arcade.Components.') == 0 || doclet.longname.indexOf('Phaser.Physics.Impact.Components.') == 0 || doclet.longname.indexOf('Phaser.Physics.Matter.Components.') == 0) diff --git a/scripts/tsgen/test/bin/game.js b/scripts/tsgen/test/bin/game.js index 6265f3383..d390af097 100644 --- a/scripts/tsgen/test/bin/game.js +++ b/scripts/tsgen/test/bin/game.js @@ -36,31 +36,4 @@ var config = { scene: MyScene }; var game = new Phaser.Game(config); -var scene = new Phaser.Scene(""); -var blitter = new Phaser.GameObjects.Blitter(scene, 10, 10); -var conf = { - type: Phaser.AUTO, - width: 100, - height: 100, - zoom: 1, - resolution: 1 -}; -var tex = null; -tex.source[0].setFilter(Phaser.Textures.FilterMode.LINEAR); -tex.setFilter(Phaser.Textures.FilterMode.LINEAR); -tex.setFilter(Phaser.Textures.NEAREST); -var sprite = new Phaser.GameObjects.Sprite(scene, 0, 0, "test"); -var MyVec = /** @class */ (function (_super) { - __extends(MyVec, _super); - function MyVec() { - return _super !== null && _super.apply(this, arguments) || this; - } - MyVec.prototype.extra = function () { - }; - return MyVec; -}(Phaser.Geom.Rectangle)); -var p = new MyVec(); -sprite.getBounds(p).extra(); -var container = scene.add.container(0, 0); -container.getWorldTransformMatrix(); //# sourceMappingURL=game.js.map \ No newline at end of file diff --git a/scripts/tsgen/test/bin/game.js.map b/scripts/tsgen/test/bin/game.js.map index 7e3147e16..5a1d5b9ec 100644 --- a/scripts/tsgen/test/bin/game.js.map +++ b/scripts/tsgen/test/bin/game.js.map @@ -1 +1 @@ -{"version":3,"file":"game.js","sourceRoot":"","sources":["../src/game.ts","../src/game2.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;IAAsB,2BAAY;IAAlC;;IAoBA,CAAC;IAlBU,yBAAO,GAAd;QAEI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,CAAC,CAAC;IAClF,CAAC;IAEM,wBAAM,GAAb;QAEI,IAAI,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QAE1D,MAAM,CAAC,cAAc,EAAE,CAAC;QAExB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,aAAa,EAAE;YAEzB,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE/B,CAAC,CAAC,CAAC;IACP,CAAC;IAEL,cAAC;AAAD,CAAC,AApBD,CAAsB,MAAM,CAAC,KAAK,GAoBjC;AAED,IAAI,MAAM,GAAG;IACT,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,MAAM,EAAE,gBAAgB;IACxB,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,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AE,CAAC,CAAC,CAAC;AAC1C,SAAS,CAAC,uBAAuB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"game.js","sourceRoot":"","sources":["../src/game.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;IAAsB,2BAAY;IAAlC;;IAoBA,CAAC;IAlBU,yBAAO,GAAd;QAEI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,CAAC,CAAC;IAClF,CAAC;IAEM,wBAAM,GAAb;QAEI,IAAI,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QAE1D,MAAM,CAAC,cAAc,EAAE,CAAC;QAExB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,aAAa,EAAE;YAEzB,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE/B,CAAC,CAAC,CAAC;IACP,CAAC;IAEL,cAAC;AAAD,CAAC,AApBD,CAAsB,MAAM,CAAC,KAAK,GAoBjC;AAED,IAAI,MAAM,GAAG;IACT,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,MAAM,EAAE,gBAAgB;IACxB,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,IAAI,IAAI,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC"} \ No newline at end of file diff --git a/scripts/tsgen/test/tsconfig.json b/scripts/tsgen/test/tsconfig.json index 4653fd0ea..c25dbe8bd 100644 --- a/scripts/tsgen/test/tsconfig.json +++ b/scripts/tsgen/test/tsconfig.json @@ -7,10 +7,15 @@ "noImplicitReturns": true, "preserveConstEnums": true, "outFile": "./bin/game.js", - "sourceMap": true + "sourceMap": true, + "lib": [ + "dom", + "scripthost", + "es5" + ] }, "include": [ - "src/*", + "src/game.ts", "../../../types/phaser.d.ts" ], "exclude": [