Codegen refactoring [1/x]: Introduced a PPCCodeBlock
A PPCCodeBlock is an abstraction of a block of statements with temporaries. This will
allow for scoped temporary management in code generator - temporary variables could
be allocated for block only. (i.e., make them block-temporaries)
"{ Package: 'stx:goodies/petitparser/islands' }"
"{ NameSpace: Smalltalk }"
PPParser subclass:#PPInputEnds
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitIslands-Parsers'
!
!PPInputEnds methodsFor:'as yet unclassified'!
acceptsEpsilon
^ true
!
exampleOn: aStream
aStream nextPutAll: '#End Of Input#'
!
isNullable
^ true
!
parseOn: aPPContext
(aPPContext atEnd) ifFalse:
[
^ PPFailure message: 'end of input expected' context: aPPContext.
].
^ #inputEnds
! !