|
org.netbeans.modules.lexer/2 1.39.1 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PartType | |
---|---|
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 PartType in org.netbeans.api.lexer |
---|
Methods in org.netbeans.api.lexer that return PartType | |
---|---|
abstract PartType |
Token.partType()
Check whether this token represents a complete token or whether it's a particular part of a complete token. |
static PartType |
PartType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PartType[] |
PartType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Uses of PartType in org.netbeans.spi.lexer |
---|
Methods in org.netbeans.spi.lexer with parameters of type PartType | |
---|---|
Token<T> |
TokenFactory.createCustomTextToken(T id,
CharSequence text,
int length,
PartType partType)
Deprecated. This method is deprecated without replacement - see description how a similar effect can be obtained. |
Token<T> |
TokenFactory.createPropertyToken(T id,
int length,
TokenPropertyProvider<T> propertyProvider,
PartType partType)
Create token with properties. |
Token<T> |
TokenFactory.createToken(T id,
int length,
PartType partType)
Create regular token instance with an explicit length and part type. |
|
org.netbeans.modules.lexer/2 1.39.1 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |