9 lines
201 B
Smalltalk
9 lines
201 B
Smalltalk
Extension { #name : 'Character' }
|
|
|
|
{ #category : '*petitparser-core-converting' }
|
|
Character >> asParser [
|
|
"Answer a parser that accepts the receiving character."
|
|
|
|
^ PPLiteralObjectParser on: self
|
|
]
|