Package org.commonmark.internal.inline
Class BackslashInlineParser
- java.lang.Object
-
- org.commonmark.internal.inline.BackslashInlineParser
-
- All Implemented Interfaces:
InlineContentParser
public class BackslashInlineParser extends java.lang.Object implements InlineContentParser
Parse a backslash-escaped special character, adding either the escaped character, a hard line break (if the backslash is followed by a newline), or a literal backslash to the block's children.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.Pattern
ESCAPABLE
-
Constructor Summary
Constructors Constructor Description BackslashInlineParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParsedInline
tryParse(InlineParserState inlineParserState)
-
-
-
Method Detail
-
tryParse
public ParsedInline tryParse(InlineParserState inlineParserState)
- Specified by:
tryParse
in interfaceInlineContentParser
-
-