File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ def lookahead(self):
171
171
def read_token (self , prev : Token ) -> Token :
172
172
"""Get the next token from the source starting at the given position.
173
173
174
- This skips over whitespace and comments until it finds the next lexable token,
175
- then lexes punctuators immediately or calls the appropriate helper function fo
176
- more complicated tokens.
174
+ This skips over whitespace until it finds the next lexable token, then lexes
175
+ punctuators immediately or calls the appropriate helper function for more
176
+ complicated tokens.
177
177
"""
178
178
source = self .source
179
179
body = source .body
@@ -210,8 +210,8 @@ def read_token(self, prev: Token) -> Token:
210
210
def position_after_whitespace (self , body , start_position : int ) -> int :
211
211
"""Go to next position after a whitespace.
212
212
213
- Reads from body starting at startPosition until it finds a non-whitespace or
214
- commented character, then returns the position of that character for lexing.
213
+ Reads from body starting at start_position until it finds a non-whitespace
214
+ character, then returns the position of that character for lexing.
215
215
"""
216
216
body_length = len (body )
217
217
position = start_position
You can’t perform that action at this time.
0 commit comments