compiler/tests/extras/PPCLRPComment.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 30 Jul 2015 17:31:18 +0100
changeset 511 527038bc8edf
permissions -rw-r--r--
Added LRPParser from Live Robots Prograaming project

"{ 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.
! !