public void Read(string PathIn) { Path = PathIn; // Set up the parser Configure = new Configure (); using (Stream infile = new FileStream(Path, FileMode.Open, FileAccess.Read)) { // Create a new lexer Lexer Lexer = new Lexer(Path); // Call the lexer using the parser as the delegate Lexer.Process (infile, Configure); } Configure.Serialize (Console.Out); }
public Config() { Configure = new Configure (); }