PPCConfiguration refactoring: [4/10]: introduced a class - PPCPass
... representing a compilation pass over the PPCNode tree.
The pass has a common api method: #run:in: which is not used in
PPCConfiguration. This simplifed the code and removed some code
duplication.
"{ Package: 'stx:goodies/petitparser/compiler' }"
"{ NameSpace: Smalltalk }"
PPCAbstractLiteralNode subclass:#PPCLiteralNode
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Nodes'
!
!PPCLiteralNode methodsFor:'comparing'!
recognizedSentencesPrim
^ Array with: literal.
! !
!PPCLiteralNode methodsFor:'printing'!
printNameOn: aStream
super printNameOn: aStream.
aStream nextPutAll: ', '; print: literal
! !
!PPCLiteralNode methodsFor:'visiting'!
accept: visitor
^ visitor visitLiteralNode: self
! !
!PPCLiteralNode class methodsFor:'documentation'!
version_HG
^ '$Changeset: <not expanded> $'
! !