File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ type Lexer = (resetPosition?: number) => Token;
28
28
* Given a Source object, this returns a Lexer for that source.
29
29
* A Lexer is a function that acts like a generator in that every time
30
30
* it is called, it returns the next token in the Source. Assuming the
31
- * source lexes, the final Token omitted by the lexer will be of kind
31
+ * source lexes, the final Token emitted by the lexer will be of kind
32
32
* EOF, after which the lexer will repeatedly return EOF tokens whenever
33
33
* called.
34
34
*
@@ -48,7 +48,7 @@ export function lex(source: Source): Lexer {
48
48
}
49
49
50
50
/**
51
- * An enum describing the different kinds of tokens that the lexer omits .
51
+ * An enum describing the different kinds of tokens that the lexer emits .
52
52
*/
53
53
export var TokenKind = {
54
54
EOF : 1 ,
You can’t perform that action at this time.
0 commit comments