Ejemplo n.º 1
0
 public ParserUnit(Language language, Thread thread)
 {
     Language      = language ?? throw new NullReferenceException(nameof(language));
     parser        = language.CreateParser();
     logger        = new ParserUnitLogger();
     parser.Logger = logger;
     this.thread   = thread;
 }
Ejemplo n.º 2
0
 public ParserUnit(Language language, Thread thread)
 {
     Language    = language;
     logger      = new ParserUnitLogger();
     this.thread = thread;
 }