|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbob.elementB.TElementB
bob.expression.TExpression
bob.expression.TExprBoolPred
public class TExprBoolPred
La classe TExprBoolPred contient les informations contenues dans un bool(P). Elle concerne:
- la conversion de booléen (bool(P))
Syntaxe B:
bool(TPredicat)
TExpression
,
TElementB
Constructor Summary | |
---|---|
TExprBoolPred(TPredicat Pred)
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 bool(P). |
tatibouet.bparser.Noeud |
ConstruireNoeud()
Construit un Noeud Tatibouet à partir d'une expression bool(P). |
TPredicat |
DonnerPredicat()
Donne l'argument de la fonction. |
TElementB |
Dupliquer()
Renvoie la copie conforme de l'element courant cloné sur toute sa hauteur |
boolean |
EstSyntaxEgal(TExpression e)
Recherche si deux expressions sont syntaxiquement égales. |
java.util.Vector<TExprIdentificateur> |
ListeDesNomsLibres()
Renvoie la liste des identificateurs libres dans un predicat |
TElementB |
Remplacer(TExprIdentificateur Id,
TExpression e)
Remplace un identificateur non libre dans l'élément B courant par une expression donnee. |
TExpression |
Simplifier()
Simplifie une expression bool(P). |
Methods inherited from class bob.elementB.TElementB |
---|
Afficher, RemplacerMultiple |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TExprBoolPred(TPredicat Pred)
Pred
- Argument de la fonction, de type prédicat.Method Detail |
---|
public TElementB Dupliquer()
Dupliquer
in class TElementB
public TPredicat DonnerPredicat()
public TExpression Simplifier()
Simplifier
in class TExpression
public boolean EstSyntaxEgal(TExpression e)
EstSyntaxEgal
in class TExpression
e
- l'expression dont on cherche à savoir si elle
est syntaxiquement égale à l'objet this.
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 tatibouet.bparser.Noeud ConstruireNoeud()
ConstruireNoeud
in class TElementB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |