--- 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