/////////////////////////// CONSTRUCTOR public AnalizadorSintactico() { this.lisTok = new ArrayList(); this.lisGra = new ArrayList(); this.tabEst = new ArrayList(); this.lisAut = new ArrayList(); this.tom = new LisNod(""); this.tem = new Token(); ind = 0; }
private void ini() { if (verificar(Token.CON)) { con(); } else if (verificar(Token.IDE)) { tom = new LisNod(tem.lex); oe(); } else { error(); } if (ind < lisTok.Count) { ini(); } }