11++
++11
~1
-333
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private Expression | |
| private UnaryExpr. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | UnaryExpr(TokenRange tokenRange, Expression expression, UnaryExpr.
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public <R, A> R | accept(final GenericVisitor<R, A>
the visitor implementation v, final A the argument passed to the visitor (of type A) arg)Implements com. |
| public <A> void | accept(final VoidVisitor<A>
the visitor implementation v, final A any value relevant for the visitor (of type A) arg)Implements com. |
| public UnaryExpr | |
| public UnaryExpr | clone()
Creates and returns a copy of this object.
|
| public Expression | |
| public UnaryExprMetaModel | |
| public UnaryExpr. | |
| public void | ifUnaryExpr(Consumer<UnaryExpr> action)
Overrides com. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | replace(Node node, Node replacementNode)
Overrides com. |
| public UnaryExpr | setExpression(final Expression expression)
Implements com. |
| public UnaryExpr | |
| public Optional |
| expression | back to summary |
|---|---|
| private Expression expression | |
| operator | back to summary |
|---|---|
| private UnaryExpr. | |
| UnaryExpr | back to summary |
|---|---|
| public UnaryExpr() | |
| UnaryExpr | back to summary |
|---|---|
public UnaryExpr(final Expression expression, final UnaryExpr.
| |
| UnaryExpr | back to summary |
|---|---|
| public UnaryExpr(TokenRange tokenRange, Expression expression, UnaryExpr. This constructor is used by the parser and is considered private.
| |
| accept | back to summary |
|---|---|
| public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| accept | back to summary |
|---|---|
| public <A> void accept(final VoidVisitor<A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| asUnaryExpr | back to summary |
|---|---|
| public UnaryExpr asUnaryExpr() Overrides com.
| |
| clone | back to summary |
|---|---|
| public UnaryExpr clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getExpression | back to summary |
|---|---|
| public Expression getExpression() Implements com.
| |
| getMetaModel | back to summary |
|---|---|
| public UnaryExprMetaModel getMetaModel() Overrides com.
| |
| getOperator | back to summary |
|---|---|
public UnaryExpr.
| |
| ifUnaryExpr | back to summary |
|---|---|
| public void ifUnaryExpr(Consumer<UnaryExpr> action) Overrides com.
| |
| isPostfix | back to summary |
|---|---|
public boolean isPostfix()
| |
| isPrefix | back to summary |
|---|---|
public boolean isPrefix()
| |
| isUnaryExpr | back to summary |
|---|---|
| public boolean isUnaryExpr() Overrides com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| setExpression | back to summary |
|---|---|
| public UnaryExpr setExpression(final Expression expression) Implements com.
| |
| setOperator | back to summary |
|---|---|
public UnaryExpr setOperator(final UnaryExpr.
| |
| toUnaryExpr | back to summary |
|---|---|
| public Optional Overrides com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final UnaryExpr. | |
| private final String | |
| private final boolean | |
| public static final UnaryExpr. | |
| public static final UnaryExpr. | |
| public static final UnaryExpr. | |
| public static final UnaryExpr. | |
| public static final UnaryExpr. | |
| public static final UnaryExpr. | |
| public static final UnaryExpr. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | |
| public boolean | |
| public static UnaryExpr. | |
| public static UnaryExpr. |
| BITWISE_COMPLEMENT | back to summary |
|---|---|
| public static final UnaryExpr. | |
| codeRepresentation | back to summary |
|---|---|
| private final String codeRepresentation | |
| isPostfix | back to summary |
|---|---|
| private final boolean isPostfix | |
| LOGICAL_COMPLEMENT | back to summary |
|---|---|
| public static final UnaryExpr. | |
| MINUS | back to summary |
|---|---|
| public static final UnaryExpr. | |
| PLUS | back to summary |
|---|---|
| public static final UnaryExpr. | |
| POSTFIX_DECREMENT | back to summary |
|---|---|
| public static final UnaryExpr. | |
| POSTFIX_INCREMENT | back to summary |
|---|---|
| public static final UnaryExpr. | |
| PREFIX_DECREMENT | back to summary |
|---|---|
| public static final UnaryExpr. | |
| PREFIX_INCREMENT | back to summary |
|---|---|
| public static final UnaryExpr. | |
| Operator | back to summary |
|---|---|
| private Operator(String codeRepresentation, boolean isPostfix) | |
| asString | back to summary |
|---|---|
| public String asString() Implements com. | |
| isPostfix | back to summary |
|---|---|
| public boolean isPostfix() | |
| isPrefix | back to summary |
|---|---|
| public boolean isPrefix() | |
| valueOf | back to summary |
|---|---|
| public static UnaryExpr. | |
| values | back to summary |
|---|---|
| public static UnaryExpr. | |