Commited a Smalltalk parser (MC package PetitSmalltalk)
Name: PetitSmalltalk-JanKurs.71
Author: JanKurs
Time: 19-08-2014, 02:18:05 AM
UUID: d1d11836-f3e2-4709-abd3-e2ff3b72d7c4
Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
Ancestors:
Fixes to be compatible with PPContext
"{ Package: 'stx:goodies/petitparser/parsers/smalltalk' }"!
!PPParser methodsFor:'*petitsmalltalk-operations'!
smalltalkToken
^ PPSmalltalkTokenParser on: self
! !
!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> $'
! !