LanguageHierarchy that mainly defines
set of token ids and token categories for the new language
and its Lexer.See: Description
| Interface | Description |
|---|---|
| Lexer<T extends TokenId> |
Lexer reads input characters from
LexerInput and groups
them into tokens. |
| TokenPropertyProvider<T extends TokenId> |
Provides extra properties of a token.
|
| TokenValidator<T extends TokenId> |
Token validator checks whether an existing token was affected
by just performed input source modification so that it needs to be relexed.
|
| Class | Description |
|---|---|
| LanguageEmbedding<T extends TokenId> |
Description of a particular language embedding including
starting and ending skipped regions of a token containing this embedding
and a definition of an embedded language hierarchy.
|
| LanguageHierarchy<T extends TokenId> |
Definition of a language, its lexer and its embedded languages.
|
| LanguageProvider |
The
Language provider. |
| LexerInput |
Provides characters to feed the
Lexer. |
| LexerRestartInfo<T extends TokenId> |
Lexer restart info contains all the necessary information for restarting
of a lexer mainly the lexer input, state and token factory.
|
| MutableTextInput<I> |
Mutable attributed character sequence allowing to listen for changes in its text.
|
| TokenFactory<T extends TokenId> |
Lexer should delegate all the token instances creation to this class.
|
| TokenHierarchyControl<I> |
Control class for managing token hierarchy of a mutable text input.
|
| Enum | Description |
|---|---|
| EmbeddingPresence |
Defines whether a default embedding can be present for the given token id or not.
|
LanguageHierarchy that mainly defines
set of token ids and token categories for the new language
and its Lexer.