Action inlining [1/x]: Initial support for inlining actions parsers (i.e., ==>)
The code of the action is now inlined into parsing method rather then delegated to
stored block. Mapping parser (i.e., map:[...]) are not supported and not detected, so
using them cause crash. This will be fixed later.
"{ Package: 'stx:goodies/petitparser' }"
"{ NameSpace: Smalltalk }"
PPParser subclass:#PPStartOfLineParser
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitParser-Parsers'
!
!PPStartOfLineParser methodsFor:'parsing'!
parseOn: aPPContext
(aPPContext isStartOfLine) ifTrue: [
^ #startOfLine
].
^ PPFailure message: 'Start of line expected' context: aPPContext at: aPPContext position
! !
!PPStartOfLineParser class methodsFor:'documentation'!
version_HG
^ '$Changeset: <not expanded> $'
! !