public enum ExprPrinter extends java.lang.Enum<ExprPrinter> implements ExprTreePrinter
| Enum Constant and Description |
|---|
VERILOG
The Verilog-style expression tree printer.
|
VHDL
The VHDL-style expression tree printer.
|
| Modifier and Type | Method and Description |
|---|---|
static ExprTreePrinter |
getExprPrinter(java.lang.String name)
Returns expression printer with the specified name.
|
static java.lang.String[] |
names()
Returns an array of expression tree printer names.
|
java.lang.String |
toString(Node node)
Returns the string representation of the given expression tree.
|
static ExprPrinter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExprPrinter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExprPrinter VHDL
public static final ExprPrinter VERILOG
public static ExprPrinter[] values()
for (ExprPrinter c : ExprPrinter.values()) System.out.println(c);
public static ExprPrinter 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 java.lang.String[] names()
public static ExprTreePrinter getExprPrinter(java.lang.String name)
name - printer nameExprTreePrinter expression printer object
or null if there is no printer with such namepublic java.lang.String toString(Node node)
ExprTreePrintertoString in interface ExprTreePrinternode - the expression tree to be printed.