forked from jasder/antlr
Merge pull request #2679 from tehbone/master
Fix placement of @members in Javascript target lexers
This commit is contained in:
commit
b8e65bfca9
|
@ -232,7 +232,8 @@ YYYY/MM/DD, github id, Full name, email
|
|||
2019/09/10, amorimjuliana, Juliana Amorim, juu.amorim@gmail.com
|
||||
2019/09/17, kaz, Kazuki Sawada, kazuki@6715.jp
|
||||
2019/09/28, lmy269, Mingyang Liu, lmy040758@gmail.com
|
||||
2019/10/29, tehbone, Tabari Alexander, tehbone@gmail.com
|
||||
2019/10/31, a-square, Alexei Averchenko, lex.aver@gmail.com
|
||||
2019/11/11, foxeverl, Liu Xinfeng, liuxf1986[at]gmail[dot]com
|
||||
2019/11/17, felixn, Felix Nieuwenhuizhen, felix@tdlrali.com
|
||||
2019/11/18, mlilback, Mark Lilback, mark@lilback.com
|
||||
2019/11/18, mlilback, Mark Lilback, mark@lilback.com
|
|
@ -815,6 +815,7 @@ var decisionsToDFA = atn.decisionToState.map( function(ds, index) { return new a
|
|||
function <lexer.name>(input) {
|
||||
<if(superClass)><superClass><else>antlr4.Lexer<endif>.call(this, input);
|
||||
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
|
||||
<namedActions.members>
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -850,8 +851,6 @@ Object.defineProperty(<lexer.name>.prototype, "atn", {
|
|||
|
||||
<lexer.name>.prototype.grammarFileName = "<lexer.grammarFileName>";
|
||||
|
||||
<namedActions.members>
|
||||
|
||||
<dumpActions(lexer, "", actionFuncs, sempredFuncs)>
|
||||
|
||||
exports.<lexer.name> = <lexer.name>;
|
||||
|
|
Loading…
Reference in New Issue