public enum ZToken extends Enum<ZToken> implements Token
Enum Constant and Description |
---|
AX |
DECORWORD |
END |
GENAX |
GENSCH |
INDENT |
INSTROKE |
LBIND |
LBRACE |
LDATA |
LPAREN |
LSQUARE |
NEXTSTROKE |
NL |
NUMERAL |
NUMSTROKE |
OUTSTROKE |
RBIND |
RBRACE |
RDATA |
RPAREN |
RSQUARE |
SCH |
TEXT |
ZED |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
NewlineCategory |
getNewlineCategory() |
Object |
getSpelling() |
String |
spelling() |
static ZToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZToken TEXT
public static final ZToken DECORWORD
public static final ZToken NUMERAL
public static final ZToken NUMSTROKE
public static final ZToken INSTROKE
public static final ZToken OUTSTROKE
public static final ZToken NEXTSTROKE
public static final ZToken LPAREN
public static final ZToken RPAREN
public static final ZToken LSQUARE
public static final ZToken RSQUARE
public static final ZToken LBRACE
public static final ZToken RBRACE
public static final ZToken LBIND
public static final ZToken RBIND
public static final ZToken LDATA
public static final ZToken RDATA
public static final ZToken ZED
public static final ZToken AX
public static final ZToken SCH
public static final ZToken GENAX
public static final ZToken GENSCH
public static final ZToken END
public static final ZToken NL
public static final ZToken INDENT
public static ZToken[] values()
for (ZToken c : ZToken.values()) System.out.println(c);
public static ZToken valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Object getSpelling()
getSpelling
in interface Token
public NewlineCategory getNewlineCategory()
getNewlineCategory
in interface Token
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.