Klasse PrefixExpression.Operator
java.lang.Object
org.aspectj.org.eclipse.jdt.core.dom.PrefixExpression.Operator
- Umschließende Klasse:
PrefixExpression
Prefix operators (typesafe enumeration).
PrefixOperator:
++ INCREMENT
-- DECREMENT
+ PLUS
- MINUS
~ COMPLEMENT
! NOT
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final PrefixExpression.OperatorBitwise complement "~" operator.static final PrefixExpression.OperatorPrefix decrement "--" operator.static final PrefixExpression.OperatorPrefix increment "++" operator.static final PrefixExpression.OperatorUnary minus "-" operator.static final PrefixExpression.OperatorLogical complement "!"static final PrefixExpression.OperatorUnary plus "+" operator. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic PrefixExpression.OperatortoOperator(String token) Returns the prefix operator corresponding to the given string, ornullif none.toString()Returns the character sequence for the operator.
-
Felddetails
-
INCREMENT
Prefix increment "++" operator. -
DECREMENT
Prefix decrement "--" operator. -
PLUS
Unary plus "+" operator. -
MINUS
Unary minus "-" operator. -
COMPLEMENT
Bitwise complement "~" operator. -
NOT
Logical complement "!" operator.
-
-
Methodendetails
-
toString
Returns the character sequence for the operator. -
toOperator
Returns the prefix operator corresponding to the given string, ornullif none.toOperatoris the converse oftoString: that is,Operator.toOperator(op.toString()) == opfor all operatorsop.- Parameter:
token- the character sequence for the operator- Gibt zurück:
- the prefix operator, or
nullif none
-