Example #1
0
 public Parser(string srcFile)
     : this(Scanner.FromFile(srcFile))
 {
     this.srcFile = srcFile;
 }
Example #2
0
        public static Parser FromFile(string filePath)
        {
            var scanner = Scanner.FromFile(filePath);

            return(new Parser(scanner));
        }