|
org.netbeans.modules.lexer/2 1.19.0 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InputAttributes | |
---|---|
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 . |
Uses of InputAttributes in org.netbeans.api.lexer |
---|
Methods in org.netbeans.api.lexer with parameters of type InputAttributes | ||
---|---|---|
static
|
TokenHierarchy.create(CharSequence inputText,
boolean copyInputText,
Language<T> language,
Set<T> skipTokenIds,
InputAttributes inputAttributes)
Create token hierarchy for the given input text. |
|
static
|
TokenHierarchy.create(Reader inputReader,
Language<T> language,
Set<T> skipTokenIds,
InputAttributes inputAttributes)
Create token hierarchy for the given reader. |
Uses of InputAttributes in org.netbeans.spi.lexer |
---|
Methods in org.netbeans.spi.lexer that return InputAttributes | |
---|---|
protected abstract InputAttributes |
MutableTextInput.inputAttributes()
Get lexer-specific information about this input or null if there is no specific information. |
InputAttributes |
LexerRestartInfo.inputAttributes()
|
Methods in org.netbeans.spi.lexer with parameters of type InputAttributes | |
---|---|
protected LanguageEmbedding<? extends TokenId> |
LanguageHierarchy.embedding(Token<T> token,
LanguagePath languagePath,
InputAttributes inputAttributes)
Get language embedding (if exists) for a particular token of the language at this level of language hierarchy. |
abstract LanguageEmbedding<? extends TokenId> |
LanguageProvider.findLanguageEmbedding(Token<? extends TokenId> token,
LanguagePath languagePath,
InputAttributes inputAttributes)
Finds LanguageEmbedding that will define what language is
embedded in a given token. |
|
org.netbeans.modules.lexer/2 1.19.0 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |