/// <summary> /// Define the symbol on the current scope. /// </summary> /// <param name="symbol"></param> public void Define(Symbol symbol) { _current.Define(symbol); }
/// <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; }