summaryrefslogtreecommitdiff
path: root/tests/my-game/example/any-ambiguous-aliases.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/my-game/example/any-ambiguous-aliases.js')
-rw-r--r--tests/my-game/example/any-ambiguous-aliases.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/my-game/example/any-ambiguous-aliases.js b/tests/my-game/example/any-ambiguous-aliases.js
deleted file mode 100644
index 7cd2a85b..00000000
--- a/tests/my-game/example/any-ambiguous-aliases.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// automatically generated by the FlatBuffers compiler, do not modify
-import { Monster } from '../../my-game/example/monster';
-export var AnyAmbiguousAliases;
-(function (AnyAmbiguousAliases) {
- AnyAmbiguousAliases[AnyAmbiguousAliases["NONE"] = 0] = "NONE";
- AnyAmbiguousAliases[AnyAmbiguousAliases["M1"] = 1] = "M1";
- AnyAmbiguousAliases[AnyAmbiguousAliases["M2"] = 2] = "M2";
- AnyAmbiguousAliases[AnyAmbiguousAliases["M3"] = 3] = "M3";
-})(AnyAmbiguousAliases || (AnyAmbiguousAliases = {}));
-export function unionToAnyAmbiguousAliases(type, accessor) {
- switch (AnyAmbiguousAliases[type]) {
- case 'NONE': return null;
- case 'M1': return accessor(new Monster());
- case 'M2': return accessor(new Monster());
- case 'M3': return accessor(new Monster());
- default: return null;
- }
-}
-export function unionListToAnyAmbiguousAliases(type, accessor, index) {
- switch (AnyAmbiguousAliases[type]) {
- case 'NONE': return null;
- case 'M1': return accessor(index, new Monster());
- case 'M2': return accessor(index, new Monster());
- case 'M3': return accessor(index, new Monster());
- default: return null;
- }
-}