public Type getType() { return symbol.getType(); }
public String getName() { return symbol.getName(); }
public Value getInitial() { return symbol.getType().initialValue(); }
/** * Constructor * * @param symbol The symbol to declare */ public Declaration(Symbol symbol) { this.symbol = symbol; this.slot = symbol.getLocation(); }