|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbob.elementB.TElementB
public abstract class TElementB
La classe TElementB généralise tous les éléments pouvant constituer un source écrit en B: composant, substitution, prédicat, expression, etc.
Constructor Summary | |
---|---|
TElementB()
|
Method Summary | |
---|---|
void |
Afficher(java.io.Writer flux_sortie)
Affiche un élément B. |
void |
Afficher(java.io.Writer flux_sortie,
int niveau)
Affiche un element quelconque avec presentation. |
tatibouet.bparser.Noeud |
ConstruireNoeud()
Construit un noeud Tatibouet correspondant à l'objet courant. |
TElementB |
Dupliquer()
Renvoie une copie de l'élément courant |
java.util.Vector<TExprIdentificateur> |
ListeDesNomsLibres()
Renvoie la liste des identificateurs libres de l'élément B courant. |
TElementB |
Remplacer(TExprIdentificateur Id,
TExpression e)
Remplace un identificateur libre dans l'élément B courant par une expression donnee. |
TElementB |
RemplacerMultiple(java.util.Vector<TExprIdentificateur> ListeId,
java.util.Vector<TExpression> ListeExpr)
Cette methode permet d'effectuer des remplacements multiples (remplacements simultanes) de plusieurs identificateurs libres par des expressions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TElementB()
Method Detail |
---|
public TElementB Dupliquer()
public java.util.Vector<TExprIdentificateur> ListeDesNomsLibres()
public TElementB Remplacer(TExprIdentificateur Id, TExpression e)
Id
- l'identificateur a remplacere
- la nouvelle expression
public TElementB RemplacerMultiple(java.util.Vector<TExprIdentificateur> ListeId, java.util.Vector<TExpression> ListeExpr)
ListeId
- Vector de TExprIdentificateurListeExpr
- liste des expressions par quoi on remplace.
public void Afficher(java.io.Writer flux_sortie) throws java.io.IOException, java.io.FileNotFoundException
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
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |