tzo 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/README.md +284 -280
  2. package/bin/package.json +2 -2
  3. package/bin/tzo +3 -3
  4. package/bin/tzo.mjs +3 -3
  5. package/dist/browser/cli.d.ts +1 -1
  6. package/dist/browser/cli.js +34 -34
  7. package/dist/browser/cli.js.map +1 -1
  8. package/dist/browser/concisetext/ConciseTextLexer.d.ts +30 -30
  9. package/dist/browser/concisetext/ConciseTextLexer.js +122 -122
  10. package/dist/browser/concisetext/ConciseTextListener.d.ts +14 -14
  11. package/dist/browser/concisetext/ConciseTextListener.js +35 -35
  12. package/dist/browser/concisetext/ConciseTextParser.d.ts +99 -99
  13. package/dist/browser/concisetext/ConciseTextParser.js +438 -438
  14. package/dist/browser/getStackParams.d.ts +2 -2
  15. package/dist/browser/getStackParams.js +23 -23
  16. package/dist/browser/index.d.ts +5 -5
  17. package/dist/browser/index.js +17 -17
  18. package/dist/browser/interfaces.d.ts +42 -42
  19. package/dist/browser/interfaces.js +2 -2
  20. package/dist/browser/opcodes/and.d.ts +3 -3
  21. package/dist/browser/opcodes/and.js +8 -8
  22. package/dist/browser/opcodes/charCode.d.ts +3 -3
  23. package/dist/browser/opcodes/charCode.js +9 -9
  24. package/dist/browser/opcodes/closeBrace.d.ts +3 -3
  25. package/dist/browser/opcodes/closeBrace.js +6 -6
  26. package/dist/browser/opcodes/closeBrace.js.map +1 -1
  27. package/dist/browser/opcodes/concat.d.ts +3 -3
  28. package/dist/browser/opcodes/concat.js +8 -8
  29. package/dist/browser/opcodes/delContext.d.ts +3 -3
  30. package/dist/browser/opcodes/delContext.js +8 -8
  31. package/dist/browser/opcodes/dup.d.ts +6 -6
  32. package/dist/browser/opcodes/dup.js +12 -12
  33. package/dist/browser/opcodes/eq.d.ts +3 -3
  34. package/dist/browser/opcodes/eq.js +9 -9
  35. package/dist/browser/opcodes/exit.d.ts +3 -3
  36. package/dist/browser/opcodes/exit.js +6 -6
  37. package/dist/browser/opcodes/getContext.d.ts +3 -3
  38. package/dist/browser/opcodes/getContext.js +12 -12
  39. package/dist/browser/opcodes/goto.d.ts +3 -3
  40. package/dist/browser/opcodes/goto.js +19 -19
  41. package/dist/browser/opcodes/gt.d.ts +3 -3
  42. package/dist/browser/opcodes/gt.js +9 -9
  43. package/dist/browser/opcodes/hasContext.d.ts +3 -3
  44. package/dist/browser/opcodes/hasContext.js +13 -13
  45. package/dist/browser/opcodes/jgz.d.ts +3 -3
  46. package/dist/browser/opcodes/jgz.js +10 -10
  47. package/dist/browser/opcodes/jz.d.ts +3 -3
  48. package/dist/browser/opcodes/jz.js +10 -10
  49. package/dist/browser/opcodes/lt.d.ts +3 -3
  50. package/dist/browser/opcodes/lt.js +9 -9
  51. package/dist/browser/opcodes/min.d.ts +3 -3
  52. package/dist/browser/opcodes/min.js +10 -10
  53. package/dist/browser/opcodes/mul.d.ts +3 -3
  54. package/dist/browser/opcodes/mul.js +10 -10
  55. package/dist/browser/opcodes/nop.d.ts +6 -6
  56. package/dist/browser/opcodes/nop.js +9 -9
  57. package/dist/browser/opcodes/not.d.ts +6 -6
  58. package/dist/browser/opcodes/not.js +16 -16
  59. package/dist/browser/opcodes/openBrace.d.ts +3 -3
  60. package/dist/browser/opcodes/openBrace.js +20 -20
  61. package/dist/browser/opcodes/openBrace.js.map +1 -1
  62. package/dist/browser/opcodes/or.d.ts +3 -3
  63. package/dist/browser/opcodes/or.js +8 -8
  64. package/dist/browser/opcodes/pause.d.ts +3 -3
  65. package/dist/browser/opcodes/pause.js +6 -6
  66. package/dist/browser/opcodes/plus.d.ts +3 -3
  67. package/dist/browser/opcodes/plus.js +10 -10
  68. package/dist/browser/opcodes/pop.d.ts +3 -3
  69. package/dist/browser/opcodes/pop.js +6 -6
  70. package/dist/browser/opcodes/ppc.d.ts +6 -6
  71. package/dist/browser/opcodes/ppc.js +9 -9
  72. package/dist/browser/opcodes/randInt.d.ts +3 -3
  73. package/dist/browser/opcodes/randInt.js +9 -9
  74. package/dist/browser/opcodes/rconcat.d.ts +3 -3
  75. package/dist/browser/opcodes/rconcat.js +8 -8
  76. package/dist/browser/opcodes/setContext.d.ts +3 -3
  77. package/dist/browser/opcodes/setContext.js +8 -8
  78. package/dist/browser/opcodes/stacksize.d.ts +3 -3
  79. package/dist/browser/opcodes/stacksize.js +6 -6
  80. package/dist/browser/opcodes/stdout.d.ts +3 -3
  81. package/dist/browser/opcodes/stdout.js +6 -6
  82. package/dist/browser/util/builder.d.ts +12 -12
  83. package/dist/browser/util/builder.js +37 -37
  84. package/dist/browser/util/fix_antlr_grammar_ts.d.ts +1 -1
  85. package/dist/browser/util/fix_antlr_grammar_ts.js +7 -7
  86. package/dist/browser/util/tokenizer.d.ts +20 -20
  87. package/dist/browser/util/tokenizer.js +176 -176
  88. package/dist/browser/util/tokenizer.js.map +1 -1
  89. package/dist/browser/vm.d.ts +26 -26
  90. package/dist/browser/vm.js +201 -201
  91. package/dist/browser/vm.test.d.ts +1 -1
  92. package/dist/browser/vm.test.js +398 -355
  93. package/dist/browser/vm.test.js.map +1 -1
  94. package/dist/node/cli.d.ts +1 -1
  95. package/dist/node/cli.js +34 -34
  96. package/dist/node/cli.js.map +1 -1
  97. package/dist/node/concisetext/ConciseTextLexer.d.ts +30 -30
  98. package/dist/node/concisetext/ConciseTextLexer.js +122 -122
  99. package/dist/node/concisetext/ConciseTextListener.d.ts +14 -14
  100. package/dist/node/concisetext/ConciseTextListener.js +35 -35
  101. package/dist/node/concisetext/ConciseTextParser.d.ts +99 -99
  102. package/dist/node/concisetext/ConciseTextParser.js +438 -438
  103. package/dist/node/getStackParams.d.ts +2 -2
  104. package/dist/node/getStackParams.js +23 -23
  105. package/dist/node/index.d.ts +5 -5
  106. package/dist/node/index.js +17 -17
  107. package/dist/node/interfaces.d.ts +42 -42
  108. package/dist/node/interfaces.js +2 -2
  109. package/dist/node/opcodes/and.d.ts +3 -3
  110. package/dist/node/opcodes/and.js +8 -8
  111. package/dist/node/opcodes/charCode.d.ts +3 -3
  112. package/dist/node/opcodes/charCode.js +9 -9
  113. package/dist/node/opcodes/closeBrace.d.ts +3 -3
  114. package/dist/node/opcodes/closeBrace.js +6 -6
  115. package/dist/node/opcodes/closeBrace.js.map +1 -1
  116. package/dist/node/opcodes/concat.d.ts +3 -3
  117. package/dist/node/opcodes/concat.js +8 -8
  118. package/dist/node/opcodes/delContext.d.ts +3 -3
  119. package/dist/node/opcodes/delContext.js +8 -8
  120. package/dist/node/opcodes/dup.d.ts +6 -6
  121. package/dist/node/opcodes/dup.js +12 -12
  122. package/dist/node/opcodes/eq.d.ts +3 -3
  123. package/dist/node/opcodes/eq.js +9 -9
  124. package/dist/node/opcodes/exit.d.ts +3 -3
  125. package/dist/node/opcodes/exit.js +6 -6
  126. package/dist/node/opcodes/getContext.d.ts +3 -3
  127. package/dist/node/opcodes/getContext.js +12 -12
  128. package/dist/node/opcodes/goto.d.ts +3 -3
  129. package/dist/node/opcodes/goto.js +19 -19
  130. package/dist/node/opcodes/gt.d.ts +3 -3
  131. package/dist/node/opcodes/gt.js +9 -9
  132. package/dist/node/opcodes/hasContext.d.ts +3 -3
  133. package/dist/node/opcodes/hasContext.js +13 -13
  134. package/dist/node/opcodes/jgz.d.ts +3 -3
  135. package/dist/node/opcodes/jgz.js +10 -10
  136. package/dist/node/opcodes/jz.d.ts +3 -3
  137. package/dist/node/opcodes/jz.js +10 -10
  138. package/dist/node/opcodes/lt.d.ts +3 -3
  139. package/dist/node/opcodes/lt.js +9 -9
  140. package/dist/node/opcodes/min.d.ts +3 -3
  141. package/dist/node/opcodes/min.js +10 -10
  142. package/dist/node/opcodes/mul.d.ts +3 -3
  143. package/dist/node/opcodes/mul.js +10 -10
  144. package/dist/node/opcodes/nop.d.ts +6 -6
  145. package/dist/node/opcodes/nop.js +9 -9
  146. package/dist/node/opcodes/not.d.ts +6 -6
  147. package/dist/node/opcodes/not.js +16 -16
  148. package/dist/node/opcodes/openBrace.d.ts +3 -3
  149. package/dist/node/opcodes/openBrace.js +20 -20
  150. package/dist/node/opcodes/openBrace.js.map +1 -1
  151. package/dist/node/opcodes/or.d.ts +3 -3
  152. package/dist/node/opcodes/or.js +8 -8
  153. package/dist/node/opcodes/pause.d.ts +3 -3
  154. package/dist/node/opcodes/pause.js +6 -6
  155. package/dist/node/opcodes/plus.d.ts +3 -3
  156. package/dist/node/opcodes/plus.js +10 -10
  157. package/dist/node/opcodes/pop.d.ts +3 -3
  158. package/dist/node/opcodes/pop.js +6 -6
  159. package/dist/node/opcodes/ppc.d.ts +6 -6
  160. package/dist/node/opcodes/ppc.js +9 -9
  161. package/dist/node/opcodes/randInt.d.ts +3 -3
  162. package/dist/node/opcodes/randInt.js +9 -9
  163. package/dist/node/opcodes/rconcat.d.ts +3 -3
  164. package/dist/node/opcodes/rconcat.js +8 -8
  165. package/dist/node/opcodes/setContext.d.ts +3 -3
  166. package/dist/node/opcodes/setContext.js +8 -8
  167. package/dist/node/opcodes/stacksize.d.ts +3 -3
  168. package/dist/node/opcodes/stacksize.js +6 -6
  169. package/dist/node/opcodes/stdout.d.ts +3 -3
  170. package/dist/node/opcodes/stdout.js +6 -6
  171. package/dist/node/util/builder.d.ts +12 -12
  172. package/dist/node/util/builder.js +37 -37
  173. package/dist/node/util/fix_antlr_grammar_ts.d.ts +1 -1
  174. package/dist/node/util/fix_antlr_grammar_ts.js +7 -7
  175. package/dist/node/util/tokenizer.d.ts +20 -20
  176. package/dist/node/util/tokenizer.js +176 -176
  177. package/dist/node/util/tokenizer.js.map +1 -1
  178. package/dist/node/vm.d.ts +26 -26
  179. package/dist/node/vm.js +201 -201
  180. package/dist/node/vm.test.d.ts +1 -1
  181. package/dist/node/vm.test.js +398 -355
  182. package/dist/node/vm.test.js.map +1 -1
  183. package/jest.config.js +4 -4
  184. package/package.json +50 -50
  185. package/tsconfig-browser.json +8 -8
  186. package/tsconfig.json +28 -28
