|
org.netbeans.modules.lexer/2 1.39.1 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PartType>
org.netbeans.api.lexer.PartType
public enum PartType
Whether Token
represents a complete token
or just a part of a complete token.
A complete token may consist of one start token, zero or more middle tokens
and zero or more end tokens (there may be incomplete token
at the end of input e.g. an incomplete block comment so there is just a start
part of a token).
Enum Constant Summary | |
---|---|
COMPLETE
A given token represents a complete token. |
|
END
A given token represents end part of a complete token. |
|
MIDDLE
A given token represents middle part of a complete token. |
|
START
A given token represents initial part of a complete token. |
Method Summary | |
---|---|
static PartType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PartType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PartType COMPLETE
public static final PartType START
public static final PartType MIDDLE
public static final PartType END
Method Detail |
---|
public static PartType[] values()
for (PartType c : PartType.values()) System.out.println(c);
public static PartType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
org.netbeans.modules.lexer/2 1.39.1 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |