- class A extends B {
- //Check FieldDecl (-> also Formal)
- Int a;
- Int s;
- Null z;
- Object o;
- boolean b;
-
- //Check MethodDef
- Object method(Int i, Null n, Object oj) {
- //Check Block (->also Statement and Expression)
- while ( if ( i && !o) { return b} else { return !b}) {
- b = true;
- boolean c = false;
- 3+2;
- printInt (a);
- printChar("toto et titi c'est tjs joli");
- }
-
- // Expression
- if ( b) readInt else readChar;
- if (-b) true else false;
- if(a-b || c) null else ( a == b);
- if (-new x (3,"HelloWorld") * ! { while ( a==b) { 4 //Comment
- % 3 ; }return "viveJava"} / b && c) null;
-
-
- return b
- }
- }
-
- 7.a(b,c,d,e)