Method BlockString
BlockString(Parser<IEnumerable<Char>>, Parser<IEnumerable<Char>>)
Block quoted string, with custom open and closing delimiter parsers
Declaration
public static Parser<IEnumerable<char>> BlockString(Parser<IEnumerable<char>> openDelimiter, Parser<IEnumerable<char>> closeDelimiter)
Parameters
public static Parser<IEnumerable<char>> BlockString(Parser<IEnumerable<char>> openDelimiter, Parser<IEnumerable<char>> closeDelimiter)
Sprache.Parser<System.Collections.Generic.IEnumerable<Char>> | openDelimiter | Parser for the opening delimiter of the string |
Sprache.Parser<System.Collections.Generic.IEnumerable<Char>> | closeDelimiter | Parser for the closing delimiter of the string |
Returns
Sprache.Parser<System.Collections.Generic.IEnumerable<Char>> | Parser for a block string |
BlockString(Parser<IEnumerable<Char>>)
Parser combinator for a delimited string
Declaration
public static Parser<IEnumerable<char>> BlockString(Parser<IEnumerable<char>> delimiter)
Parameters
public static Parser<IEnumerable<char>> BlockString(Parser<IEnumerable<char>> delimiter)
Sprache.Parser<System.Collections.Generic.IEnumerable<Char>> | delimiter | Delimiter parser for the start and end of the string |
Returns
Sprache.Parser<System.Collections.Generic.IEnumerable<Char>> | Parser monad |