InlineDelimiter
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.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Method invoked when the end of the input is reached.
Method invoked when the end of the input is reached.
Value parameters
- charsConsumed
-
the number of characters consumed before EOF has been reached
- source
-
the parser context at the position EOF has been reached
Attributes
- Returns
-
the result of the parser
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.
Value parameters
- 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)
Attributes
- Returns
-
either
Continue
in case the additional conditions for the delimiter are not met at this position, or aComplete
instance containing the result
Concrete fields
The start characters that mark the (potential) end of the delimited text in case the conditions implemented in atStartChar
are met.
The start characters that mark the (potential) end of the delimited text in case the conditions implemented in atStartChar
are met.