PPDelegateParser.st
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 13:01:14 +0100
changeset 642 77d5fddb6462
parent 502 1e45d3c96ec5
permissions -rw-r--r--
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present - All source *.st files are now Unicode UTF8 without BOM Files are in two groups (fileOut works this way in Smalltalk/X): - containing a unicode character have "{ Encoding: utf8 }" at the header - ASCII only are without the header

"{ Package: 'stx:goodies/petitparser' }"

"{ NameSpace: Smalltalk }"

PPParser subclass:#PPDelegateParser
	instanceVariableNames:'parser'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitParser-Parsers'
!


!PPDelegateParser class methodsFor:'instance creation'!

on: aParser
	^ self new setParser: aParser
! !




!PPDelegateParser methodsFor:'accessing'!

children
	^ Array with: parser
! !

!PPDelegateParser methodsFor:'initialization'!

setParser: aParser
	parser := aParser
! !

!PPDelegateParser methodsFor:'parsing'!

parseOn: aPPContext
	^ parser parseOn: aPPContext
! !

!PPDelegateParser class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPDelegateParser.st,v 1.4 2014-03-04 14:32:24 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPDelegateParser.st,v 1.4 2014-03-04 14:32:24 cg Exp $'
!

version_SVN
    ^ '$Id: PPDelegateParser.st,v 1.4 2014-03-04 14:32:24 cg Exp $'
! !