Beispiel #1
0
 public ModCompiler(DetailLogger log, SymbolTableWalker walker,
     LLVMContextRef context, LLVMModuleRef module, LLVMBuilderRef builder)
 {
     this.log = log;
     this.walker = walker;
     this.context = context;
     this.module = module;
     this.builder = builder;
 }
Beispiel #2
0
 public void Resolve(Ast ast, SymbolTable symbols)
 {
     walker = new SymbolTableWalker(symbols);
     
     do
     {
         walker.Reset();
         hasResolved = true;
         ast.Accept(this);
     }
     while (!hasResolved);
 }
Beispiel #3
0
 public TyChecker(DetailLogger log, SymbolTableWalker walker)
 {
     this.log = log;
     this.walker = walker;
 }