repositories
/
Project_POO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exo6: add the basic operations code.
[Project_POO.git]
/
exo6
/
Opadd.java
diff --git
a/exo6/Opadd.java
b/exo6/Opadd.java
index 81b3bda9fa6f1f2c344a53a728eaa6d58ef46cca..d631090d24a86ff49e50d39089577d0e147e134d 100644
(file)
--- a/
exo6/Opadd.java
+++ b/
exo6/Opadd.java
@@
-1,4
+1,10
@@
abstract class Opadd extends Expression {
+ protected Terme gauche;
+ protected Expression droite;
+ Opadd(Terme g, Expression d) {
+ gauche = g;
+ droite = d;
+ }
}