public static class PostfixExpression.Operator extends Object
PostfixOperator:++
INCREMENT
--
DECREMENT
Modifier and Type | Field and Description |
---|---|
static PostfixExpression.Operator |
DECREMENT
Postfix decrement "--" operator.
|
static PostfixExpression.Operator |
INCREMENT
Postfix increment "++" operator.
|
Modifier and Type | Method and Description |
---|---|
static PostfixExpression.Operator |
toOperator(String token)
Returns the postfix operator corresponding to the given string,
or
null if none. |
String |
toString()
Returns the character sequence for the operator.
|
public static final PostfixExpression.Operator INCREMENT
public static final PostfixExpression.Operator DECREMENT
public String toString()
public static PostfixExpression.Operator toOperator(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 operatornull
if none
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.