public interface Unary extends Expression
Expression subinterface for expressions which have a single operand.| Modifier and Type | Field and Description |
|---|---|
static int |
AD
Deprecated.
use
PREFIX_DECREMENT instead. |
static int |
AI
Deprecated.
use
PREFIX_INCREMENT instead. |
static int |
BITWISE_NOT
Unary function type for bitwise complement:
(~1). |
static int |
GROUP
Unary function type for a group of parentheses:
(expr). |
static int |
NEG
Unary function type for arithmetic sign complement:
(-1). |
static int |
NOT
Unary function type for a logical complement: {@code (!
|
static int |
PD
Deprecated.
use
POST_DECREMENT instead. |
static int |
PI
Deprecated.
use
POST_INCREMENT instead. |
static int |
POS
Unary function type for arithmetic sign identity:
(+1). |
static int |
POST_DECREMENT
Unary function type for arithmetic post-decrement:
(i--). |
static int |
POST_INCREMENT
Unary function type for arithmetic post-increment:
(i++). |
static int |
PREFIX_DECREMENT
Unary function type for arithmetic ante-decrement:
(--i). |
static int |
PREFIX_INCREMENT
Unary function type for arithmetic ante-increment:
(++i). |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getValue()
Getter method for the operand.
|
Unary |
setValue(Expression e)
Setter method for the operand.
|
int |
type()
Returns the type of this unary function as one of the constants in this
interface.
|
getTypeapplyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmstatic final int GROUP
(expr).static final int NOT
(!true).static final int BITWISE_NOT
(~1).static final int NEG
(-1).static final int POS
(+1).static final int PREFIX_INCREMENT
(++i).@Deprecated static final int AI
PREFIX_INCREMENT instead.(++i).static final int POST_INCREMENT
(i++).@Deprecated static final int PI
POST_INCREMENT instead.(i++).static final int PREFIX_DECREMENT
(--i).@Deprecated static final int AD
PREFIX_DECREMENT instead.(--i).static final int POST_DECREMENT
(i--).@Deprecated static final int PD
POST_DECREMENT instead.(i--).Expression getValue()
Unary setValue(Expression e)
int type()
Copyright © 2000–2018 jenesis4java. All rights reserved.