|
||||||||||
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.TPredParenthese
public class TPredParenthese
La classe TPredParenthese contient les informations concernant les prédicats parenthèsés.
Syntaxe B:
(TPredicat)
TPredicat
Constructor Summary | |
---|---|
TPredParenthese(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 parenthèsé. |
void |
Afficher(java.io.Writer flux_sortie,
int niveau)
Affiche un prédicat parethèsé avec presentation. |
tatibouet.bparser.Noeud |
ConstruireNoeud()
construit un Noeud à partir d'un prédicat parenthèsé |
TPredicat |
DonnerPredicat()
Donne le prédicat mis entre parenthèse. |
TElementB |
Dupliquer()
Renvoie la copie conforme de l'element courant clone sur toute sa hauteur Méthode de Nicolas Stouls. |
boolean |
EstSyntaxEgal(TPredicat P)
Recherche si le prédicat courant est syntaxiquement égal au prédicat en paramètre. |
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()
Renvoie le predicat simplifié VRAI ou FAUX, ou entre parenthèses. |
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 TPredParenthese(TPredicat p)
p
- Prédicat à mettre entre parenthèses.Method Detail |
---|
public TPredicat DonnerPredicat()
public TElementB Dupliquer()
Dupliquer
in class TElementB
public TPredicat Simplifier()
Simplifier
in class TPredicat
public boolean EstSyntaxEgal(TPredicat P)
EstSyntaxEgal
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 |