9 lines
213 B
Smalltalk
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
|
|
]
|