public class ListItemParser extends AbstractBlockParser
| Modifier and Type | Method and Description |
|---|---|
boolean |
canContain(ParserState state,
BlockParser blockParser,
com.vladsch.flexmark.ast.Block block) |
void |
closeBlock(ParserState state) |
com.vladsch.flexmark.ast.Block |
getBlock() |
boolean |
isContainer() |
boolean |
isPropagatingLastBlankLine(BlockParser lastMatchedBlockParser)
should be overridden in BlockQuote, FencedCode and ListItem
|
BlockContinue |
tryContinue(ParserState state)
See if the block parser can continue parsing the current block
|
addLine, breakOutOnDoubleBlankLine, canInterruptBy, finalizeClosedBlock, getBlockContent, getDataHolder, isClosed, isInterruptible, isParagraphParser, isRawText, parseInlinespublic boolean isContainer()
isContainer in interface BlockParserisContainer in class AbstractBlockParserpublic boolean canContain(ParserState state, BlockParser blockParser, com.vladsch.flexmark.ast.Block block)
canContain in interface BlockParsercanContain in class AbstractBlockParserstate - parser stateblockParser - block parserblock - new block being started @return true if this block parser's block can contain the given block type, false if it cannotpublic boolean isPropagatingLastBlankLine(BlockParser lastMatchedBlockParser)
AbstractBlockParserisPropagatingLastBlankLine in interface BlockParserisPropagatingLastBlankLine in class AbstractBlockParserlastMatchedBlockParser - the last matched block parser instancepublic com.vladsch.flexmark.ast.Block getBlock()
public void closeBlock(ParserState state)
public BlockContinue tryContinue(ParserState state)
BlockParserstate - current parsing stateCopyright © 2018. All rights reserved.