PPUnresolvedParser.st
changeset 0 739fe9b7253e
child 4 90de244a7fa2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PPUnresolvedParser.st	Thu Aug 18 20:56:17 2011 +0200
@@ -0,0 +1,30 @@
+"{ Package: 'squeak:petitparser' }"
+
+PPParser subclass:#PPUnresolvedParser
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitParser-Tools'
+!
+
+PPUnresolvedParser comment:'This is a temporary placeholder or forward reference to a parser that has not been defined yet. If everything goes well it will eventually be replaced with the real parser instance.'
+!
+
+
+!PPUnresolvedParser methodsFor:'parsing'!
+
+parseOn: aStream
+	self error: self printString , ' need to be resolved before execution.'
+! !
+
+!PPUnresolvedParser methodsFor:'testing'!
+
+isUnresolved
+	^ true
+! !
+
+!PPUnresolvedParser class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id: PPUnresolvedParser.st,v 1.1 2011-08-18 18:56:17 cg Exp $'
+! !