instruction.java
来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· Java 代码 · 共 29 行
JAVA
29 行
// $Id: Instruction.java,v 1.5 1999/10/06 03:40:00 deberg Exp $package java6035.tools.IR;/** * Instruction class represents a statement or instruction in your program. * There are several forms of instructions in this package: * * <PRE> * assignment instrs SimpleInstr class * expression statement SimpleInstr class * branch instrs BranchInstr class * label instr LabelInstr class * return instr ReturnInstr class * </PRE> */public abstract class Instruction extends TreeNode { public String PPrint(int indent, boolean recursive) { String output = new String(); for(int i=0;i<indent;i++) output += " "; output += "PPrint of instructions not supported\n"; return output; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?