Commit Graph

7453 Commits

Author SHA1 Message Date
Shan M f780421da7
Adds DefaultErrorStrategy to export list 2020-07-01 12:00:41 +03:00
Shan M 5f3654dea7
Sign contributors.txt 2020-07-01 11:59:04 +03:00
Terence Parr 7a6db6a50a
Merge pull request #2805 from felixn/master
C++ target: escape ? character to prevent accidental trigraphs
2020-06-22 08:29:14 -07:00
Felix Nieuwenhuizen c134dac863 escape ? character in c++ codegen to prevent accidental trigraphs
(using an override of shouldUseUnicodeEscapeForCodePointInDoubleQuotedString in CppTarget)
2020-06-21 22:04:51 +02:00
parrt ae5efa8a30 tweak contrib 2020-06-16 13:38:04 -07:00
Terence Parr 0b35a76e9b
Merge pull request #2833 from d-markey/master
Avoid stepping through ANTLR generated code when debugging (C#)
2020-06-06 09:51:12 -07:00
David MARKEY 2191c38619
Prefer "DebuggerNonUserCode" 2020-05-31 23:27:42 +02:00
David MARKEY 4cfbe5bd78
Update CSharp.stg 2020-05-31 19:07:13 +02:00
David MARKEY bcd88c719e
Register as a contribuor 2020-05-31 19:05:01 +02:00
Terence Parr 621b933c7a
Merge pull request #2816 from TristonianJones/export-lexer-set-stream
[Go] Thread-safe ANTLR codegen
2020-05-03 12:59:18 -07:00
Tristan Swadell f17b6b43e3 Remove extant variable 2020-05-01 02:19:58 -07:00
Tristan Swadell 69ba58ecbe Thread-safe ANTLR Go codegen 2020-05-01 01:57:54 -07:00
Terence Parr 8c50731894
Merge pull request #2772 from carocad/cyclic-import
Javascript: fix some cyclic dependencies
2020-04-17 09:03:54 -07:00
Terence Parr 7a11432ede
Merge pull request #2797 from deniskyashif/master
refactored AntlrInputStream.cs by removing a redundand if-statement
2020-04-11 19:00:49 -07:00
Denis Kyashif 1cb069d10f refactored AntlrInputStream.cs by removing a redundand if-statement
signed contributors.txt
2020-04-08 18:24:58 +03:00
Camilo Roca 26715ec6df fix: cyclic dependency between RuleContext.js, Trees.js and ParserRuleContext.js
check for RuleNode instead of RuleContext since that it the only implementation (RuleNode -> RuleContext -> ParserRuleContext)
2020-03-26 21:48:20 +01:00
Terence Parr a4c66dc863
Merge pull request #2787 from carocad/root-es6
Javascript: migrate prototypical root modules to ES6
2020-03-26 10:33:27 -07:00
Terence Parr 4779b8f6e4
Merge pull request #2782 from XsongyangX/master
Clarify and expand documentation for runtime ParseTreeWalker
2020-03-22 08:33:52 -07:00
Camilo Roca 091976c497 fix: use prototype for lexer and method for parser 2020-03-20 15:21:57 +01:00
Camilo Roca 1922a3744e refactored MyRuleNode to use es6 class 2020-03-20 14:52:24 +01:00
Camilo Roca 176f852bf1 refactored AltLabelStructDecl to use es6 class 2020-03-20 13:51:01 +01:00
Camilo Roca 8b7ac991bf refactored StructDel to use es6 class 2020-03-20 13:46:12 +01:00
Camilo Roca 42b9d8630c fix: no prototype use inside class definition
fix: no need to return this in constructor
2020-03-20 13:45:54 +01:00
Camilo Roca 57b65a1c92 fix: assignment to constant var 2020-03-20 13:36:56 +01:00
Camilo Roca 297bde0926 refactored generated parser and lexer to be es6 classes 2020-03-20 12:42:48 +01:00
Song Yang 0b980e93b3 Change to c++ block comments 2020-03-18 15:10:45 -04:00
Song Yang bc79e22297 Sign contributors.txt 2020-03-17 16:10:35 -04:00
Song Yang 575271020f Copy documentation to all non-Java languages 2020-03-17 16:03:29 -04:00
Song Yang d832f90a70 Correct doc on exitRule 2020-03-16 00:16:03 -04:00
Song Yang aa9a51a334 Add documentation to ParseTreeWalker 2020-03-15 23:45:40 -04:00
Camilo Roca dadd69ef97 refactored Utils.js to use es6 classes
use const/let for better scoping
use jsdoc
2020-03-16 00:24:56 +01:00
Camilo Roca 5b607b34ba refactored Token.js to use es6 classes
use const/let for better scoping
use jsdoc
2020-03-16 00:16:11 +01:00
Camilo Roca 5baa2326ad refactored PredictionContext.js to use es6 classes
use const/let for better scoping
use jsdoc
2020-03-16 00:08:55 +01:00
Camilo Roca ee9474b194 refactored RuleContext.js to use es6 classes
refactored ParserRuleContext.js to use es6 classes
fix: dont wrap export in object
use const/let for better scoping
use jsdoc
2020-03-15 23:55:05 +01:00
Camilo Roca 4de9e80109 refactored Parser.js to use es6 classes
fix: dont wrap export in object
use const/let for better scoping
use jsdoc
2020-03-15 23:38:44 +01:00
Camilo Roca 94ee7cfbf9 refactored LL1Analyzer.js to use es6 classes
fix: dont wrap export in object
use const/let for better scoping
use jsdoc
2020-03-15 23:21:44 +01:00
Camilo Roca ba6b0807c9 todo added due to code warning 2020-03-15 23:14:37 +01:00
Camilo Roca fd8548acab fix: dont return this on constructor 2020-03-15 23:14:11 +01:00
Camilo Roca 24ae4274a0 refactored Recognizer.js to use es6 classes
refactored Lexer.js to use es6 classes
fix: dont wrap class in object for exporting
use const/let for better scoping
use jsdoc
2020-03-15 22:46:08 +01:00
Camilo Roca a3c380d7d4 refactored IntervalSet.js to use es6 classes
use const/let for better scoping
2020-03-15 16:29:28 +01:00
Camilo Roca 23351cadc4 refactored InputStream.js to use es6 classes
refactored FileStream.js to use es6 classes
fix: dont wrap class in an object for export
use const for better scoping
use jsdoc
2020-03-15 16:25:30 +01:00
Camilo Roca 181c44fb11 refactored CommonTokenStream.js to use es6 classes
fix: dont wrap class in an object for export
fix: annotate adjustSeekIndex with Number type to avoid warning
use const for better scoping
use jsdoc
2020-03-15 16:10:50 +01:00
Camilo Roca 5f6b7de72d fix: remove unnecessary return statements 2020-03-15 16:04:28 +01:00
Camilo Roca b2473f7564 refactored CommonTokenFactory.js to use es6 classes
fix: dont wrap class in an object for export
use const for better scoping
use jsdoc
2020-03-15 16:03:41 +01:00
Camilo Roca 2e139f8d08 fix: dont wrap class in an object for export
use jsdoc
2020-03-15 15:59:09 +01:00
Camilo Roca 4752ecf521 refactored BufferedTokenStream.js to use es6 classes
fix: dont wrap class in an object for export
use const/let for better scoping
use jsdoc
2020-03-15 15:55:15 +01:00
Terence Parr 1284814c21
Merge pull request #2771 from carocad/atn-es6
Javascript: migrate prototypical ATN objects to ES6
2020-03-09 09:17:49 -07:00
Camilo Roca 2988f32c3c fix: invalid object destructuring 2020-03-07 14:03:59 +01:00
Camilo Roca 51bcf5ffad refactored import statements to use object destructuring and avoid repetition 2020-03-07 13:59:30 +01:00
Camilo Roca ae8602a463 refactored Transition.js to use es6 classes
use const for better scoping
2020-03-07 13:45:54 +01:00