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