com.sun.tools.javac.jvm
class: Items.AssignItem [javadoc |
source]
java.lang.Object
com.sun.tools.javac.jvm.Items.Item
com.sun.tools.javac.jvm.Items$AssignItem
An item representing an assignment expressions.
Field Summary |
---|
Item | lhs | The item representing the assignment's left hand side. |
Methods from com.sun.tools.javac.jvm.Items$Item: |
---|
coerce, coerce, drop, duplicate, invoke, load, mkCond, stash, store, toString, width |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from com.sun.tools.javac.jvm.Items$AssignItem Detail: |
void drop() {
lhs.store();
}
|
void duplicate() {
load().duplicate();
}
|
Item load() {
lhs.stash(typecode);
lhs.store();
return stackItem[typecode];
}
|
void stash(int toscode) {
Assert.error();
}
|
public String toString() {
return "assign(lhs = " + lhs + ")";
}
|
int width() {
return lhs.width() + Code.width(typecode);
}
|