File tree 8 files changed +11
-11
lines changed
8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ THE SOFTWARE.
34
34
public abstract class PythonLexerBase : Lexer
35
35
{
36
36
// A stack that keeps track of the indentation lengths
37
- private Stack < int > indentLengthStack = new Stack < int > ( ) ;
37
+ private Stack < int > indentLengthStack = new ( ) ;
38
38
// 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 ( ) ;
40
40
41
41
// last pending token types
42
42
private int previousPendingTokenType ;
@@ -79,8 +79,8 @@ public override void Reset()
79
79
80
80
private void Init ( )
81
81
{
82
- this . indentLengthStack = new Stack < int > ( ) ;
83
- this . pendingTokens = new LinkedList < IToken > ( ) ;
82
+ this . indentLengthStack = new ( ) ;
83
+ this . pendingTokens = new ( ) ;
84
84
this . previousPendingTokenType = 0 ;
85
85
this . lastPendingTokenTypeFromDefaultChannel = 0 ;
86
86
this . opened = 0 ;
Original file line number Diff line number Diff line change 1
- ### C# implementation
1
+ ### C# port
2
2
3
3
#### Prerequisites:
4
4
- 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
2
2
3
3
#### Prerequisites:
4
4
- 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
2
2
3
3
#### Prerequisites:
4
4
- 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
2
2
3
3
#### Prerequisites:
4
4
- 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
2
2
3
3
#### Prerequisites:
4
4
- 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
2
2
3
3
#### Prerequisites:
4
4
- 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
2
2
3
3
#### Prerequisites:
4
4
- 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