|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbob.elementB.TElementB
bob.predicat.TPredicat
bob.predicat.TPredQuantif
public class TPredQuantif
La classe TPredQuantif contient les informations concernant les prédicats de quantification.
Syntaxe B:
TOpQuantif(liste de TExprIdentificateur).(TPredicat)
TPredicat
,
TOpQuantif
,
TExprIdentificateur
Constructor Summary | |
---|---|
TPredQuantif(TOpQuantif op,
java.util.Vector<TExprIdentificateur> liste_id,
TPredicat p)
Constructeur paramétré qui initialise les attributs avec les entrées de l'utilisateur. |
Method Summary | |
---|---|
void |
Afficher(java.io.Writer flux_sortie)
Affiche un prédicat de quantification. |
void |
Afficher(java.io.Writer flux_sortie,
int niveau)
Affiche un prédicat de quantification avec presentation. |
tatibouet.bparser.Noeud |
ConstruireNoeud()
construit un Noeud à partir d'un prédicat de quantification |
java.util.Vector<TExprIdentificateur> |
DonnerListeIdent()
Donne la liste des identificateurs quantifiés. |
TOpQuantif |
DonnerOperateur()
Donne l'opérateur de quantification utilisé. |
TPredicat |
DonnerPredicat()
Donne le prédicat portant sur les identificateurs quantifiés. |
TElementB |
Dupliquer()
Renvoie la copie conforme de l'element courant clone sur toute sa hauteur Méthode de Nicolas Stouls. |
java.util.Vector<TExprIdentificateur> |
ListeDesNomsLibres()
Renvoie la liste des identificateurs libres dans un predicat, une expression ou une substitution. |
TElementB |
Remplacer(TExprIdentificateur Id,
TExpression e)
Remplace un identificateur non libre dans l'élément B courant par une expression donnee. |
TPredicat |
Simplifier()
Simplification d'un predicat de quantification. |
Methods inherited from class bob.predicat.TPredicat |
---|
EstSyntaxEgal |
Methods inherited from class bob.elementB.TElementB |
---|
RemplacerMultiple |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TPredQuantif(TOpQuantif op, java.util.Vector<TExprIdentificateur> liste_id, TPredicat p)
op
- Opérateur logique à utiliser.liste_id
- liste des identificateurs quantifiés.p
- Prédicat portant sur ces identificateurs.Method Detail |
---|
public TOpQuantif DonnerOperateur()
public java.util.Vector<TExprIdentificateur> DonnerListeIdent()
public TPredicat DonnerPredicat()
public TElementB Dupliquer()
Dupliquer
in class TElementB
public TPredicat Simplifier()
Simplifier
in class TPredicat
public java.util.Vector<TExprIdentificateur> ListeDesNomsLibres()
ListeDesNomsLibres
in class TElementB
public TElementB Remplacer(TExprIdentificateur Id, TExpression e)
Remplacer
in class TElementB
Id
- : l'identificateur a remplacere
- : la nouvelle expression
public void Afficher(java.io.Writer flux_sortie) throws java.io.IOException, java.io.FileNotFoundException
Afficher
in class TElementB
flux_sortie
- Flux de sortie: fichier de type FileWriter ou terminal(new PrintWriter(System.out)).
java.io.IOException
java.io.FileNotFoundException
public void Afficher(java.io.Writer flux_sortie, int niveau) throws java.io.IOException, java.io.FileNotFoundException
Afficher
in class TElementB
flux_sortie
- Flux de sortie: fichier de type FileWriter ou terminal(new PrintWriter(System.out)).niveau
- : un entier qui indique le niveau de tabulation.
java.io.IOException
java.io.FileNotFoundException
public tatibouet.bparser.Noeud ConstruireNoeud()
ConstruireNoeud
in class TElementB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |