// SymbolTable.java

// Date: 3/1/98
// Author: Adam Berger
// Description: stores 'satellite data' for hash table: token type and binding for each entry

public class SData {  
  private int       tokenType;   // see TokenTypes.java
  private ParseNode binding;
  
  public SData(int t, ParseNode binding_) { tokenType=t; setBinding(binding_); }
  public void setTokenType(int tokenType_) { tokenType=tokenType_; }
  public int getTokenType() { return tokenType; }
  public void setBinding(ParseNode binding_) { binding=binding_; }
  public ParseNode getBinding() { return binding; }
}