package/bin/package.json CHANGED
@@ -1,3 +1,3 @@
1
- {
2
- "type": "module"
1
+ {
2
+ "type": "module"
3
3
  }
package/bin/tzo CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/env node
2
-
3
- import '../dist/mjs/cli.js';
1
+ #!/usr/bin/env node
2
+
3
+ import '../dist/mjs/cli.js';
package/bin/tzo.mjs CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/env node
2
-
3
- import '../dist/mjs/cli.js';
1
+ #!/usr/bin/env node
2
+
3
+ import '../dist/mjs/cli.js';
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,35 +1,35 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const fs_1 = __importDefault(require("fs"));
7
- const commander_1 = __importDefault(require("commander"));
8
- const vm_1 = require("./vm");
9
- const tokenizer_1 = require("./util/tokenizer");
10
- commander_1.default
11
- .version('1.0.8')
12
- .requiredOption('--input, -i <path>', "Path to Tzo VMState .json or Tzo ConciseText .txt/.tzoct file")
13
- .parse(process.argv);
14
- let input = [];
15
- let vmState = {
16
- context: {},
17
- exit: false,
18
- pause: false,
19
- programCounter: 0,
20
- labelMap: {},
21
- programList: [],
22
- stack: []
23
- };
24
- if (commander_1.default.I && commander_1.default.I.endsWith(".json")) {
25
- vmState = JSON.parse(fs_1.default.readFileSync(commander_1.default.I).toString());
26
- }
27
- if (commander_1.default.I && (commander_1.default.I.endsWith(".txt") || commander_1.default.I.endsWith(".tzoct"))) {
28
- const input_file = fs_1.default.readFileSync(commander_1.default.I).toString();
29
- const tokenizer = new tokenizer_1.Tokenizer();
30
- vmState.programList = tokenizer.parse(input_file);
31
- }
32
- const vm = new vm_1.VM({});
33
- vm.loadVMState(vmState);
34
- vm.run();
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const commander_1 = __importDefault(require("commander"));
8
+ const vm_1 = require("./vm");
9
+ const tokenizer_1 = require("./util/tokenizer");
10
+ commander_1.default
11
+ .version('1.0.19')
12
+ .requiredOption('--input, -i <path>', "Path to Tzo VMState .json or Tzo ConciseText .txt/.tzoct file")
13
+ .parse(process.argv);
14
+ let input = [];
15
+ let vmState = {
16
+ context: {},
17
+ exit: false,
18
+ pause: false,
19
+ programCounter: 0,
20
+ labelMap: {},
21
+ programList: [],
22
+ stack: []
23
+ };
24
+ if (commander_1.default.I && commander_1.default.I.endsWith(".json")) {
25
+ vmState = JSON.parse(fs_1.default.readFileSync(commander_1.default.I).toString());
26
+ }
27
+ if (commander_1.default.I && (commander_1.default.I.endsWith(".txt") || commander_1.default.I.endsWith(".tzoct"))) {
28
+ const input_file = fs_1.default.readFileSync(commander_1.default.I).toString();
29
+ const tokenizer = new tokenizer_1.Tokenizer();
30
+ vmState.programList = tokenizer.parse(input_file);
31
+ }
32
+ const vm = new vm_1.VM({});
33
+ vm.loadVMState(vmState);
34
+ vm.run();
35
35
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";;;;;AAAA,4CAAoB;AACpB,0DAAgC;AAChC,6BAA0B;AAC1B,gDAA6C;AAG7C,mBAAO;KACJ,OAAO,CAAC,OAAO,CAAC;KAChB,cAAc,CAAC,oBAAoB,EAAE,+DAA+D,CAAC;KACrG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAEvB,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,IAAI,OAAO,GAAe;IACxB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,KAAK;IACZ,cAAc,EAAE,CAAC;IACjB,QAAQ,EAAE,EAAE;IACZ,WAAW,EAAE,EAAE;IACf,KAAK,EAAE,EAAE;CACV,CAAC;AACF,IAAI,mBAAO,CAAC,CAAC,IAAI,mBAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;IAC5C,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,YAAE,CAAC,YAAY,CAAC,mBAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;CAC7D;AACD,IAAI,mBAAO,CAAC,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,mBAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE;IAC7E,MAAM,UAAU,GAAG,YAAE,CAAC,YAAY,CAAC,mBAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;IACzD,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;IAClC,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;CACnD;AAED,MAAM,EAAE,GAAG,IAAI,OAAE,CAAC,EAAE,CAAC,CAAC;AACtB,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AACxB,EAAE,CAAC,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";;;;;AAAA,4CAAoB;AACpB,0DAAgC;AAChC,6BAA0B;AAC1B,gDAA6C;AAG7C,mBAAO;KACJ,OAAO,CAAC,QAAQ,CAAC;KACjB,cAAc,CAAC,oBAAoB,EAAE,+DAA+D,CAAC;KACrG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAEvB,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,IAAI,OAAO,GAAe;IACxB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,KAAK;IACZ,cAAc,EAAE,CAAC;IACjB,QAAQ,EAAE,EAAE;IACZ,WAAW,EAAE,EAAE;IACf,KAAK,EAAE,EAAE;CACV,CAAC;AACF,IAAI,mBAAO,CAAC,CAAC,IAAI,mBAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;IAC5C,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,YAAE,CAAC,YAAY,CAAC,mBAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;CAC7D;AACD,IAAI,mBAAO,CAAC,CAAC,IAAI,CAAC,mBAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,mBAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE;IAC7E,MAAM,UAAU,GAAG,YAAE,CAAC,YAAY,CAAC,mBAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;IACzD,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;IAClC,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;CACnD;AAED,MAAM,EAAE,GAAG,IAAI,OAAE,CAAC,EAAE,CAAC,CAAC;AACtB,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AACxB,EAAE,CAAC,GAAG,EAAE,CAAC"}
@@ -1,30 +1,30 @@
1
- export var ConciseTextLexer: typeof ConciseTextLexer;
2
- declare function ConciseTextLexer(input: any): this;
3
- declare class ConciseTextLexer {
4
- constructor(input: any);
5
- _interp: any;
6
- constructor: typeof ConciseTextLexer;
7
- get atn(): any;
8
- channelNames: string[];
9
- modeNames: string[];
10
- literalNames: string[];
11
- symbolicNames: string[];
12
- ruleNames: string[];
13
- grammarFileName: string;
14
- }
15
- declare namespace ConciseTextLexer {
16
- const EOF: any;
17
- const SLASH: number;
18
- const ASTERISK: number;
19
- const COMMENT_START: number;
20
- const ML_COMMENT_BEGIN: number;
21
- const ML_COMMENT_END: number;
22
- const MULTILINE_COMMENT: number;
23
- const COMMENT: number;
24
- const NUMBER: number;
25
- const STRING: number;
26
- const WORD: number;
27
- const LABEL_START: number;
28
- const WHITESPACE: number;
29
- }
30
- export {};
1
+ export var ConciseTextLexer: typeof ConciseTextLexer;
2
+ declare function ConciseTextLexer(input: any): this;
3
+ declare class ConciseTextLexer {
4
+ constructor(input: any);
5
+ _interp: any;
6
+ constructor: typeof ConciseTextLexer;
7
+ get atn(): any;
8
+ channelNames: string[];
9
+ modeNames: string[];
10
+ literalNames: string[];
11
+ symbolicNames: string[];
12
+ ruleNames: string[];
13
+ grammarFileName: string;
14
+ }
15
+ declare namespace ConciseTextLexer {
16
+ const EOF: any;
17
+ const SLASH: number;
18
+ const ASTERISK: number;
19
+ const COMMENT_START: number;
20
+ const ML_COMMENT_BEGIN: number;
21
+ const ML_COMMENT_END: number;
22
+ const MULTILINE_COMMENT: number;
23
+ const COMMENT: number;
24
+ const NUMBER: number;
25
+ const STRING: number;
26
+ const WORD: number;
27
+ const LABEL_START: number;
28
+ const WHITESPACE: number;
29
+ }
30
+ export {};
@@ -1,123 +1,123 @@
1
- // Generated from ../grammars/ConciseText.g4 by ANTLR 4.8
2
- // jshint ignore: start
3
- var antlr4 = require('antlr4/index');
4
- var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964",
5
- "\u0002\u000e|\b\u0001\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004",
6
- "\u0004\t\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t",
7
- "\u0007\u0004\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004",
8
- "\f\t\f\u0004\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010",
9
- "\t\u0010\u0004\u0011\t\u0011\u0003\u0002\u0003\u0002\u0003\u0003\u0003",
10
- "\u0003\u0003\u0004\u0003\u0004\u0003\u0004\u0003\u0005\u0003\u0005\u0003",
11
- "\u0005\u0003\u0006\u0003\u0006\u0003\u0007\u0003\u0007\u0003\b\u0003",
12
- "\b\u0003\b\u0003\t\u0003\t\u0003\t\u0003\n\u0003\n\u0003\n\u0003\u000b",
13
- "\u0003\u000b\u0007\u000b=\n\u000b\f\u000b\u000e\u000b@\u000b\u000b\u0003",
14
- "\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003\f\u0003\f\u0006\fH",
15
- "\n\f\r\f\u000e\fI\u0003\f\u0006\fM\n\f\r\f\u000e\fN\u0003\f\u0003\f",
16
- "\u0003\r\u0005\rT\n\r\u0003\r\u0006\rW\n\r\r\r\u000e\rX\u0003\r\u0005",
17
- "\r\\\n\r\u0003\r\u0007\r_\n\r\f\r\u000e\rb\u000b\r\u0003\u000e\u0003",
18
- "\u000e\u0003\u000e\u0003\u000e\u0007\u000eh\n\u000e\f\u000e\u000e\u000e",
19
- "k\u000b\u000e\u0003\u000e\u0003\u000e\u0003\u000f\u0003\u000f\u0007",
20
- "\u000fq\n\u000f\f\u000f\u000e\u000ft\u000b\u000f\u0003\u0010\u0003\u0010",
21
- "\u0003\u0011\u0006\u0011y\n\u0011\r\u0011\u000e\u0011z\u0003>\u0002",
22
- "\u0012\u0003\u0002\u0005\u0002\u0007\u0002\t\u0002\u000b\u0003\r\u0004",
23
- "\u000f\u0005\u0011\u0006\u0013\u0007\u0015\b\u0017\t\u0019\n\u001b\u000b",
24
- "\u001d\f\u001f\r!\u000e\u0003\u0002\u0007\u0004\u0002\f\f\u000f\u000f",
25
- "\u0003\u00022;\u0003\u0002$$\u0006\u0002\u000b\f\u000f\u000f\"\"%%\u0005",
26
- "\u0002\u000b\f\u000f\u000f\"\"\u0002\u0083\u0002\u000b\u0003\u0002\u0002",
27
- "\u0002\u0002\r\u0003\u0002\u0002\u0002\u0002\u000f\u0003\u0002\u0002",
28
- "\u0002\u0002\u0011\u0003\u0002\u0002\u0002\u0002\u0013\u0003\u0002\u0002",
29
- "\u0002\u0002\u0015\u0003\u0002\u0002\u0002\u0002\u0017\u0003\u0002\u0002",
30
- "\u0002\u0002\u0019\u0003\u0002\u0002\u0002\u0002\u001b\u0003\u0002\u0002",
31
- "\u0002\u0002\u001d\u0003\u0002\u0002\u0002\u0002\u001f\u0003\u0002\u0002",
32
- "\u0002\u0002!\u0003\u0002\u0002\u0002\u0003#\u0003\u0002\u0002\u0002",
33
- "\u0005%\u0003\u0002\u0002\u0002\u0007\'\u0003\u0002\u0002\u0002\t*\u0003",
34
- "\u0002\u0002\u0002\u000b-\u0003\u0002\u0002\u0002\r/\u0003\u0002\u0002",
35
- "\u0002\u000f1\u0003\u0002\u0002\u0002\u00114\u0003\u0002\u0002\u0002",
36
- "\u00137\u0003\u0002\u0002\u0002\u0015:\u0003\u0002\u0002\u0002\u0017",
37
- "E\u0003\u0002\u0002\u0002\u0019S\u0003\u0002\u0002\u0002\u001bc\u0003",
38
- "\u0002\u0002\u0002\u001dn\u0003\u0002\u0002\u0002\u001fu\u0003\u0002",
39
- "\u0002\u0002!x\u0003\u0002\u0002\u0002#$\u0007^\u0002\u0002$\u0004\u0003",
40
- "\u0002\u0002\u0002%&\u0007$\u0002\u0002&\u0006\u0003\u0002\u0002\u0002",
41
- "\'(\u0005\u0003\u0002\u0002()\u0005\u0005\u0003\u0002)\b\u0003\u0002",
42
- "\u0002\u0002*+\u0005\u0003\u0002\u0002+,\u0005\u0003\u0002\u0002,\n",
43
- "\u0003\u0002\u0002\u0002-.\u00071\u0002\u0002.\f\u0003\u0002\u0002\u0002",
44
- "/0\u0007,\u0002\u00020\u000e\u0003\u0002\u0002\u000212\u0005\u000b\u0006",
45
- "\u000223\u0005\u000b\u0006\u00023\u0010\u0003\u0002\u0002\u000245\u0005",
46
- "\u000b\u0006\u000256\u0005\r\u0007\u00026\u0012\u0003\u0002\u0002\u0002",
47
- "78\u0005\r\u0007\u000289\u0005\u000b\u0006\u00029\u0014\u0003\u0002",
48
- "\u0002\u0002:>\u0005\u0011\t\u0002;=\u000b\u0002\u0002\u0002<;\u0003",
49
- "\u0002\u0002\u0002=@\u0003\u0002\u0002\u0002>?\u0003\u0002\u0002\u0002",
50
- "><\u0003\u0002\u0002\u0002?A\u0003\u0002\u0002\u0002@>\u0003\u0002\u0002",
51
- "\u0002AB\u0005\u0013\n\u0002BC\u0003\u0002\u0002\u0002CD\b\u000b\u0002",
52
- "\u0002D\u0016\u0003\u0002\u0002\u0002EG\u0005\u000f\b\u0002FH\n\u0002",
53
- "\u0002\u0002GF\u0003\u0002\u0002\u0002HI\u0003\u0002\u0002\u0002IG\u0003",
54
- "\u0002\u0002\u0002IJ\u0003\u0002\u0002\u0002JL\u0003\u0002\u0002\u0002",
55
- "KM\u0005!\u0011\u0002LK\u0003\u0002\u0002\u0002MN\u0003\u0002\u0002",
56
- "\u0002NL\u0003\u0002\u0002\u0002NO\u0003\u0002\u0002\u0002OP\u0003\u0002",
57
- "\u0002\u0002PQ\b\f\u0002\u0002Q\u0018\u0003\u0002\u0002\u0002RT\u0007",
58
- "/\u0002\u0002SR\u0003\u0002\u0002\u0002ST\u0003\u0002\u0002\u0002TV",
59
- "\u0003\u0002\u0002\u0002UW\t\u0003\u0002\u0002VU\u0003\u0002\u0002\u0002",
60
- "WX\u0003\u0002\u0002\u0002XV\u0003\u0002\u0002\u0002XY\u0003\u0002\u0002",
61
- "\u0002Y[\u0003\u0002\u0002\u0002Z\\\u00070\u0002\u0002[Z\u0003\u0002",
62
- "\u0002\u0002[\\\u0003\u0002\u0002\u0002\\`\u0003\u0002\u0002\u0002]",
63
- "_\t\u0003\u0002\u0002^]\u0003\u0002\u0002\u0002_b\u0003\u0002\u0002",
64
- "\u0002`^\u0003\u0002\u0002\u0002`a\u0003\u0002\u0002\u0002a\u001a\u0003",
65
- "\u0002\u0002\u0002b`\u0003\u0002\u0002\u0002ci\u0005\u0005\u0003\u0002",
66
- "dh\u0005\u0007\u0004\u0002eh\u0005\t\u0005\u0002fh\n\u0004\u0002\u0002",
67
- "gd\u0003\u0002\u0002\u0002ge\u0003\u0002\u0002\u0002gf\u0003\u0002\u0002",
68
- "\u0002hk\u0003\u0002\u0002\u0002ig\u0003\u0002\u0002\u0002ij\u0003\u0002",
69
- "\u0002\u0002jl\u0003\u0002\u0002\u0002ki\u0003\u0002\u0002\u0002lm\u0005",
70
- "\u0005\u0003\u0002m\u001c\u0003\u0002\u0002\u0002nr\n\u0005\u0002\u0002",
71
- "oq\n\u0006\u0002\u0002po\u0003\u0002\u0002\u0002qt\u0003\u0002\u0002",
72
- "\u0002rp\u0003\u0002\u0002\u0002rs\u0003\u0002\u0002\u0002s\u001e\u0003",
73
- "\u0002\u0002\u0002tr\u0003\u0002\u0002\u0002uv\u0007%\u0002\u0002v ",
74
- "\u0003\u0002\u0002\u0002wy\t\u0006\u0002\u0002xw\u0003\u0002\u0002\u0002",
75
- "yz\u0003\u0002\u0002\u0002zx\u0003\u0002\u0002\u0002z{\u0003\u0002\u0002",
76
- "\u0002{\"\u0003\u0002\u0002\u0002\u000e\u0002>INSX[`girz\u0003\b\u0002",
77
- "\u0002"].join("");
78
- var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
79
- var decisionsToDFA = atn.decisionToState.map(function (ds, index) { return new antlr4.dfa.DFA(ds, index); });
80
- function ConciseTextLexer(input) {
81
- antlr4.Lexer.call(this, input);
82
- this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
83
- return this;
84
- }
85
- ConciseTextLexer.prototype = Object.create(antlr4.Lexer.prototype);
86
- ConciseTextLexer.prototype.constructor = ConciseTextLexer;
87
- Object.defineProperty(ConciseTextLexer.prototype, "atn", {
88
- get: function () {
89
- return atn;
90
- }
91
- });
92
- ConciseTextLexer.EOF = antlr4.Token.EOF;
93
- ConciseTextLexer.SLASH = 1;
94
- ConciseTextLexer.ASTERISK = 2;
95
- ConciseTextLexer.COMMENT_START = 3;
96
- ConciseTextLexer.ML_COMMENT_BEGIN = 4;
97
- ConciseTextLexer.ML_COMMENT_END = 5;
98
- ConciseTextLexer.MULTILINE_COMMENT = 6;
99
- ConciseTextLexer.COMMENT = 7;
100
- ConciseTextLexer.NUMBER = 8;
101
- ConciseTextLexer.STRING = 9;
102
- ConciseTextLexer.WORD = 10;
103
- ConciseTextLexer.LABEL_START = 11;
104
- ConciseTextLexer.WHITESPACE = 12;
105
- ConciseTextLexer.prototype.channelNames = ["DEFAULT_TOKEN_CHANNEL", "HIDDEN"];
106
- ConciseTextLexer.prototype.modeNames = ["DEFAULT_MODE"];
107
- ConciseTextLexer.prototype.literalNames = [null, "'/'", "'*'", null, null,
108
- null, null, null, null, null,
109
- null, "'#'"];
110
- ConciseTextLexer.prototype.symbolicNames = [null, "SLASH", "ASTERISK",
111
- "COMMENT_START", "ML_COMMENT_BEGIN",
112
- "ML_COMMENT_END", "MULTILINE_COMMENT",
113
- "COMMENT", "NUMBER", "STRING",
114
- "WORD", "LABEL_START", "WHITESPACE"];
115
- ConciseTextLexer.prototype.ruleNames = ["BACKSLASH", "QUOTE", "ESCAPED_QUOTE",
116
- "ESCAPED_BACKSLASH", "SLASH", "ASTERISK",
117
- "COMMENT_START", "ML_COMMENT_BEGIN",
118
- "ML_COMMENT_END", "MULTILINE_COMMENT",
119
- "COMMENT", "NUMBER", "STRING",
120
- "WORD", "LABEL_START", "WHITESPACE"];
121
- ConciseTextLexer.prototype.grammarFileName = "ConciseText.g4";
122
- exports.ConciseTextLexer = ConciseTextLexer;
1
+ // Generated from ../grammars/ConciseText.g4 by ANTLR 4.8
2
+ // jshint ignore: start
3
+ var antlr4 = require('antlr4/index');
4
+ var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964",
5
+ "\u0002\u000e|\b\u0001\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004",
6
+ "\u0004\t\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t",
7
+ "\u0007\u0004\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004",
8
+ "\f\t\f\u0004\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010",
9
+ "\t\u0010\u0004\u0011\t\u0011\u0003\u0002\u0003\u0002\u0003\u0003\u0003",
10
+ "\u0003\u0003\u0004\u0003\u0004\u0003\u0004\u0003\u0005\u0003\u0005\u0003",
11
+ "\u0005\u0003\u0006\u0003\u0006\u0003\u0007\u0003\u0007\u0003\b\u0003",
12
+ "\b\u0003\b\u0003\t\u0003\t\u0003\t\u0003\n\u0003\n\u0003\n\u0003\u000b",
13
+ "\u0003\u000b\u0007\u000b=\n\u000b\f\u000b\u000e\u000b@\u000b\u000b\u0003",
14
+ "\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003\f\u0003\f\u0006\fH",
15
+ "\n\f\r\f\u000e\fI\u0003\f\u0006\fM\n\f\r\f\u000e\fN\u0003\f\u0003\f",
16
+ "\u0003\r\u0005\rT\n\r\u0003\r\u0006\rW\n\r\r\r\u000e\rX\u0003\r\u0005",
17
+ "\r\\\n\r\u0003\r\u0007\r_\n\r\f\r\u000e\rb\u000b\r\u0003\u000e\u0003",
18
+ "\u000e\u0003\u000e\u0003\u000e\u0007\u000eh\n\u000e\f\u000e\u000e\u000e",
19
+ "k\u000b\u000e\u0003\u000e\u0003\u000e\u0003\u000f\u0003\u000f\u0007",
20
+ "\u000fq\n\u000f\f\u000f\u000e\u000ft\u000b\u000f\u0003\u0010\u0003\u0010",
21
+ "\u0003\u0011\u0006\u0011y\n\u0011\r\u0011\u000e\u0011z\u0003>\u0002",
22
+ "\u0012\u0003\u0002\u0005\u0002\u0007\u0002\t\u0002\u000b\u0003\r\u0004",
23
+ "\u000f\u0005\u0011\u0006\u0013\u0007\u0015\b\u0017\t\u0019\n\u001b\u000b",
24
+ "\u001d\f\u001f\r!\u000e\u0003\u0002\u0007\u0004\u0002\f\f\u000f\u000f",
25
+ "\u0003\u00022;\u0003\u0002$$\u0006\u0002\u000b\f\u000f\u000f\"\"%%\u0005",
26
+ "\u0002\u000b\f\u000f\u000f\"\"\u0002\u0083\u0002\u000b\u0003\u0002\u0002",
27
+ "\u0002\u0002\r\u0003\u0002\u0002\u0002\u0002\u000f\u0003\u0002\u0002",
28
+ "\u0002\u0002\u0011\u0003\u0002\u0002\u0002\u0002\u0013\u0003\u0002\u0002",
29
+ "\u0002\u0002\u0015\u0003\u0002\u0002\u0002\u0002\u0017\u0003\u0002\u0002",
30
+ "\u0002\u0002\u0019\u0003\u0002\u0002\u0002\u0002\u001b\u0003\u0002\u0002",
31
+ "\u0002\u0002\u001d\u0003\u0002\u0002\u0002\u0002\u001f\u0003\u0002\u0002",
32
+ "\u0002\u0002!\u0003\u0002\u0002\u0002\u0003#\u0003\u0002\u0002\u0002",
33
+ "\u0005%\u0003\u0002\u0002\u0002\u0007\'\u0003\u0002\u0002\u0002\t*\u0003",
34
+ "\u0002\u0002\u0002\u000b-\u0003\u0002\u0002\u0002\r/\u0003\u0002\u0002",
35
+ "\u0002\u000f1\u0003\u0002\u0002\u0002\u00114\u0003\u0002\u0002\u0002",
36
+ "\u00137\u0003\u0002\u0002\u0002\u0015:\u0003\u0002\u0002\u0002\u0017",
37
+ "E\u0003\u0002\u0002\u0002\u0019S\u0003\u0002\u0002\u0002\u001bc\u0003",
38
+ "\u0002\u0002\u0002\u001dn\u0003\u0002\u0002\u0002\u001fu\u0003\u0002",
39
+ "\u0002\u0002!x\u0003\u0002\u0002\u0002#$\u0007^\u0002\u0002$\u0004\u0003",
40
+ "\u0002\u0002\u0002%&\u0007$\u0002\u0002&\u0006\u0003\u0002\u0002\u0002",
41
+ "\'(\u0005\u0003\u0002\u0002()\u0005\u0005\u0003\u0002)\b\u0003\u0002",
42
+ "\u0002\u0002*+\u0005\u0003\u0002\u0002+,\u0005\u0003\u0002\u0002,\n",
43
+ "\u0003\u0002\u0002\u0002-.\u00071\u0002\u0002.\f\u0003\u0002\u0002\u0002",
44
+ "/0\u0007,\u0002\u00020\u000e\u0003\u0002\u0002\u000212\u0005\u000b\u0006",
45
+ "\u000223\u0005\u000b\u0006\u00023\u0010\u0003\u0002\u0002\u000245\u0005",
46
+ "\u000b\u0006\u000256\u0005\r\u0007\u00026\u0012\u0003\u0002\u0002\u0002",
47
+ "78\u0005\r\u0007\u000289\u0005\u000b\u0006\u00029\u0014\u0003\u0002",
48
+ "\u0002\u0002:>\u0005\u0011\t\u0002;=\u000b\u0002\u0002\u0002<;\u0003",
49
+ "\u0002\u0002\u0002=@\u0003\u0002\u0002\u0002>?\u0003\u0002\u0002\u0002",
50
+ "><\u0003\u0002\u0002\u0002?A\u0003\u0002\u0002\u0002@>\u0003\u0002\u0002",
51
+ "\u0002AB\u0005\u0013\n\u0002BC\u0003\u0002\u0002\u0002CD\b\u000b\u0002",
52
+ "\u0002D\u0016\u0003\u0002\u0002\u0002EG\u0005\u000f\b\u0002FH\n\u0002",
53
+ "\u0002\u0002GF\u0003\u0002\u0002\u0002HI\u0003\u0002\u0002\u0002IG\u0003",
54
+ "\u0002\u0002\u0002IJ\u0003\u0002\u0002\u0002JL\u0003\u0002\u0002\u0002",
55
+ "KM\u0005!\u0011\u0002LK\u0003\u0002\u0002\u0002MN\u0003\u0002\u0002",
56
+ "\u0002NL\u0003\u0002\u0002\u0002NO\u0003\u0002\u0002\u0002OP\u0003\u0002",
57
+ "\u0002\u0002PQ\b\f\u0002\u0002Q\u0018\u0003\u0002\u0002\u0002RT\u0007",
58
+ "/\u0002\u0002SR\u0003\u0002\u0002\u0002ST\u0003\u0002\u0002\u0002TV",
59
+ "\u0003\u0002\u0002\u0002UW\t\u0003\u0002\u0002VU\u0003\u0002\u0002\u0002",
60
+ "WX\u0003\u0002\u0002\u0002XV\u0003\u0002\u0002\u0002XY\u0003\u0002\u0002",
61
+ "\u0002Y[\u0003\u0002\u0002\u0002Z\\\u00070\u0002\u0002[Z\u0003\u0002",
62
+ "\u0002\u0002[\\\u0003\u0002\u0002\u0002\\`\u0003\u0002\u0002\u0002]",
63
+ "_\t\u0003\u0002\u0002^]\u0003\u0002\u0002\u0002_b\u0003\u0002\u0002",
64
+ "\u0002`^\u0003\u0002\u0002\u0002`a\u0003\u0002\u0002\u0002a\u001a\u0003",
65
+ "\u0002\u0002\u0002b`\u0003\u0002\u0002\u0002ci\u0005\u0005\u0003\u0002",
66
+ "dh\u0005\u0007\u0004\u0002eh\u0005\t\u0005\u0002fh\n\u0004\u0002\u0002",
67
+ "gd\u0003\u0002\u0002\u0002ge\u0003\u0002\u0002\u0002gf\u0003\u0002\u0002",
68
+ "\u0002hk\u0003\u0002\u0002\u0002ig\u0003\u0002\u0002\u0002ij\u0003\u0002",
69
+ "\u0002\u0002jl\u0003\u0002\u0002\u0002ki\u0003\u0002\u0002\u0002lm\u0005",
70
+ "\u0005\u0003\u0002m\u001c\u0003\u0002\u0002\u0002nr\n\u0005\u0002\u0002",
71
+ "oq\n\u0006\u0002\u0002po\u0003\u0002\u0002\u0002qt\u0003\u0002\u0002",
72
+ "\u0002rp\u0003\u0002\u0002\u0002rs\u0003\u0002\u0002\u0002s\u001e\u0003",
73
+ "\u0002\u0002\u0002tr\u0003\u0002\u0002\u0002uv\u0007%\u0002\u0002v ",
74
+ "\u0003\u0002\u0002\u0002wy\t\u0006\u0002\u0002xw\u0003\u0002\u0002\u0002",
75
+ "yz\u0003\u0002\u0002\u0002zx\u0003\u0002\u0002\u0002z{\u0003\u0002\u0002",
76
+ "\u0002{\"\u0003\u0002\u0002\u0002\u000e\u0002>INSX[`girz\u0003\b\u0002",
77
+ "\u0002"].join("");
78
+ var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
79
+ var decisionsToDFA = atn.decisionToState.map(function (ds, index) { return new antlr4.dfa.DFA(ds, index); });
80
+ function ConciseTextLexer(input) {
81
+ antlr4.Lexer.call(this, input);
82
+ this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
83
+ return this;
84
+ }
85
+ ConciseTextLexer.prototype = Object.create(antlr4.Lexer.prototype);
86
+ ConciseTextLexer.prototype.constructor = ConciseTextLexer;
87
+ Object.defineProperty(ConciseTextLexer.prototype, "atn", {
88
+ get: function () {
89
+ return atn;
90
+ }
91
+ });
92
+ ConciseTextLexer.EOF = antlr4.Token.EOF;
93
+ ConciseTextLexer.SLASH = 1;
94
+ ConciseTextLexer.ASTERISK = 2;
95
+ ConciseTextLexer.COMMENT_START = 3;
96
+ ConciseTextLexer.ML_COMMENT_BEGIN = 4;
97
+ ConciseTextLexer.ML_COMMENT_END = 5;
98
+ ConciseTextLexer.MULTILINE_COMMENT = 6;
99
+ ConciseTextLexer.COMMENT = 7;
100
+ ConciseTextLexer.NUMBER = 8;
101
+ ConciseTextLexer.STRING = 9;
102
+ ConciseTextLexer.WORD = 10;
103
+ ConciseTextLexer.LABEL_START = 11;
104
+ ConciseTextLexer.WHITESPACE = 12;
105
+ ConciseTextLexer.prototype.channelNames = ["DEFAULT_TOKEN_CHANNEL", "HIDDEN"];
106
+ ConciseTextLexer.prototype.modeNames = ["DEFAULT_MODE"];
107
+ ConciseTextLexer.prototype.literalNames = [null, "'/'", "'*'", null, null,
108
+ null, null, null, null, null,
109
+ null, "'#'"];
110
+ ConciseTextLexer.prototype.symbolicNames = [null, "SLASH", "ASTERISK",
111
+ "COMMENT_START", "ML_COMMENT_BEGIN",
112
+ "ML_COMMENT_END", "MULTILINE_COMMENT",
113
+ "COMMENT", "NUMBER", "STRING",
114
+ "WORD", "LABEL_START", "WHITESPACE"];
115
+ ConciseTextLexer.prototype.ruleNames = ["BACKSLASH", "QUOTE", "ESCAPED_QUOTE",
116
+ "ESCAPED_BACKSLASH", "SLASH", "ASTERISK",
117
+ "COMMENT_START", "ML_COMMENT_BEGIN",
118
+ "ML_COMMENT_END", "MULTILINE_COMMENT",
119
+ "COMMENT", "NUMBER", "STRING",
120
+ "WORD", "LABEL_START", "WHITESPACE"];
121
+ ConciseTextLexer.prototype.grammarFileName = "ConciseText.g4";
122
+ exports.ConciseTextLexer = ConciseTextLexer;
123
123
  //# sourceMappingURL=ConciseTextLexer.js.map
