예제 #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;
 }
예제 #2
0
 public void Resolve(Ast ast, SymbolTable symbols)
 {
     walker = new SymbolTableWalker(symbols);
     
     do
     {
         walker.Reset();
         hasResolved = true;
         ast.Accept(this);
     }
     while (!hasResolved);
 }
예제 #3
0
 public TyChecker(DetailLogger log, SymbolTableWalker walker)
 {
     this.log = log;
     this.walker = walker;
 }