Package org.eclipse.jdt.core.dom
Class PostfixExpression.Operator
java.lang.Object
org.eclipse.jdt.core.dom.PostfixExpression.Operator
- Enclosing class:
- PostfixExpression
Postfix operators (typesafe enumeration).
PostfixOperator:++
INCREMENT
--
DECREMENT
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PostfixExpression.Operator
Postfix decrement "--" operator.static final PostfixExpression.Operator
Postfix increment "++" operator. -
Method Summary
Modifier and TypeMethodDescriptionstatic PostfixExpression.Operator
toOperator
(String token) Returns the postfix operator corresponding to the given string, ornull
if none.toString()
Returns the character sequence for the operator.
-
Field Details
-
INCREMENT
Postfix increment "++" operator. -
DECREMENT
Postfix decrement "--" operator.
-
-
Method Details
-
toString
Returns the character sequence for the operator. -
toOperator
Returns the postfix operator corresponding to the given string, ornull
if none.toOperator
is the converse oftoString
: that is,Operator.toOperator(op.toString()) == op
for all operatorsop
.- Parameters:
token
- the character sequence for the operator- Returns:
- the postfix operator, or
null
if none
-