@@ -1,14 +1,14 @@
1
- export var ConciseTextListener: typeof ConciseTextListener;
2
- declare function ConciseTextListener(): this;
3
- declare class ConciseTextListener {
4
- constructor: typeof ConciseTextListener;
5
- enterInstructions(ctx: any): void;
6
- exitInstructions(ctx: any): void;
7
- enterPushNumber(ctx: any): void;
8
- exitPushNumber(ctx: any): void;
9
- enterPushString(ctx: any): void;
10
- exitPushString(ctx: any): void;
11
- enterInvokeFunction(ctx: any): void;
12
- exitInvokeFunction(ctx: any): void;
13
- }
14
- export {};
1
+ export var ConciseTextListener: typeof ConciseTextListener;
2
+ declare function ConciseTextListener(): this;
3
+ declare class ConciseTextListener {
4
+ constructor: typeof ConciseTextListener;
5
+ enterInstructions(ctx: any): void;
6
+ exitInstructions(ctx: any): void;
7
+ enterPushNumber(ctx: any): void;
8
+ exitPushNumber(ctx: any): void;
9
+ enterPushString(ctx: any): void;
10
+ exitPushString(ctx: any): void;
11
+ enterInvokeFunction(ctx: any): void;
12
+ exitInvokeFunction(ctx: any): void;
13
+ }
14
+ export {};
@@ -1,36 +1,36 @@
1
- // Generated from ../grammars/ConciseText.g4 by ANTLR 4.8
2
- // jshint ignore: start
3
- var antlr4 = require('antlr4/index');
4
- // This class defines a complete listener for a parse tree produced by ConciseTextParser.
5
- function ConciseTextListener() {
6
- antlr4.tree.ParseTreeListener.call(this);
7
- return this;
8
- }
9
- ConciseTextListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype);
10
- ConciseTextListener.prototype.constructor = ConciseTextListener;
11
- // Enter a parse tree produced by ConciseTextParser#instructions.
12
- ConciseTextListener.prototype.enterInstructions = function (ctx) {
13
- };
14
- // Exit a parse tree produced by ConciseTextParser#instructions.
15
- ConciseTextListener.prototype.exitInstructions = function (ctx) {
16
- };
17
- // Enter a parse tree produced by ConciseTextParser#pushNumber.
18
- ConciseTextListener.prototype.enterPushNumber = function (ctx) {
19
- };
20
- // Exit a parse tree produced by ConciseTextParser#pushNumber.
21
- ConciseTextListener.prototype.exitPushNumber = function (ctx) {
22
- };
23
- // Enter a parse tree produced by ConciseTextParser#pushString.
24
- ConciseTextListener.prototype.enterPushString = function (ctx) {
25
- };
26
- // Exit a parse tree produced by ConciseTextParser#pushString.
27
- ConciseTextListener.prototype.exitPushString = function (ctx) {
28
- };
29
- // Enter a parse tree produced by ConciseTextParser#invokeFunction.
30
- ConciseTextListener.prototype.enterInvokeFunction = function (ctx) {
31
- };
32
- // Exit a parse tree produced by ConciseTextParser#invokeFunction.
33
- ConciseTextListener.prototype.exitInvokeFunction = function (ctx) {
34
- };
35
- exports.ConciseTextListener = ConciseTextListener;
1
+ // Generated from ../grammars/ConciseText.g4 by ANTLR 4.8
2
+ // jshint ignore: start
3
+ var antlr4 = require('antlr4/index');
4
+ // This class defines a complete listener for a parse tree produced by ConciseTextParser.
5
+ function ConciseTextListener() {
6
+ antlr4.tree.ParseTreeListener.call(this);
7
+ return this;
8
+ }
9
+ ConciseTextListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype);
10
+ ConciseTextListener.prototype.constructor = ConciseTextListener;
11
+ // Enter a parse tree produced by ConciseTextParser#instructions.
12
+ ConciseTextListener.prototype.enterInstructions = function (ctx) {
13
+ };
14
+ // Exit a parse tree produced by ConciseTextParser#instructions.
15
+ ConciseTextListener.prototype.exitInstructions = function (ctx) {
16
+ };
17
+ // Enter a parse tree produced by ConciseTextParser#pushNumber.
18
+ ConciseTextListener.prototype.enterPushNumber = function (ctx) {
19
+ };
20
+ // Exit a parse tree produced by ConciseTextParser#pushNumber.
21
+ ConciseTextListener.prototype.exitPushNumber = function (ctx) {
22
+ };
23
+ // Enter a parse tree produced by ConciseTextParser#pushString.
24
+ ConciseTextListener.prototype.enterPushString = function (ctx) {
25
+ };
26
+ // Exit a parse tree produced by ConciseTextParser#pushString.
27
+ ConciseTextListener.prototype.exitPushString = function (ctx) {
28
+ };
29
+ // Enter a parse tree produced by ConciseTextParser#invokeFunction.
30
+ ConciseTextListener.prototype.enterInvokeFunction = function (ctx) {
31
+ };
32
+ // Exit a parse tree produced by ConciseTextParser#invokeFunction.
33
+ ConciseTextListener.prototype.exitInvokeFunction = function (ctx) {
34
+ };
35
+ exports.ConciseTextListener = ConciseTextListener;
36
36
  //# sourceMappingURL=ConciseTextListener.js.map