Package | Description |
---|---|
org.netbeans.spi.lexer |
The main abstract class in the Lexer SPI that must be implemented
is
LanguageHierarchy that mainly defines
set of token ids and token categories for the new language
and its Lexer . |
Class and Description |
---|
EmbeddingPresence
Defines whether a default embedding can be present for the given token id or not.
|
LanguageEmbedding
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.
|
Lexer
Lexer reads input characters from
LexerInput and groups
them into tokens. |
LexerInput
Provides characters to feed the
Lexer . |
LexerRestartInfo
Lexer restart info contains all the necessary information for restarting
of a lexer mainly the lexer input, state and token factory.
|
TokenFactory
Lexer should delegate all the token instances creation to this class.
|
TokenHierarchyControl
Control class for managing token hierarchy of a mutable text input.
|
TokenPropertyProvider
Provides extra properties of a token.
|
TokenValidator
Token validator checks whether an existing token was affected
by just performed input source modification so that it needs to be relexed.
|