private void declFormu(Programme prog, StringBuffer buf, int indent, Argument arg) { if (arg.isSimple()) { declSimpleFormu(prog, buf, indent, arg); } if (arg.isTabSimple()) { declTabFormu(prog, buf, indent, arg); } if (arg.isMatSimple()) { declMatFormu(prog, buf, indent, arg); } if (arg.isEnregistrement(prog) || arg.isClasse(prog)) { declClasseFormu(prog, buf, indent, arg); } if (arg.isTabClasse(prog)) { this.declTabClasseFormu(prog, buf, indent, arg); } }
private void lireFormu(Programme prog, StringBuffer buf, int indent, Argument arg) { if (arg.isSimple()) { this.lireSimpleFormu(prog, buf, indent, arg); } if (arg.isTabSimple()) { lireTabFormu(prog, buf, indent, arg); } if (arg.isMatSimple()) { lireMatFormu(prog, buf, indent, arg, "i1", "j1"); } if (arg.isEnregistrement(prog) || arg.isClasse(prog)) { // this.assignR(prog, buf, indent, arg.nom, arg); lireClasseFormu(prog, buf, indent, arg); } if (arg.isTabClasse(prog)) { this.lireTabClasseFormu(prog, buf, indent, arg); } }
private void constrFormu( Programme prog, StringBuffer buf, int indent, String msg, String p_pere, Argument arg) { if (arg.isSimple()) { this.constrSimpleFormu(prog, buf, indent, msg, p_pere, arg); } if (arg.isTabSimple()) { this.constrTabFormu(prog, buf, indent, msg, p_pere, arg, "i1"); } if (arg.isMatSimple()) { this.constrMatFormu(prog, buf, indent, msg, p_pere, arg); } if (arg.isEnregistrement(prog) || arg.isClasse(prog)) { constrClasseFormu(prog, buf, indent, msg, p_pere, arg); } if (arg.isTabClasse(prog)) { constrTabClasseFormu(prog, buf, indent, msg, p_pere, arg); } }