Tests refactoring - use generated test cases to make sure all posibilities are tested.
Do not generate resource for all combinations, use PPCSetUpBeforeTearDownAfterResource
instead that delegates parser compilation to the testcase itself (it calls it's #setUpBefore
method).
"{ Package: 'stx:goodies/petitparser/compiler' }"
"{ NameSpace: Smalltalk }"
PPCDelegateNode subclass:#PPCNotNode
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Nodes'
!
!PPCNotNode methodsFor:'accessing'!
prefix
^ #not
! !
!PPCNotNode methodsFor:'analysis'!
firstCharSet
^ PPCharSetPredicate on: [:e | true ]
!
isFirstSetTerminal
^ true
! !
!PPCNotNode methodsFor:'visiting'!
accept: visitor
^ visitor visitNotNode: self
! !