|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||
java.lang.Objectedu.ustc.cs.compile.arch.AssemblyElement
edu.ustc.cs.compile.arch.Label
public class Label
Provides a representation of the label in the assembly language codes.
A label is a string symbol indicating an address. This string symbol is called the name of the label, and is uniqe in a whole assembly language program.
Label label = new Label("main");
| 字段摘要 | |
|---|---|
private java.lang.String |
label
|
| 构造函数摘要 | |
|---|---|
Label(java.lang.String label)
Constructs a label. |
|
| 方法摘要 | |
|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether another object equals to this label. |
java.lang.String |
label()
Gets the name of this label. |
java.lang.String |
toString()
Returns a string representataion of this label. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
private java.lang.String label
| 构造函数详细信息 |
|---|
public Label(java.lang.String label)
label - the name of the label.| 方法详细信息 |
|---|
public java.lang.String label()
public java.lang.String toString()
java.lang.Object 中的 toStringpublic boolean equals(java.lang.Object o)
java.lang.Object 中的 equalso - another object
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||