class InlineDelimiter(nestedDelimiters: Set[Char], endDelimiters: Delimiter[String])
Delimiter implementation for parsing inline spans that distinguishes
between a delimiter that marks the end of the span and a delimiter
that marks the start of a nested span.
Method invoked every time the parser encounters any of the startChars.
The result is either Continue in case the additional conditions for the
delimiter are not met at this position, or a Complete instance containing
the result.
Method invoked every time the parser encounters any of the startChars.
The result is either Continue in case the additional conditions for the
delimiter are not met at this position, or a Complete instance containing
the result.
Attributes
charsConsumed
the number of characters consumed before the delimiter has been reached
source
the parser context at the position the delimiter has been reached
startChar
the start character that was encountered on the input string (matches one of the characters
in the startChar set)
Returns:
either Continue in case the additional conditions for the
delimiter are not met at this position, or a Complete instance containing
the result