| 接口 | 说明 |
|---|---|
| TokenStream.CharacterStream |
Interface used by a
TokenStream.Tokenizer to iterate through the characters in the content input
to the TokenStream. |
| TokenStream.Token |
The interface defining a token, which references the characters in the actual input character
stream.
|
| TokenStream.Tokenizer |
Interface for a Tokenizer component responsible for processing the characters in a
TokenStream.CharacterStream and constructing the appropriate TokenStream.Token objects. |
| TokenStream.Tokens |
A factory for Token objects, used by a
TokenStream.Tokenizer to create tokens in the correct
order. |
| 类 | 说明 |
|---|---|
| Position |
A class that represents the position of a particular character in terms of the lines and columns
of a character sequence.
|
| TokenStream |
A stream of tokens that can be consumed by a parser.
|
| TokenStream.CharacterArrayStream |
An implementation of
TokenStream.CharacterStream that works with a single character array. |
| TokenStream.Marker |
An opaque marker for a position within the token stream.
|
| 异常错误 | 说明 |
|---|---|
| ParsingException |
An exception representing a problem during parsing of text.
|
Copyright © 2025 The Apache Software Foundation. All rights reserved.