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

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