示例#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();
 }