--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/PPMappedActionParser.st Tue Jun 02 17:25:57 2015 +0100
@@ -0,0 +1,22 @@
+"{ Package: 'stx:goodies/petitparser/compiler' }"
+
+"{ NameSpace: Smalltalk }"
+
+PPActionParser subclass:#PPMappedActionParser
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'PetitParser-Parsers'
+!
+
+!PPMappedActionParser methodsFor:'parsing'!
+
+parseOn: aPPContext
+ | element |
+ ^ (element := parser parseOn: aPPContext) isPetitFailure
+ ifFalse: [ block valueWithArguments: element ]
+ ifTrue: [ element ]
+
+ "Created: / 02-06-2015 / 17:15:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+