Merge
authorJan Vrany <jan.vrany@fit.cvut.cz>
Wed, 24 Jul 2019 21:13:30 +0000
changeset 643 65da3a4195b6
parent 642 77d5fddb6462 (diff)
parent 557 5ddba1e78795 (current diff)
child 650 4c6ed0a28d18
Merge
--- a/PPAndParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPAndParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPAndParser
@@ -40,6 +42,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPAndParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPAndParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPCharSetPredicate.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPCharSetPredicate.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 "{ NameSpace: Smalltalk }"
@@ -49,6 +51,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPCharSetPredicate.st 4 2010-12-18 17:02:23Z kursjan §'
+    ^ '§Id: PPCharSetPredicate.st 4 2010-12-18 17:02:23Z kursjan §'
 ! !
 
--- a/PPChoiceParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPChoiceParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPListParser subclass:#PPChoiceParser
@@ -39,6 +41,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPChoiceParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPChoiceParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPEndOfInputParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPEndOfInputParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPEndOfInputParser
@@ -40,6 +42,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPEndOfInputParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPEndOfInputParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPExpressionParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPExpressionParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 "{ NameSpace: Smalltalk }"
@@ -113,6 +115,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPExpressionParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPExpressionParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPFailure.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPFailure.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 Object subclass:#PPFailure
@@ -91,6 +93,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPFailure.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPFailure.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPLiteralSequenceParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPLiteralSequenceParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPLiteralParser subclass:#PPLiteralSequenceParser
@@ -59,6 +61,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPLiteralSequenceParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPLiteralSequenceParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPMemento.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPMemento.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 Object subclass:#PPMemento
@@ -67,6 +69,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPMemento.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPMemento.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPMemoizedParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPMemoizedParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPMemoizedParser
@@ -55,6 +57,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPMemoizedParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPMemoizedParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPNotParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPNotParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPNotParser
@@ -32,6 +34,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPNotParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPNotParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPStream.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPStream.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 "{ NameSpace: Smalltalk }"
@@ -117,7 +119,7 @@
 		ifFalse: [ ^ super printOn: aStream ].
 	aStream
 		nextPutAll: (collection copyFrom: 1 to: position);
-		nextPutAll: '·';
+		nextPutAll: '·';
 		nextPutAll: (collection copyFrom: position + 1 to: readLimit)
 ! !
 
--- a/PPTrimmingParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPTrimmingParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPTrimmingParser
@@ -56,6 +58,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPTrimmingParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPTrimmingParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/PPUnresolvedParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPUnresolvedParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPParser subclass:#PPUnresolvedParser
@@ -31,5 +33,5 @@
 !
 
 version_SVN
-    ^ '§Id: PPUnresolvedParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPUnresolvedParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
--- a/PPWrappingParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/PPWrappingParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPActionParser subclass:#PPWrappingParser
@@ -25,6 +27,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPWrappingParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+    ^ '§Id: PPWrappingParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
 ! !
 
--- a/analyzer/tests/PPAnalyzerTest.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/analyzer/tests/PPAnalyzerTest.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/analyzer/tests' }"
 
 "{ NameSpace: Smalltalk }"
@@ -19,7 +21,7 @@
 !PPAnalyzerTest methodsFor:'accessing'!
 
 grammarA
-	"Güting, Erwig, Übersetzerbau, Springer (p.63)"
+	"Güting, Erwig, Übersetzerbau, Springer (p.63)"
 
 	| grammar |
 	grammar := Dictionary new.
--- a/devtools/PPDebugger.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/devtools/PPDebugger.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/devtools' }"
 
 Object subclass:#PPDebugger
@@ -77,5 +79,5 @@
 !
 
 version_SVN
-    ^ '§Id: PPDebugger.st 10 2012-05-04 18:54:13Z vranyj1 §'
+    ^ '§Id: PPDebugger.st 10 2012-05-04 18:54:13Z vranyj1 §'
 ! !
