Package org.commonmark.internal
Class ThematicBreakParser
- java.lang.Object
-
- org.commonmark.parser.block.AbstractBlockParser
-
- org.commonmark.internal.ThematicBreakParser
-
- All Implemented Interfaces:
BlockParser
public class ThematicBreakParser extends AbstractBlockParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThematicBreakParser.Factory
-
Field Summary
Fields Modifier and Type Field Description private ThematicBreak
block
-
Constructor Summary
Constructors Constructor Description ThematicBreakParser(java.lang.String literal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
getBlock()
private static boolean
isThematicBreak(java.lang.CharSequence line, int index)
BlockContinue
tryContinue(ParserState state)
-
Methods inherited from class org.commonmark.parser.block.AbstractBlockParser
addLine, addSourceSpan, canContain, canHaveLazyContinuationLines, closeBlock, getDefinitions, isContainer, parseInlines
-
-
-
-
Field Detail
-
block
private final ThematicBreak block
-
-
Method Detail
-
getBlock
public Block getBlock()
-
tryContinue
public BlockContinue tryContinue(ParserState state)
-
isThematicBreak
private static boolean isThematicBreak(java.lang.CharSequence line, int index)
-
-