polyglot.ast
Class Unary.Operator
java.lang.Object
polyglot.util.Enum
polyglot.ast.Unary.Operator
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing interface:
- Unary
public static class Unary.Operator
- extends Enum
Unary expression operator.
- See Also:
- Serialized Form
Constructor Summary |
Unary.Operator(java.lang.String name,
boolean prefix)
|
Method Summary |
boolean |
isPrefix()
Returns true of the operator is a prefix operator, false if
postfix. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Unary.Operator
public Unary.Operator(java.lang.String name,
boolean prefix)
isPrefix
public boolean isPrefix()
- Returns true of the operator is a prefix operator, false if
postfix.
toString
public java.lang.String toString()
- Overrides:
toString
in class Enum