示例#1
0
 public Parser(string srcFile)
     : this(Scanner.FromFile(srcFile))
 {
     this.srcFile = srcFile;
 }
示例#2
0
        public static Parser FromString(string text)
        {
            var scanner = new Scanner(text);

            return(new Parser(scanner));
        }
示例#3
0
 public Parser(Scanner scanner)
     : base(scanner, _maxTerminal, _symbols, _actions)
 {
 }