Package | Description |
---|---|
org.netbeans.api.lexer |
The entrance point into Lexer API is
TokenHierarchy class with
its static methods that provide its instance for the given input source. |
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 |
---|
InputAttributes
Supplementary information about particular input
that may be used to influence the lexer's operation.
|
Language
Language describes a set of token ids
that comprise the given language.
|
LanguagePath
Language path describes a complete embedding
of the languages starting from the root (top-level) language
till the most embedded language.
|
PartType
Whether
Token represents a complete token
or just a part of a complete token. |
Token
Token describes a lexical element of input text.
|
TokenChange
Token change describes modification on one level of a token hierarchy.
|
TokenHierarchy
Token hierarchy represents a given input source as a browsable hierarchy of tokens.
|
TokenHierarchyEvent
Description of the changes made in a token hierarchy.
|
TokenHierarchyEventType
Token hierarchy event type determines the reason
why token hierarchy modification described by
TokenHierarchyEvent
happened. |
TokenHierarchyListener
Listener for chagnes in the token hierarchy.
|
TokenSequence
Token sequence allows to iterate between tokens
of a token hierarchy.
|
Class and Description |
---|
InputAttributes
Supplementary information about particular input
that may be used to influence the lexer's operation.
|
Language
Language describes a set of token ids
that comprise the given language.
|
LanguagePath
Language path describes a complete embedding
of the languages starting from the root (top-level) language
till the most embedded language.
|
PartType
Whether
Token represents a complete token
or just a part of a complete token. |
Token
Token describes a lexical element of input text.
|
TokenHierarchy
Token hierarchy represents a given input source as a browsable hierarchy of tokens.
|
TokenId
Identifier of a token (could also be called a token-type).
|