Пример #1
0
 /// <summary>
 /// Define the symbol on the current scope.
 /// </summary>
 /// <param name="symbol"></param>
 public void Define(Symbol symbol)
 {
     _current.Define(symbol);
 }
Пример #2
0
 /// <summary>
 /// Define the supplied symbol to this instance of symbol table.
 /// </summary>
 /// <param name="symbol"></param>
 public virtual void Define(Symbol symbol)
 {
     this.Symbols[symbol.Name] = symbol;
 }