public void AddImport(Symbol symbol) { this.imports.Add(symbol); }
public Symbol RegisterSymbol(Symbol symbol) { symbol.SScope = this.CurrentScope; this.CurrentScope.Symbols.Add(symbol.Name, symbol); return symbol; }
public void AddExport(Symbol symbol) { this.exports.Add(symbol); }