|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CodeExpression.Code>
com.sun.electric.database.variable.CodeExpression.Code
public static enum CodeExpression.Code
The type of Code that determines how this Variable's value should be evaluated. If NONE, no evaluation is done.
| Enum Constant Summary | |
|---|---|
JAVA
Indicator that code is in Java. |
|
NONE
Indicator that this is not code. |
|
SPICE
Indicator that code is in Lisp. |
|
TCL
Indicator that code is in TCL. |
|
| Method Summary | |
|---|---|
static CodeExpression.Code |
getByCBits(int cBits)
Method to convert a bits value to a Code object. |
static CodeExpression.Code |
getByOrdinal(int ordinal)
Method to get a Code constant by its ordinal number. |
int |
getCFlags()
Method to return the bits value of this code type. |
static java.util.Iterator<CodeExpression.Code> |
getCodes()
Method to get an iterator over all Code types. |
java.lang.String |
toString()
Method to return a printable version of this Code. |
static CodeExpression.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CodeExpression.Code[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CodeExpression.Code JAVA
public static final CodeExpression.Code SPICE
public static final CodeExpression.Code TCL
public static final CodeExpression.Code NONE
| Method Detail |
|---|
public static CodeExpression.Code[] values()
for (CodeExpression.Code c : CodeExpression.Code.values()) System.out.println(c);
public static CodeExpression.Code 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 name
java.lang.NullPointerException - if the argument is nullpublic int getCFlags()
public java.lang.String toString()
toString in class java.lang.Enum<CodeExpression.Code>public static java.util.Iterator<CodeExpression.Code> getCodes()
public static CodeExpression.Code getByCBits(int cBits)
cBits - the bits value (from I/O).
public static CodeExpression.Code getByOrdinal(int ordinal)
ordinal - the ordinal number of this Code constant ( as returned by ordinal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||