--- a/devtools/PPDebuggingParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/devtools/PPDebuggingParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/devtools' }"
 
 PPParser subclass:#PPDebuggingParser
@@ -70,5 +72,5 @@
 !
 
 version_SVN
-    ^ '§Id: PPDebuggingParser.st 10 2012-05-04 18:54:13Z vranyj1 §'
+    ^ '§Id: PPDebuggingParser.st 10 2012-05-04 18:54:13Z vranyj1 §'
 ! !
--- a/devtools/extensions.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/devtools/extensions.st	Wed Jul 24 21:13:30 2019 +0000
@@ -340,4 +340,4 @@
 
 extensionsVersion_CVS
     ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/extensions.st,v 1.3 2013-01-11 09:58:24 vrany Exp $'
-! !
\ No newline at end of file
+! !
--- a/islands/JavaParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/islands/JavaParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -11,7 +11,70 @@
 	category:'PetitIslands-Examples'
 !
 
-JavaParser comment:'A JavaParser is a island parser, that can extract method names from a java file.

Instance Variables
	arguments:		<Object>
	block:		<Object>
	classBody:		<Object>
	classDef:		<Object>
	classId:		<Object>
	javaClass:		<Object>
	javaClassIsland:		<Object>
	methodBody:		<Object>
	methodDef:		<Object>
	methodModifiers:		<Object>
	methodName:		<Object>
	modifiers:		<Object>
	semicolon:		<Object>
	throws:		<Object>
	type:		<Object>

arguments
	- xxxxx

block
	- xxxxx

classBody
	- xxxxx

classDef
	- xxxxx

classId
	- xxxxx

javaClass
	- xxxxx

javaClassIsland
	- xxxxx

methodBody
	- xxxxx

methodDef
	- xxxxx

methodModifiers
	- xxxxx

methodName
	- xxxxx

modifiers
	- xxxxx

semicolon
	- xxxxx

throws
	- xxxxx

type
	- xxxxx
'
+JavaParser comment:'A JavaParser is a island parser, that can extract method names from a java file.
+
+Instance Variables
+	arguments:		<Object>
+	block:		<Object>
+	classBody:		<Object>
+	classDef:		<Object>
+	classId:		<Object>
+	javaClass:		<Object>
+	javaClassIsland:		<Object>
+	methodBody:		<Object>
+	methodDef:		<Object>
+	methodModifiers:		<Object>
+	methodName:		<Object>
+	modifiers:		<Object>
+	semicolon:		<Object>
+	throws:		<Object>
+	type:		<Object>
+
+arguments
+	- xxxxx
+
+block
+	- xxxxx
+
+classBody
+	- xxxxx
+
+classDef
+	- xxxxx
+
+classId
+	- xxxxx
+
+javaClass
+	- xxxxx
+
+javaClassIsland
+	- xxxxx
+
+methodBody
+	- xxxxx
+
+methodDef
+	- xxxxx
+
+methodModifiers
+	- xxxxx
+
+methodName
+	- xxxxx
+
+modifiers
+	- xxxxx
+
+semicolon
+	- xxxxx
+
+throws
+	- xxxxx
+
+type
+	- xxxxx
+'
 !
 
 !JavaParser methodsFor:'as yet unclassified'!
--- a/islands/PPIsland.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/islands/PPIsland.st	Wed Jul 24 21:13:30 2019 +0000
@@ -10,7 +10,48 @@
 	category:'PetitIslands-Parsers'
 !
 
-PPIsland comment:'A PPIsland allows for imprecise parsing. One can create it on a parser p by calling: ''p island'' E.g.:

p := x, a island, y              accepts following inputs:
x.....a.....b 
xab

yet fails on:
x....a....c
xb
xac
x..b....a....b

The input represented by dots is called water and water can appear before and after the island. Use it, if you don''t want to define all the grammar rules and you want to skip something.

I am still an experiment, but if you know how to improve me, please contact Jan Kurs at: kurs@iam.unibe.ch

