Exemple #1
0
 public IcodeParser(SymbolTable st, List<Quad> ic)
 {
     _symbolTable = st;
     _icode = ic;
     _tcode = new List<Quad>();
     _tempCode = new List<Quad>();
 }
Exemple #2
0
 public Parser(Lexical lex)
 {
     SymbolTb = new SymbolTable();
     _lex = lex;
     _sas = new Stack<Sar>();
     _op = new Stack<OperatorAction>();
     _pass2 = false;
     _numberOfErrors = 0;
     Icode = new List<Quad>();
     _labelStack = new Stack<string>();
     _staticInitICode = new List<Quad>();
 }