Documentation for method make, assembled from the following types:
method make(Match: Mu )sub make(Mu )
Stores an arbitrary payload into the
Match object that can later be retrieved via
This is typically used in a grammar's actions class methods, where a piece of data is stored by one method and then later retrieved by another. It's up to you what data you store. It could be a tree node, result of a calculation, or a list of values.
The sub form operates on the current
$/, which can be a convenient shortcut:
method my-action ($/)