Instance Variables
	afterWaterParser:		<Object>
	awp:		<Object>
	beforeWaterParser:		<Object>
	bwp:		<Object>
	context:		<Object>
	island:		<Object>

afterWaterParser
	- xxxxx

awp
	- xxxxx

beforeWaterParser
	- xxxxx

bwp
	- xxxxx

context
	- xxxxx

island
	- xxxxx
'
+PPIsland comment:'A PPIsland allows for imprecise parsing. One can create it on a parser p by calling: ''p island'' E.g.:
+
+p := x, a island, y              accepts following inputs:
+x.....a.....b 
+xab
+
+yet fails on:
+x....a....c
+xb
+xac
+x..b....a....b
+
+The input represented by dots is called water and water can appear before and after the island. Use it, if you don''t want to define all the grammar rules and you want to skip something.
+
+I am still an experiment, but if you know how to improve me, please contact Jan Kurs at: kurs@iam.unibe.ch
+
+Instance Variables
+	afterWaterParser:		<Object>
+	awp:		<Object>
+	beforeWaterParser:		<Object>
+	bwp:		<Object>
+	context:		<Object>
+	island:		<Object>
+
+afterWaterParser
+	- xxxxx
+
+awp
+	- xxxxx
+
+beforeWaterParser
+	- xxxxx
+
+bwp
+	- xxxxx
+
+context
+	- xxxxx
+
+island
+	- xxxxx
+'
 !
 
 !PPIsland methodsFor:'accessing'!
--- a/islands/PPMemoizingIsland.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/islands/PPMemoizingIsland.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,20 @@
 	category:'PetitIslands-Parsers'
 !
 
-PPMemoizingIsland comment:'A PPMemoizingIsland is memoized version of PPIsland. Use this one, unless you don''t mind really bad performance. If the memoized version is not working flawlessly, its a bug!!

Please see help of the PPIsland for how to use...

Instance Variables
	memoizationDictionaries:		<Object>
	rootParser:		<Object>

memoizationDictionaries
	- memoization cache

rootParser
	- used for memoizing, once the root changes, flushes the caches
'
+PPMemoizingIsland comment:'A PPMemoizingIsland is memoized version of PPIsland. Use this one, unless you don''t mind really bad performance. If the memoized version is not working flawlessly, its a bug!!
+
+Please see help of the PPIsland for how to use...
+
+Instance Variables
+	memoizationDictionaries:		<Object>
+	rootParser:		<Object>
+
+memoizationDictionaries
+	- memoization cache
+
+rootParser
+	- used for memoizing, once the root changes, flushes the caches
+'
 !
 
 
--- a/islands/RobustXmlFeedParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/islands/RobustXmlFeedParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,8 @@
 	category:'PetitIslands-Examples'
 !
 
-RobustXmlFeedParser comment:'A RobustXmlFeedParser is XmlFeedParser, that can handle error within an xml Item element
'
+RobustXmlFeedParser comment:'A RobustXmlFeedParser is XmlFeedParser, that can handle error within an xml Item element
+'
 !
 
 
--- a/islands/XmlFeedParser.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/islands/XmlFeedParser.st	Wed Jul 24 21:13:30 2019 +0000
@@ -10,7 +10,66 @@
 	category:'PetitIslands-Examples'
 !
 
-XmlFeedParser comment:'A XmlFeedParser is Parser of a fake shop feed. Shop feed is a XML file with information about shop products. Shop feed can be malformed (for any reason) the parser will recover from malformed item and will continue on the next valid item.

Instance Variables
	closeItem:		<Object>
	closeName:		<Object>
	closeShoplist:		<Object>
	item:		<Object>
	itemContent:		<Object>
	name:		<Object>
	nameContent:		<Object>
	openItem:		<Object>
	openName:		<Object>
	openShoplist:		<Object>
	shoplist:		<Object>
	shoplistContent:		<Object>
	simpleElement:		<Object>
	stringValue:		<Object>

closeItem
	- xxxxx

closeName
	- xxxxx

closeShoplist
	- xxxxx

