|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.wst.jsdt.core.dom.PrefixExpression.Operator
public static class PrefixExpression.Operator
Prefix operators (typesafe enumeration).
PrefixOperator:
++ INCREMENT
-- DECREMENT
+ PLUS
- MINUS
~ COMPLEMENT
! NOT
| Field Summary | |
|---|---|
static PrefixExpression.Operator |
COMPLEMENT
Bitwise complement "~" operator. |
static PrefixExpression.Operator |
DECREMENT
Prefix decrement "--" operator. |
static PrefixExpression.Operator |
INCREMENT
Prefix increment "++" operator. |
static PrefixExpression.Operator |
MINUS
Unary minus "-" operator. |
static PrefixExpression.Operator |
NOT
Logical complement "!" |
static PrefixExpression.Operator |
PLUS
Unary plus "+" operator. |
| Method Summary | |
|---|---|
static PrefixExpression.Operator |
toOperator(java.lang.String token)
Returns the prefix operator corresponding to the given string, or null if none. |
java.lang.String |
toString()
Returns the character sequence for the operator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PrefixExpression.Operator INCREMENT
public static final PrefixExpression.Operator DECREMENT
public static final PrefixExpression.Operator PLUS
public static final PrefixExpression.Operator MINUS
public static final PrefixExpression.Operator COMPLEMENT
public static final PrefixExpression.Operator NOT
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic static PrefixExpression.Operator toOperator(java.lang.String token)
null if none.
toOperator is the converse of toString:
that is, Operator.toOperator(op.toString()) == op for
all operators op.
token - the character sequence for the operator
null if none
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||