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):
18
18
19
19
EOF = auto ()
20
20
ERROR = auto ()
21
- SKIP = auto ()
21
+ INIT = auto ()
22
22
23
23
SHORTHAND_PROPERTY = auto ()
24
24
COLON = auto ()
@@ -31,10 +31,6 @@ class TokenType(Enum):
31
31
PROPERTY = auto ()
32
32
RBRACKET = auto ()
33
33
ROOT = auto ()
34
- SLICE = auto ()
35
- SLICE_START = auto ()
36
- SLICE_STEP = auto ()
37
- SLICE_STOP = auto ()
38
34
WILD = auto ()
39
35
40
36
AND = auto ()
@@ -116,7 +112,7 @@ class TokenStream:
116
112
def __init__ (self , token_iter : Iterable [Token ]):
117
113
self .iter = iter (token_iter )
118
114
self ._pushed : Deque [Token ] = deque ()
119
- self .current = Token (TokenType .SKIP , "" , - 1 , "" )
115
+ self .current = Token (TokenType .INIT , "" , - 1 , "" )
120
116
next (self )
121
117
122
118
class TokenStreamIterator :
You can’t perform that action at this time.
0 commit comments