public class ListBlockParser extends AbstractBlockParser
| Modifier and Type | Class and Description |
|---|---|
static class |
ListBlockParser.Factory |
| Constructor and Description |
|---|
ListBlockParser(ListOptions options,
com.vladsch.flexmark.internal.ListBlockParser.ListData listData,
ListItemParser listItemParser) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
breakOutOnDoubleBlankLine() |
boolean |
canContain(ParserState state,
BlockParser blockParser,
com.vladsch.flexmark.ast.Block block) |
void |
closeBlock(ParserState state) |
ListBlock |
getBlock() |
ListItemParser |
getLastChild() |
com.vladsch.flexmark.internal.ListBlockParser.ListData |
getListData() |
ListOptions |
getOptions() |
boolean |
isContainer() |
void |
setLastChild(ListItemParser lastChild) |
BlockContinue |
tryContinue(ParserState state)
See if the block parser can continue parsing the current block
|
addLine, canInterruptBy, finalizeClosedBlock, getBlockContent, getDataHolder, isClosed, isInterruptible, isParagraphParser, isPropagatingLastBlankLine, isRawText, parseInlinespublic ListBlockParser(ListOptions options, com.vladsch.flexmark.internal.ListBlockParser.ListData listData, ListItemParser listItemParser)
public ListItemParser getLastChild()
public void setLastChild(ListItemParser lastChild)
public ListOptions getOptions()
public com.vladsch.flexmark.internal.ListBlockParser.ListData getListData()
public 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 ListBlock getBlock()
public void closeBlock(ParserState state)
public boolean breakOutOnDoubleBlankLine()
breakOutOnDoubleBlankLine in interface BlockParserbreakOutOnDoubleBlankLine in class AbstractBlockParserpublic BlockContinue tryContinue(ParserState state)
BlockParserstate - current parsing stateCopyright © 2018. All rights reserved.