File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed
Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ THE SOFTWARE.
3434public abstract class PythonLexerBase : Lexer
3535{
3636 // A stack that keeps track of the indentation lengths
37- private Stack < int > indentLengthStack = new Stack < int > ( ) ;
37+ private Stack < int > indentLengthStack = new ( ) ;
3838 // A list where tokens are waiting to be loaded into the token stream
39- private LinkedList < IToken > pendingTokens = new LinkedList < IToken > ( ) ;
39+ private LinkedList < IToken > pendingTokens = new ( ) ;
4040
4141 // last pending token types
4242 private int previousPendingTokenType ;
@@ -79,8 +79,8 @@ public override void Reset()
7979
8080 private void Init ( )
8181 {
82- this . indentLengthStack = new Stack < int > ( ) ;
83- this . pendingTokens = new LinkedList < IToken > ( ) ;
82+ this . indentLengthStack = new ( ) ;
83+ this . pendingTokens = new ( ) ;
8484 this . previousPendingTokenType = 0 ;
8585 this . lastPendingTokenTypeFromDefaultChannel = 0 ;
8686 this . opened = 0 ;
Original file line number Diff line number Diff line change 1- ### C# implementation
1+ ### C# port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
Original file line number Diff line number Diff line change 1- ### Dart implementation
1+ ### Dart port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
Original file line number Diff line number Diff line change 1- ### Go implementation
1+ ### Go port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
Original file line number Diff line number Diff line change 1- ### Java 8 implementation
1+ ### Java 8 port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
Original file line number Diff line number Diff line change 1- ### JavaScript implementation
1+ ### JavaScript port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
Original file line number Diff line number Diff line change 1- ### Python 3 implementation
1+ ### Python 3 port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
Original file line number Diff line number Diff line change 1- ### TypeScript implementation
1+ ### TypeScript port
22
33#### Prerequisites:
44- Installed [ ANTLR4-tools] ( https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#getting-started-the-easy-way-using-antlr4-tools )
You can’t perform that action at this time.
0 commit comments