parsers/java/PPJavaParser.st
changeset 436 e1c44b571db9
parent 435 3bc08fb90133
--- a/parsers/java/PPJavaParser.st	Tue Apr 21 14:57:16 2015 +0100
+++ b/parsers/java/PPJavaParser.st	Tue Apr 21 17:06:24 2015 +0100
@@ -81,16 +81,18 @@
 
 constructorDeclaration 
 
-	^ super constructorDeclaration ==> [:nodes |
-		|constructor|
-		
-		constructor := PJConstructorDeclarationNode named: nodes third name.
-		constructor
-			statements: nodes eighth;
-			modifiers: nodes first;
-			returnType: nodes second;
-			parameters: nodes fourth.
-		constructor]
+        ^ super constructorDeclaration ==> [:nodes |
+                |constructor|
+                
+                constructor := PJConstructorDeclarationNode named: nodes third name.
+                constructor
+                        statements: (nodes at: 8);
+                        modifiers: nodes first;
+                        returnType: nodes second;
+                        parameters: nodes fourth.
+                constructor]
+
+    "Modified: / 21-04-2015 / 15:52:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 expressionStatement 
@@ -118,16 +120,18 @@
 
 methodNotConstructorDeclaration 
 
-	^ super methodNotConstructorDeclaration ==> [:nodes |
-			| methodDeclarationNode |
-			methodDeclarationNode := PJMethodDeclarationNode named: nodes fourth name.
-			methodDeclarationNode modifiers: nodes first.
-			methodDeclarationNode returnType: nodes third.
-			methodDeclarationNode body: nodes eighth.
-			methodDeclarationNode parameters: nodes fifth.
-			methodDeclarationNode	
-				
-				 ]
+        ^ super methodNotConstructorDeclaration ==> [:nodes |
+                        | methodDeclarationNode |
+                        methodDeclarationNode := PJMethodDeclarationNode named: nodes fourth name.
+                        methodDeclarationNode modifiers: nodes first.
+                        methodDeclarationNode returnType: nodes third.
+                        methodDeclarationNode body: (nodes at: 8).
+                        methodDeclarationNode parameters: nodes fifth.
+                        methodDeclarationNode   
+                                
+                                 ]
+
+    "Modified: / 21-04-2015 / 15:52:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 normalParameterDecl