-
Notifications
You must be signed in to change notification settings - Fork 1
/
Visiteur.h
39 lines (33 loc) · 1.29 KB
/
Visiteur.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Visiteur.h
* Author: feelzor
*
* Created on October 30, 2019, 3:01 PM
*/
#ifndef VISITEUR_H
#define VISITEUR_H
#include "ArbreAbstrait.h"
#include "SymboleValue.h"
#include "Procedure.h"
class Visiteur {
public:
virtual void visiterProcedure(Procedure* procedure) = 0;
virtual void visiterNoeudSeqInst(NoeudSeqInst* noeud) = 0;
virtual void visiterNoeudAffectation(NoeudAffectation* noeud) = 0;
virtual void visiterNoeudOperateurBinaire(NoeudOperateurBinaire* noeud) = 0;
virtual void visiterNoeudInstSi(NoeudInstSi* noeud) = 0;
virtual void visiterNoeudInstRepeter(NoeudInstRepeter* noeud) = 0;
virtual void visiterNoeudInstPour(NoeudInstPour* noeud) = 0;
virtual void visiterNoeudInstTantQue(NoeudInstTantQue* noeud) = 0;
virtual void visiterNoeudInstLire(NoeudInstLire* noeud) = 0;
virtual void visiterNoeudInstEcrire(NoeudInstEcrire* noeud) = 0;
virtual void visiterNoeudInstAppel(NoeudInstAppel* noeud) = 0;
virtual void visiterNoeudAlea(NoeudAlea* noeud) = 0;
virtual void visiterSymboleValue(SymboleValue* symbole) = 0;
};
#endif /* VISITEUR_H */