Package org.jboss.jdeparser
Interface JAssignableExpr
-
- All Superinterfaces:
JCommentable
,JExpr
,JStatement
public interface JAssignableExpr extends JExpr, JStatement
An expression which is assignable (that is, is a valid "lvalue").- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JExpr
addAssign(JExpr e1)
Combine this expression with another using the binary+=
operator.JExpr
andAssign(JExpr e1)
Combine this expression with another using the binary&=
operator.JExpr
assign(JExpr e1)
Combine this expression with another using the binary=
operator.JExpr
divAssign(JExpr e1)
Combine this expression with another using the binary/=
operator.JExpr
lshrAssign(JExpr e1)
Combine this expression with another using the binary>>>=
operator.JExpr
modAssign(JExpr e1)
Combine this expression with another using the binary%=
operator.JExpr
mulAssign(JExpr e1)
Combine this expression with another using the binary*=
operator.JExpr
orAssign(JExpr e1)
Combine this expression with another using the binary|=
operator.JExpr
postDec()
Apply the postfix--
operator to this expression.JExpr
postInc()
Apply the postfix++
operator to this expression.JExpr
preDec()
Apply the prefix--
operator to this expression.JExpr
preInc()
Apply the prefix++
operator to this expression.JExpr
shlAssign(JExpr e1)
Combine this expression with another using the binary<<=
operator.JExpr
shrAssign(JExpr e1)
Combine this expression with another using the binary>>=
operator.JExpr
subAssign(JExpr e1)
Combine this expression with another using the binary-=
operator.JExpr
xorAssign(JExpr e1)
Combine this expression with another using the binary^=
operator.-
Methods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineComment
-
Methods inherited from interface org.jboss.jdeparser.JExpr
_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, or, paren, plus, shl, shr, times
-
-
-
-
Method Detail
-
assign
JExpr assign(JExpr e1)
Combine this expression with another using the binary=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
addAssign
JExpr addAssign(JExpr e1)
Combine this expression with another using the binary+=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
subAssign
JExpr subAssign(JExpr e1)
Combine this expression with another using the binary-=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
mulAssign
JExpr mulAssign(JExpr e1)
Combine this expression with another using the binary*=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
divAssign
JExpr divAssign(JExpr e1)
Combine this expression with another using the binary/=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
modAssign
JExpr modAssign(JExpr e1)
Combine this expression with another using the binary%=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
andAssign
JExpr andAssign(JExpr e1)
Combine this expression with another using the binary&=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
orAssign
JExpr orAssign(JExpr e1)
Combine this expression with another using the binary|=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
xorAssign
JExpr xorAssign(JExpr e1)
Combine this expression with another using the binary^=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
shrAssign
JExpr shrAssign(JExpr e1)
Combine this expression with another using the binary>>=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
lshrAssign
JExpr lshrAssign(JExpr e1)
Combine this expression with another using the binary>>>=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
shlAssign
JExpr shlAssign(JExpr e1)
Combine this expression with another using the binary<<=
operator.- Parameters:
e1
- the other expression- Returns:
- the combined expression
-
postInc
JExpr postInc()
Apply the postfix++
operator to this expression.- Returns:
- the new expression
-
postDec
JExpr postDec()
Apply the postfix--
operator to this expression.- Returns:
- the new expression
-
preInc
JExpr preInc()
Apply the prefix++
operator to this expression.- Returns:
- the new expression
-
preDec
JExpr preDec()
Apply the prefix--
operator to this expression.- Returns:
- the new expression
-
-