PetitCommonMark/software/PetitParser/BlockClosure.extension.st

9 lines
213 B
Smalltalk

Extension { #name : 'BlockClosure' }
{ #category : '*petitparser-core-converting' }
BlockClosure >> asParser [
"Answer a parser implemented in the receiving one-argument block."
^ PPPluggableParser on: self
]