/* * Created on Feb 21, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * @author brooks * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class Symbol { private String varName; private int address; /** * */ public Symbol() { super(); // TODO Auto-generated constructor stub } public String toString() { return address + " " + varName; } public Symbol(String name, int addr) { varName = name; address = addr; } public void setName(String s) { varName = s; } public String getName() { return varName; } public int getAddress() { return address; } public void setAddress(int a) { address = a; } }