equal
deleted
inserted
replaced
7 classVariableNames:'' |
7 classVariableNames:'' |
8 poolDictionaries:'' |
8 poolDictionaries:'' |
9 category:'PetitCompiler-Extras-Tests-Java' |
9 category:'PetitCompiler-Extras-Tests-Java' |
10 ! |
10 ! |
11 |
11 |
12 |
|
13 !PPCompiledJavaSyntaxTest class methodsFor:'as yet unclassified'! |
12 !PPCompiledJavaSyntaxTest class methodsFor:'as yet unclassified'! |
14 |
13 |
15 resources |
14 resources |
16 ^ (OrderedCollection with: PPCompiledJavaResource) |
15 ^ (OrderedCollection with: PPCompiledJavaResource) |
17 addAll: super resources; |
16 addAll: super resources; |
68 |
67 |
69 self |
68 self |
70 parse: |
69 parse: |
71 '{ |
70 '{ |
72 System.out.println("Hello World!!"); |
71 System.out.println("Hello World!!"); |
73 System.out.println("Hello World!!"); |
72 System.out.println("Hello World!!"); |
74 }' |
73 }' |
75 rule: #block |
74 rule: #block |
76 ! |
75 ! |
77 |
76 |
78 testCompilationUnit1 |
77 testCompilationUnit1 |
105 |
104 |
106 testCompilationUnit4 |
105 testCompilationUnit4 |
107 |
106 |
108 self parse: ' |
107 self parse: ' |
109 public class OddEven { |
108 public class OddEven { |
110 private int input; |
109 private int input; |
111 public static void main(String[] args) { |
110 public static void main(String[] args) { |
112 OddEven number = new OddEven(); |
111 OddEven number = new OddEven(); |
113 number.showDialog(); } |
112 number.showDialog(); } |
114 public void showDialog() { |
113 public void showDialog() { |
115 |
114 |
116 try { |
115 try { |
117 |
116 |