procdescriptor.java
来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· Java 代码 · 共 26 行
JAVA
26 行
// $Id: ProcDescriptor.java,v 1.4 1999/09/29 06:20:44 deberg Exp $package java6035.tools.IR;/** * ProcDescriptor is the abstract class to represent procedures. Students * should replace this class with one of their own. */public abstract class ProcDescriptor extends Descriptor{ public ProcDescriptor(String name) { super(name); } public String PPrint(int indent, boolean recursive) { String output = new String(); for(int i=0;i<indent;i++) output += " "; output += "(proc_descriptor " + name + ")\n"; return output; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?