islands/PPIsland.st
changeset 642 77d5fddb6462
parent 454 a9cd5ea7cc36
--- a/islands/PPIsland.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/islands/PPIsland.st	Wed Nov 14 13:01:14 2018 +0100
@@ -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'!