示例#1
0
 public Lexer(string text, ErrorSink errors) : this(new MemoryStream(Encoding.UTF8.GetBytes(text)), errors)
 {
 }
示例#2
0
 public ErrorListener(ErrorSink errors)
 {
     this.Errors = errors;
 }
示例#3
0
 public Lexer(Stream stream, ErrorSink errors)
 {
     this.Reader = new CharReader(stream);
     this.Errors = errors;
 }
示例#4
0
 public Parser(Lexeme[] lexemes, ErrorSink errors)
 {
     this.Lexemes = lexemes;
     this.Errors  = errors;
 }