asmlabel.java
来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· Java 代码 · 共 39 行
JAVA
39 行
// $Id: ASMLabel.java,v 1.4 1999/11/04 16:53:40 deberg Exp $package java6035.tools.ASM;/** * ASMLabel represents an label in the assembly. */public class ASMLabel extends ASMEntry{ protected int asmkind() { return ASMLABEL; } /** the label */ public String label; public ASMLabel(String l) { if (l == null) throw new ASMException ("ASMLabel: in constructor: label l must not be null"); this.label = l; } /** Return the label */ public String toString() { return label; } /** Returns true if two labels are the same */ public boolean equals(Object o) { if (o instanceof ASMLabel && ((ASMLabel)o).label.equals(label)) return true; return false; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?