JDK1.4编译器后端

源代码在线查看: constantclass.java

软件大小: 3687 K
上传用户: glossary
关键词: JDK 1.4 编译器 后端
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				package AST;
				import java.util.HashSet;import java.util.LinkedHashSet;import java.io.FileNotFoundException;import java.io.File;import java.util.*;import beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;								public class ConstantClass extends CPInfo {
				    // Declared in ConstantPool.jrag at line 274								    private int name;								    // Declared in ConstantPool.jrag at line 275								    public ConstantClass(int name) {				      this.name = name;				    }								    // Declared in ConstantPool.jrag at line 278								    public void emit(DataOutputStream out) throws IOException {				      out.writeByte(ConstantPool.CONSTANT_Class);				      out.writeChar(name);				    }								    // Declared in ConstantPool.jrag at line 282								    public String toString() {				      return pos + " ConstantClass: tag " + ConstantPool.CONSTANT_Class + ", name_index: " + name;				    }								
				}
							

相关资源