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
FieldsModifier and TypeFieldDescriptionstatic final PostfixExpression.OperatorPostfix decrement "--" operator.static final PostfixExpression.OperatorPostfix increment "++" operator. -
Method Summary
Modifier and TypeMethodDescriptionstatic PostfixExpression.OperatortoOperator(String token) Returns the postfix operator corresponding to the given string, ornullif 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, ornullif none.toOperatoris the converse oftoString: that is,Operator.toOperator(op.toString()) == opfor all operatorsop.- Parameters:
token- the character sequence for the operator- Returns:
- the postfix operator, or
nullif none
-