public formParsAST parseFormPars() { listTipoIdentAST temp = null; listTipoIdentAST result = null; typeAST type = parseType(); Symbol tempsymbol = currentToken; temp = new unTipoIdentAST(tempsymbol, type); accept(sym.ID, "Identificador"); while (currentToken.sym == sym.COMA) { accept(sym.COMA, ","); tempsymbol = currentToken; type = parseType(); temp = new unTipoIdentAST(tempsymbol, type); result = new varTipoIdentAST(result, temp); } return(new formParsAST(result)); }
public varTipoIdentAST(listTipoIdentAST hh1, listTipoIdentAST hh2) { h1 = hh1; h2 = hh2; }
public varTipoIdentAST(listTipoIdentAST hh1, listTipoIdentAST hh2) { h1 = hh1; h2 = hh2; }
public formParsAST(listTipoIdentAST l) { tipoIdent = l; }