예제 #1
0
 public CodeGenerator(SemanticAnalyser semanticAnalyser, DiagnosticCollection diagnostics, Session session)
 {
     SemanticAnalyser = semanticAnalyser;
     Diagnostics      = diagnostics;
     CurrentSession   = session;
     StaticTemp       = new TempTable();
     JumpTable        = new JumpTable();
     Image            = new RuntimeImage();
 }
예제 #2
0
 private static void SemanticProgram(SemanticAnalyser sA)
 {
     sA.Analyse();
 }