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