Takes three parsers, open, close, and parser. between matches something that matches parser, surrounded by open and close. It returns the result of parser. If any of the parsers fail, between fails.
open
close
parser
between
parser for the opening delimiter
parser for the closing delimiter
parser for the content
a parser that returns the result of parser.
Generated using TypeDoc
Takes three parsers,
open
,close
, andparser
.between
matches something that matchesparser
, surrounded byopen
andclose
. It returns the result ofparser
. If any of the parsers fail,between
fails.