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 |
Camilo Roca
|
10bbcb9033
|
browser support increased with babel transformation
|
2020-02-23 19:09:26 +01:00 |
Camilo Roca
|
d95b3270c4
|
workaround current cyclic dependency on nodejs
|
2020-02-23 14:12:08 +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
|
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 |
Camilo Roca
|
6dd86eb960
|
fix: cannot reasign a const var
|
2020-02-10 22:23:54 +01:00 |
Camilo Roca
|
d6975d60b1
|
fix: second export was overwriting the first one
|
2020-02-10 22:22:12 +01:00 |
Camilo Roca
|
2d8e1b60d1
|
refactored PredPrediction and DFAState to JsDoc
|
2020-02-10 22:13:19 +01:00 |
Camilo Roca
|
2a294b8a60
|
fix DFA serializer doc position
|
2020-02-10 22:07:58 +01:00 |
Camilo Roca
|
68730a8288
|
refactored DFA docs to JsDoc compatible
|
2020-02-10 22:07:21 +01:00 |
Camilo Roca
|
8c1730f687
|
use const/let and module.exports
|
2020-02-10 22:01:04 +01:00 |
Camilo Roca
|
116dbca78a
|
refactor PredPrediction and DFAState to es6 classes
|
2020-02-10 21:58:44 +01:00 |
Camilo Roca
|
82d51aee99
|
use const/let
use module exports instead of exports
|
2020-02-10 21:56:40 +01:00 |
Camilo Roca
|
772286cf00
|
refactor DFASerializer and LexerDFASerializer to ES6 classes
|
2020-02-10 21:54:23 +01:00 |
Camilo Roca
|
e5910c3019
|
use object destructuring
|
2020-02-10 21:52:26 +01:00 |
Camilo Roca
|
a8e8402b77
|
refactor DFA function prototype into es6 classes
|
2020-02-10 21:51:11 +01:00 |
Camilo Roca
|
4b4aa68be3
|
fix: npm build is not a valid command
|
2020-02-08 15:14:10 +01:00 |
Camilo Roca
|
d8435e13c3
|
removed conditional nodejs import in favour of webpack bundle
use const/let instead of var
use object destructuring
fix: missing new statement for DOM file reader
|
2020-02-07 14:08:19 +01:00 |
Camilo Roca
|
c2180d2d5c
|
adapted antlr4 js to use webpack for browser publishing
lib/require.js custom require removed in favour of webpack bundle
documentation updated
package-lock.json added
|
2020-02-07 13:57:20 +01:00 |
Camilo Roca
|
aeebc0bb0b
|
fix: use module.exports instead of exports to follow node best practices
cosmetic changes
|
2020-02-02 23:52:47 +01:00 |
Camilo Roca
|
a7017d1a49
|
missing const
|
2020-02-02 23:43:12 +01:00 |
Camilo Roca
|
19458051c0
|
refactored error directoryto use classes, const and let
|
2020-02-02 23:37:21 +01:00 |
parrt
|
42512526f9
|
update javascript target to 4.3
|
2020-01-16 12:39:52 -08:00 |
parrt
|
6ad9646382
|
update version in code to 4.8
|
2020-01-16 12:18:17 -08:00 |
zqlu
|
c37ef7e0ea
|
Fix main entry point for JavaScript runtime npm package
|
2019-10-22 20:31:36 +08:00 |
miliu
|
35fcde7d69
|
add missed change
|
2019-09-29 20:51:31 -07:00 |
miliu
|
4a8eca579e
|
resolve comments
|
2019-09-29 20:46:30 -07:00 |
miliu
|
033bb7f8c5
|
fix toString()
|
2019-09-29 13:57:20 -07:00 |
Eric Vergnaud
|
56eb0a3fab
|
fix 2 erroneous calls, thanks @akaJes
|
2019-08-24 01:47:12 +08:00 |
Eric Vergnaud
|
3e258c5d9d
|
avoid hashCode == 0
|
2019-08-24 01:46:11 +08:00 |
Eric Vergnaud
|
165dfa2b70
|
use same hash code whether readOnly or not
|
2019-08-24 01:45:31 +08:00 |
Eric Vergnaud
|
badee1ffe1
|
fix minor issue in deserializer
|
2019-08-24 01:44:53 +08:00 |
Eric Vergnaud
|
32470dbab4
|
align on other runtimes
|
2019-08-24 01:44:36 +08:00 |