lexoutput.java.svn-base

来自「北航编译原理课程设计成果——一个扩充的C0文法编译器」· SVN-BASE 代码 · 共 33 行

SVN-BASE
33
字号
package cn.edu.buaa.scse.liyi.test;

/**
 * 
 * @author liyi
 */

public class Lexoutput
{
	// define variables
	public int type;
	public String word;
    
	// constructor
	public Lexoutput()
	{
		this.type=-1;
		this.word=null;
	}
	
	public Lexoutput(Lexoutput lop)
	{
		this.type=lop.type;
		this.word=lop.word;
	}
	
	@Override
	public String toString()
	{
		return word+'['+type+']';
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?