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