as Alternation
Executes the block with this node as an AlternationCapture receiver if it is one.
Return
The result of block, or null if this node is not an AlternationCapture
Parameters
R
The return type of the block
block
A function to execute with the AlternationCapture receiver