compiler/tests/extras/PPCLRPComment.st
changeset 511 527038bc8edf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/tests/extras/PPCLRPComment.st	Thu Jul 30 17:31:18 2015 +0100
@@ -0,0 +1,34 @@
+"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"
+
+"{ NameSpace: Smalltalk }"
+
+PPCLRPContainedElement subclass:#PPCLRPComment
+	instanceVariableNames:'text'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Extras-Tests-LRP'
+!
+
+!PPCLRPComment class methodsFor:'instance creation'!
+
+text: aString
+    ^ self new text: aString
+! !
+
+!PPCLRPComment methodsFor:'accessing'!
+
+text
+    ^ text
+!
+
+text: anObject
+    text := anObject
+! !
+
+!PPCLRPComment methodsFor:'as yet unclassified'!
+
+printOn: aStream
+    aStream nextPutAll: 'PPCLRPComment : '.
+    aStream nextPutAll: self text asString.
+! !
+