item
	- xxxxx

itemContent
	- xxxxx

name
	- xxxxx

nameContent
	- xxxxx

openItem
	- xxxxx

openName
	- xxxxx

openShoplist
	- xxxxx

shoplist
	- xxxxx

shoplistContent
	- xxxxx

simpleElement
	- xxxxx

stringValue
	- xxxxx
'
+XmlFeedParser comment:'A XmlFeedParser is Parser of a fake shop feed. Shop feed is a XML file with information about shop products. Shop feed can be malformed (for any reason) the parser will recover from malformed item and will continue on the next valid item.
+
+Instance Variables
+	closeItem:		<Object>
+	closeName:		<Object>
+	closeShoplist:		<Object>
+	item:		<Object>
+	itemContent:		<Object>
+	name:		<Object>
+	nameContent:		<Object>
+	openItem:		<Object>
+	openName:		<Object>
+	openShoplist:		<Object>
+	shoplist:		<Object>
+	shoplistContent:		<Object>
+	simpleElement:		<Object>
+	stringValue:		<Object>
+
+closeItem
+	- xxxxx
+
+closeName
+	- xxxxx
+
+closeShoplist
+	- xxxxx
+
+item
+	- xxxxx
+
+itemContent
+	- xxxxx
+
+name
+	- xxxxx
+
+nameContent
+	- xxxxx
+
+openItem
+	- xxxxx
+
+openName
+	- xxxxx
+
+openShoplist
+	- xxxxx
+
+shoplist
+	- xxxxx
+
+shoplistContent
+	- xxxxx
+
+simpleElement
+	- xxxxx
+
+stringValue
+	- xxxxx
+'
 !
 
 !XmlFeedParser methodsFor:'grammar'!
--- a/parsers/java/PJBlockNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJBlockNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,9 @@
 	category:'PetitJava-AST'
 !
 
-PJBlockNode comment:'A node representing a block of java code.

A block begins with: { ends with: } and has statement in between.'
+PJBlockNode comment:'A node representing a block of java code.
+
+A block begins with: { ends with: } and has statement in between.'
 !
 
 !PJBlockNode methodsFor:'accessing'!
--- a/parsers/java/PJConstructorDeclarationNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJConstructorDeclarationNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,9 @@
 	category:'PetitJava-AST'
 !
 
-PJConstructorDeclarationNode comment:'constructor-specific behavioural entity.

more in superclass comment'
+PJConstructorDeclarationNode comment:'constructor-specific behavioural entity.
+
+more in superclass comment'
 !
 
 !PJConstructorDeclarationNode methodsFor:'accessing'!
--- a/parsers/java/PJExpressionStatementNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJExpressionStatementNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,15 @@
 	category:'PetitJava-AST'
 !
 
-PJExpressionStatementNode comment:'A statement which has nothing but expression in it.


Examples:

5;
a = 5;
a.foo();
a = for(5);'
+PJExpressionStatementNode comment:'A statement which has nothing but expression in it.
+
+
+Examples:
+
+5;
+a = 5;
+a.foo();
+a = for(5);'
 !
 
 
--- a/parsers/java/PJInfixOperationNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJInfixOperationNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,9 @@
 	category:'PetitJava-AST'
 !
 
-PJInfixOperationNode comment:'This node is a STUB!!!!!!!!

It''s being used for each node that consists of 2 expressions and some operation in between e.g.: +, -, =, +=, ==...'
+PJInfixOperationNode comment:'This node is a STUB!!!!!!!!
+
+It''s being used for each node that consists of 2 expressions and some operation in between e.g.: +, -, =, +=, ==...'
 !
 
 !PJInfixOperationNode methodsFor:'accessing'!
--- a/parsers/java/PJLocalVariableDeclarationStatementNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJLocalVariableDeclarationStatementNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,14 @@
 	category:'PetitJava-AST'
 !
 
-PJLocalVariableDeclarationStatementNode comment:'Node representing a local variable declaration statement.

Eg:

