Removed unused / obsolete methods from PPToken
* remove PPToken class>>on:start:stop
* remove PPToken>>initializeOn:start:stop
"{ Package: 'stx:goodies/petitparser/parsers/smalltalk' }"!
!PPParser methodsFor:'*petitsmalltalk-operations'!
smalltalkToken
| ws |
ws := PPSmalltalkWhitespaceParser new.
^ ((ws, ((PPTokenParser on: self) tokenClass: PPSmalltalkToken; yourself), ws) ==> #second)
name: 'trimmingToken';
yourself
! !
!RBProgramNode methodsFor:'*petitsmalltalk-accessing'!
addComments: aCollectionOfIntervals
(aCollectionOfIntervals isNil or: [ aCollectionOfIntervals isEmpty ])
ifFalse: [ self comments: self comments , aCollectionOfIntervals ]
! !
!RBValueToken methodsFor:'*PetitSmalltalk-Test'!
inputValue
self flag: 'ugly hack to deal with PPToken #value deprecation '.
^ self value
! !
!stx_goodies_petitparser_parsers_smalltalk class methodsFor:'documentation'!
extensionsVersion_HG
^ '$Changeset: <not expanded> $'
! !