/** * Constructor * * @param symbol The symbol to declare */ public Declaration(Symbol symbol) { this.symbol = symbol; this.slot = symbol.getLocation(); }