File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class TokenType(Enum):
1818
1919 EOF = auto ()
2020 ERROR = auto ()
21- SKIP = auto ()
21+ INIT = auto ()
2222
2323 SHORTHAND_PROPERTY = auto ()
2424 COLON = auto ()
@@ -31,10 +31,6 @@ class TokenType(Enum):
3131 PROPERTY = auto ()
3232 RBRACKET = auto ()
3333 ROOT = auto ()
34- SLICE = auto ()
35- SLICE_START = auto ()
36- SLICE_STEP = auto ()
37- SLICE_STOP = auto ()
3834 WILD = auto ()
3935
4036 AND = auto ()
@@ -116,7 +112,7 @@ class TokenStream:
116112 def __init__ (self , token_iter : Iterable [Token ]):
117113 self .iter = iter (token_iter )
118114 self ._pushed : Deque [Token ] = deque ()
119- self .current = Token (TokenType .SKIP , "" , - 1 , "" )
115+ self .current = Token (TokenType .INIT , "" , - 1 , "" )
120116 next (self )
121117
122118 class TokenStreamIterator :
You can’t perform that action at this time.
0 commit comments