示例#1
0
 public Compiler(Stream inputStream, Stream outputStream)
 {
     IoManager = new IoManager.IoManager(inputStream, outputStream);
     Tokenizer = new Tokenizer.Tokenizer(IoManager);
     Analyzer  = new Analyzer.Analyzer(IoManager, Tokenizer);
 }
示例#2
0
 public Compiler(string inputPath, string outputPath)
 {
     IoManager = new IoManager.IoManager(inputPath, outputPath);
     Tokenizer = new Tokenizer.Tokenizer(IoManager);
     Analyzer  = new Analyzer.Analyzer(IoManager, Tokenizer);
 }
示例#3
0
 private Compiler()
 {
     Tokenizer = new Tokenizer.Tokenizer(IoManager);
     Analyzer  = new Analyzer.Analyzer(IoManager, Tokenizer);
 }