Implement the `@on` keyword to allow blocks to be used for pattern matching.
Implement the
@onkeyword to allow blocks to be used for pattern matching.