All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Temp.Label

java.lang.Object
   |
   +----Temp.Label

public class Label
extends Object
A Label represents an address in assembly language.


Constructor Index

 o Label()
Makes a new label with an arbitrary name.
 o Label(String)
Makes a new label that prints as "name".
 o Label(Symbol)
Makes a new label whose name is the same as a symbol.

Method Index

 o toString()
a printable representation of the label, for use in assembly language output.

Constructors

 o Label
 public Label(String n)
Makes a new label that prints as "name". Warning: avoid repeated calls to new Label(s) with the same name s.

 o Label
 public Label()
Makes a new label with an arbitrary name.

 o Label
 public Label(Symbol s)
Makes a new label whose name is the same as a symbol.

Methods

 o toString
 public String toString()
a printable representation of the label, for use in assembly language output.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index