capture is the only way to create a capture.
Given a parser and a name, capture runs the
parser and saves its result in a captures object with the
given name as the key. It returns the result from the parser,
and attaches the captures object along with it.
captureis the only way to create a capture. Given a parser and a name,captureruns the parser and saves its result in a captures object with the given name as the key. It returns the result from the parser, and attaches the captures object along with it.