Camilo Roca
|
21538ebb59
|
refactored PredictionMode.js to use es6 classes
use const/let for better scoping
use object destructuring
fix: dont wrap class in object for export
|
2020-03-07 13:16:42 +01:00 |
Camilo Roca
|
7f271a1fc0
|
refactored ParserATNSimulator.js to use es6 classes
use const/let for better scoping
use object destructuring
fix: dont wrap class in object for export
|
2020-03-06 22:38:11 +01:00 |
Camilo Roca
|
d1dce9e700
|
refactored LexerATNSimulator.js to use es6 classes
use const/let for better scoping
fix: dont wrap class in object for export
|
2020-03-06 22:12:49 +01:00 |
Camilo Roca
|
9aeac6d4f4
|
refactored LexerActionExecutor.js to use es6 classes
use const for better scoping
fix: dont wrap class in object for export
|
2020-03-06 20:05:05 +01:00 |
Camilo Roca
|
01c5dca26a
|
refactored ATNSimulator.js to use es6 classes
use const for better scoping
fix: dont wrap class in object for export
|
2020-03-06 19:54:10 +01:00 |
Camilo Roca
|
43f896d6dc
|
use const/let for better variable scoping
|
2020-03-06 19:49:10 +01:00 |
Camilo Roca
|
4f8527e9ee
|
refactored ATNDeserializer.js to use es6 classes
fix: dont wrap the class in an object for export
|
2020-03-06 19:33:38 +01:00 |
Camilo Roca
|
d61e4d5049
|
refactored LexerAction.js to use es 6 classes
use jsdoc
use module.exports
|
2020-03-06 19:29:23 +01:00 |
Camilo Roca
|
44331c067e
|
refactored ATNType.js to be a simple object with static definitions
|
2020-03-06 19:14:24 +01:00 |
Camilo Roca
|
78afe57b7d
|
refactored ATNState.js to es 6 classes
use module.exports
use jsdoc
|
2020-03-06 19:12:09 +01:00 |
Camilo Roca
|
430b7c1917
|
refactored ATNDeserializationOptions.js to es 6 classes
fix: dont wrap class in an object
refactored imports accordingly
|
2020-03-06 18:59:59 +01:00 |
Camilo Roca
|
7324e094b1
|
refactored ATNConfigSet.js to use es 6 classes
use module.exports
use const/let
use jsdoc
|
2020-03-06 18:46:34 +01:00 |
Camilo Roca
|
2246528ca6
|
use module.exports
fix: put the documentation on the method, not on the import
fix: move Token import to the top
|
2020-03-06 18:36:33 +01:00 |
Camilo Roca
|
1b440d364a
|
use jsdoc and const/let
|
2020-03-06 18:33:37 +01:00 |
Camilo Roca
|
8f1b2e5eb9
|
use jsdoc and const/let
|
2020-03-06 18:24:57 +01:00 |
Camilo Roca
|
15720d1e33
|
use jsdoc and const/let
|
2020-03-06 18:18:49 +01:00 |
Camilo Roca
|
e7b935e7e2
|
refactored ATN to be an es6 class
|
2020-03-06 18:10:34 +01:00 |
Terence Parr
|
225249fdae
|
Merge pull request #2761 from carocad/browser-support
Javascript: browser support increased with babel transformation
|
2020-02-25 09:35:36 -08:00 |
Terence Parr
|
38b1b9ac7f
|
Merge pull request #2749 from carocad/tree-classes
Javascript: migrate prototypical Tree objects to es6 classes
|
2020-02-23 10:12:14 -08:00 |
Camilo Roca
|
10bbcb9033
|
browser support increased with babel transformation
|
2020-02-23 19:09:26 +01:00 |
Terence Parr
|
bb66444622
|
Merge pull request #2754 from StochasticTinkr/fix-gramamr-typo
replace gramamr with grammar
|
2020-02-23 10:01:48 -08:00 |
Camilo Roca
|
d95b3270c4
|
workaround current cyclic dependency on nodejs
|
2020-02-23 14:12:08 +01:00 |
Camilo Roca
|
c8ae1a89a2
|
refactored BaseNodeTest to use es6 classes and const/let
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
5885aa4705
|
fix: RuleContext no longer needs object destructuring import
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
46ceb654f7
|
removed commented out call
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
1c946ce605
|
refactored antlr/tree exports to use es6 destructuring
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
6764f53024
|
export RuleContext directly instead of wrapping it on an anonymous object
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
20cbfc5a0a
|
export DFA and DiagnosticErrorListener directly instead of wrapping it on an anonymous object
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
96c2eb6a51
|
export Trees directly instead of wrapping it on an anonymous object
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
a3d2ca7ef5
|
fix: removed unnecessary "interface" initialization on test suite
|
2020-02-23 13:09:36 +01:00 |
Camilo Roca
|
577a9b82bc
|
fix: no need to call RuleNode class as prototype chain is enough
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
5e42c49ced
|
fix: export ATN directly to avoid getting an empty object on (circular) imports
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
1eafbf9286
|
fix: dont destructure so early to avoid circular dependency problems
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
66c652142c
|
refactored Trees to be a plain object to avoid "this" invocation
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
af45a02d1e
|
refactored comments to be jsdoc compatible
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
edf24eab3f
|
fix: incorrect import of invalid_alt_number
removed unused RuleNode import
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
79d2c1c163
|
use const/let for better scoping
use object destructuring on import
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
4a7820aa4b
|
refactored comments to be jsdoc compatible
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
6cc2f082fb
|
use destructuring for imports
use module.exports with object literal for exports
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
e790ddb4ba
|
use const/let for better scoping
removed unused Utils import
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
32baf10944
|
refactored Tree implementations to be es6 classes
|
2020-02-23 13:08:39 +01:00 |
Camilo Roca
|
9d997438f9
|
refactored interfaces to be es6 classes
|
2020-02-23 13:08:39 +01:00 |
Terence Parr
|
2d9f45d9bf
|
Merge pull request #2755 from ericvergnaud/drop-browser-tests
Drop browser tests
|
2020-02-22 10:06:17 -08:00 |
Eric Vergnaud
|
bff9629414
|
add missing tests
|
2020-02-22 12:00:11 +08:00 |
Eric Vergnaud
|
2eb728eafb
|
drop selenium and jetty dependencies
|
2020-02-22 11:39:17 +08:00 |
Daniel Pitts
|
0d73fc28e9
|
replace gramamr with grammar
|
2020-02-21 19:04:10 -08:00 |
Daniel Pitts
|
ccc79bb883
|
Add myself to the contributors.
|
2020-02-21 19:02:56 -08:00 |
Eric Vergnaud
|
ddf38ec88f
|
fix failing tests
|
2020-02-22 10:35:42 +08:00 |
Eric Vergnaud
|
95521b7553
|
Move node tests up to simplify
|
2020-02-22 10:09:44 +08:00 |
Eric Vergnaud
|
653cb54bb9
|
drop obsolete browser tests, selenium is flaky, these tests cannot run in our CI, everybody uses some packaging, next official js runtime will be pre-packaged
overall not worth the maintenance effort anymore
|
2020-02-22 10:05:34 +08:00 |