public class Label
extends java.lang.Object
Constructor and Description |
---|
Label()
Makes a new label with an arbitrary name.
|
Label(java.lang.String n)
Makes a new label that prints as "name".
|
Label(Symbol s)
Makes a new label whose name is the same as a symbol.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
a printable representation of the label, for use in assembly
language output.
|
public Label(java.lang.String n)
public Label()
public Label(Symbol s)