예제 #1
0
파일: Parser.cs 프로젝트: liuyisi/Compiler
 public parser()
 {
     SNLScanner = new scanner() ;
     SNLPredict = new Predict("../../Predict.txt") ;
     SNLProduct = new Product("../../Product.txt") ;
     error      = new ErrorType() ;
     cur = 0;
 }
예제 #2
0
 public parser()
 {
     SNLScanner = new scanner();
     SNLPredict = new Predict("../../Predict.txt");
     SNLProduct = new Product("../../Product.txt");
     error      = new ErrorType();
     cur        = 0;
 }