| 类 | 说明 |
|---|---|
| CharacterStream |
Wraps a the content of a
Source and handles traversing the contained characters. |
| GenericTokenParser | |
| LiteralToken | |
| Parser |
Parses a
Source into a MagicScript. |
| RegexpToken | |
| Scope | |
| Span |
A span within a source string denoted by start and end index, with the latter being exclusive.
|
| Span.Line |
A line within a Source
|
| Token |
A token produced by the
Tokenizer. |
| Tokenizer | |
| TokenStream |
Iterates over a list of
Token instances, provides methods to match expected tokens and throw errors in case of a
mismatch. |
| VarIndex | |
| VarNode |
| 枚举 | 说明 |
|---|---|
| TokenType |
Enumeration of token types.
|
Copyright © 2020–2021. All rights reserved.