--- a/PPPredicateParser.st Mon Sep 12 19:48:53 2011 +0200
+++ b/PPPredicateParser.st Fri Jan 13 12:22:50 2012 +0100
@@ -1,4 +1,4 @@
-"{ Package: 'squeak:petitparser' }"
+"{ Package: 'stx:goodies/petitparser' }"
PPParser subclass:#PPPredicateParser
instanceVariableNames:'predicate predicateMessage negated negatedMessage'
@@ -9,10 +9,10 @@
PPPredicateParser comment:'An abstract parser that accepts if a given predicate holds.
Instance Variables:
- predicate <BlockClosure> The block testing for the predicate.
- predicateMessage <String> The error message of the predicate.
- negated <BlockClosure> The block testing for the negation of the predicate.
- negatedMessage <String> The error message of the negated predicate.'
+ predicate <BlockClosure> The block testing for the predicate.
+ predicateMessage <String> The error message of the predicate.
+ negated <BlockClosure> The block testing for the negation of the predicate.
+ negatedMessage <String> The error message of the negated predicate.'
!
@@ -20,13 +20,13 @@
block
"Answer the predicate block of the receiver."
-
+
^ predicate
!
message
"Answer the failure message."
-
+
^ predicateMessage
! !
@@ -40,5 +40,5 @@
!PPPredicateParser class methodsFor:'documentation'!
version_SVN
- ^ '$Id: PPPredicateParser.st,v 1.1 2011-08-18 18:56:17 cg Exp $'
+ ^ '$Id: PPPredicateParser.st,v 1.2 2012-01-13 11:22:50 cg Exp $'
! !