public Parser(System.IO.Stream str) { scanner = new Scanner(str); errors = new Errors(scanner); }
public Parser(string source) { MemoryStream memIn = new MemoryStream(); byte[] b=System.Text.Encoding.ASCII.GetBytes(source); memIn.Write(b,0,b.Length); memIn.Seek(0,0); this.scanner = new Scanner(memIn); errors = new Errors(scanner); }
public Parser(Scanner scanner) { this.scanner = scanner; errors = new Errors(scanner); }