Modifier and Type | Method and Description |
---|---|
static PrimType |
convert2PrimType(java.lang.String str) |
static PrimType |
convertJavaName2PrimType(java.lang.String str) |
java.lang.String |
getName() |
static boolean |
isExtendedPrim(java.lang.String s) |
static boolean |
isPrim(java.lang.String str) |
boolean |
isQuoted() |
char |
javaformat() |
java.lang.String |
javaName() |
java.lang.String |
langName() |
static PrimType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrimType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimType Int
public static final PrimType Bool
public static final PrimType Str
public static final PrimType QStr
public static final PrimType Flt
public static final PrimType Dbl
public static final PrimType Func
public static PrimType[] values()
for (PrimType c : PrimType.values()) System.out.println(c);
public static PrimType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PrimType convert2PrimType(java.lang.String str)
public static PrimType convertJavaName2PrimType(java.lang.String str)
public java.lang.String getName()
public java.lang.String javaName()
public java.lang.String langName()
public char javaformat()
public boolean isQuoted()
public static boolean isPrim(java.lang.String str)
public static boolean isExtendedPrim(java.lang.String s)