com.sun.tools.javac.jvm
Class Items.AssignItem

java.lang.Object
  extended by com.sun.tools.javac.jvm.Items.Item
      extended by com.sun.tools.javac.jvm.Items.AssignItem
Enclosing class:
Items

 class Items.AssignItem
extends Items.Item

An item representing an assignment expressions.


Field Summary
(package private)  Items.Item lhs
          The item representing the assignment's left hand side.
 
Fields inherited from class com.sun.tools.javac.jvm.Items.Item
typecode
 
Constructor Summary
Items.AssignItem(Items.Item lhs)
           
 
Method Summary
(package private)  void drop()
          Generate code to avoid having to use this item.
(package private)  void duplicate()
          Generate code to use this item twice.
(package private)  Items.Item load()
          Generate code to load this item onto stack.
(package private)  void stash(int toscode)
          Generate code to stash a copy of top of stack - of typecode toscode - under this item.
 java.lang.String toString()
           
(package private)  int width()
          Return the width of this item on stack as a number of words.
 
Methods inherited from class com.sun.tools.javac.jvm.Items.Item
coerce, coerce, invoke, mkCond, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lhs

Items.Item lhs
The item representing the assignment's left hand side.

Constructor Detail

Items.AssignItem

Items.AssignItem(Items.Item lhs)
Method Detail

load

Items.Item load()
Description copied from class: Items.Item
Generate code to load this item onto stack.

Overrides:
load in class Items.Item

duplicate

void duplicate()
Description copied from class: Items.Item
Generate code to use this item twice.

Overrides:
duplicate in class Items.Item

drop

void drop()
Description copied from class: Items.Item
Generate code to avoid having to use this item.

Overrides:
drop in class Items.Item

stash

void stash(int toscode)
Description copied from class: Items.Item
Generate code to stash a copy of top of stack - of typecode toscode - under this item.

Overrides:
stash in class Items.Item

width

int width()
Description copied from class: Items.Item
Return the width of this item on stack as a number of words.

Overrides:
width in class Items.Item

toString

public java.lang.String toString()
Specified by:
toString in class Items.Item