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.
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.