int a;
int a = 5;
int a, b;
int a = 5, b;'
+PJLocalVariableDeclarationStatementNode comment:'Node representing a local variable declaration statement.
+
+Eg:
+
+int a;
+int a = 5;
+int a, b;
+int a = 5, b;'
 !
 
 !PJLocalVariableDeclarationStatementNode methodsFor:'accessing'!
--- a/parsers/java/PJReturnStatementNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJReturnStatementNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,13 @@
 	category:'PetitJava-AST'
 !
 
-PJReturnStatementNode comment:'Return statement node.

Ex:

return 5;
return 5+a.foo();
return a;'
+PJReturnStatementNode comment:'Return statement node.
+
+Ex:
+
+return 5;
+return 5+a.foo();
+return a;'
 !
 
 !PJReturnStatementNode methodsFor:'accessing'!
--- a/parsers/java/PJStatementNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJStatementNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,6 +9,8 @@
 	category:'PetitJava-AST'
 !
 
-PJStatementNode comment:'A general superclass for every statement node.

Example: if, while, return, variable declaration..'
+PJStatementNode comment:'A general superclass for every statement node.
+
+Example: if, while, return, variable declaration..'
 !
 
--- a/parsers/java/PJVariableDeclaratorNode.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PJVariableDeclaratorNode.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,15 @@
 	category:'PetitJava-AST'
 !
 
-PJVariableDeclaratorNode comment:'A part of local variable declaration statement.

Example.
statement: int a;
declarator: a

statement: float a, b = 4;
declarator1: a
declarator2: b = 4'
+PJVariableDeclaratorNode comment:'A part of local variable declaration statement.
+
+Example.
+statement: int a;
+declarator: a
+
+statement: float a, b = 4;
+declarator1: a
+declarator2: b = 4'
 !
 
 !PJVariableDeclaratorNode methodsFor:'accessing'!
--- a/parsers/java/PPJavaLexicon.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/parsers/java/PPJavaLexicon.st	Wed Jul 24 21:13:30 2019 +0000
@@ -25,7 +25,11 @@
 	category:'PetitJava-Core'
 !
 
-PPJavaLexicon comment:'A parser with a definitions for some basic Java gramar parts

Grammar rules follow as closely as possible the specification found in "The Java Language Specification Third Edition"

URL = '
+PPJavaLexicon comment:'A parser with a definitions for some basic Java gramar parts
+
+Grammar rules follow as closely as possible the specification found in "The Java Language Specification Third Edition"
+
+URL = '
 !
 
 
--- a/tests/PPMappingTest.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/tests/PPMappingTest.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/tests' }"
 
 "{ NameSpace: Smalltalk }"
@@ -96,6 +98,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPMappingTest.st 4 2010-12-18 17:02:23Z kursjan §'
+    ^ '§Id: PPMappingTest.st 4 2010-12-18 17:02:23Z kursjan §'
 ! !
 
--- a/tests/PPParserResource.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/tests/PPParserResource.st	Wed Jul 24 21:13:30 2019 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/tests' }"
 
 "{ NameSpace: Smalltalk }"
@@ -41,6 +43,6 @@
 !
 
 version_SVN
-    ^ '§Id: PPParserResource.st 4 2010-12-18 17:02:23Z kursjan §'
+    ^ '§Id: PPParserResource.st 4 2010-12-18 17:02:23Z kursjan §'
 ! !
 
--- a/tests/PPScriptingTest.st	Mon Jul 02 08:46:03 2018 +0200
+++ b/tests/PPScriptingTest.st	Wed Jul 24 21:13:30 2019 +0000
@@ -9,7 +9,8 @@
 	category:'PetitTests-Tests'
 !
 
-PPScriptingTest comment:'These are some simple demo-scripts of parser combinators for the compiler construction course.
http://www.iam.unibe.ch/~scg/Teaching/CC/index.html'
+PPScriptingTest comment:'These are some simple demo-scripts of parser combinators for the compiler construction course.
+http://www.iam.unibe.ch/~scg/Teaching/CC/index.html'
 !