Package org.jboss.jdeparser
Class UnaryJExpr
- java.lang.Object
-
- org.jboss.jdeparser.AbstractJExpr
-
- org.jboss.jdeparser.UnaryJExpr
-
- Direct Known Subclasses:
IncDecJExpr
class UnaryJExpr extends AbstractJExpr
-
-
Constructor Summary
Constructors Constructor Description UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr)
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec)
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec, boolean postfix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) AbstractJExpr
getExpression()
(package private) boolean
isPostfix()
void
write(SourceFileWriter writer)
-
Methods inherited from class org.jboss.jdeparser.AbstractJExpr
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, of, or, paren, plus, prec, shl, shr, times
-
-
-
-
Field Detail
-
op
private final Tokens.$PUNCT.UNOP op
-
expr
private final AbstractJExpr expr
-
postfix
private final boolean postfix
-
-
Constructor Detail
-
UnaryJExpr
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr)
-
UnaryJExpr
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec)
-
UnaryJExpr
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec, boolean postfix)
-
-
Method Detail
-
getExpression
AbstractJExpr getExpression()
-
isPostfix
boolean isPostfix()
-
write
public void write(SourceFileWriter writer) throws java.io.IOException
- Throws:
java.io.IOException
-
-