public class IndentedCodeBlockParser extends AbstractBlockParser
| Modifier and Type | Class and Description |
|---|---|
static class |
IndentedCodeBlockParser.BlockFactory |
static class |
IndentedCodeBlockParser.Factory |
| Constructor and Description |
|---|
IndentedCodeBlockParser(com.vladsch.flexmark.util.options.DataHolder options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLine(ParserState state,
com.vladsch.flexmark.util.sequence.BasedSequence line)
Add another line to the block
|
void |
closeBlock(ParserState state) |
com.vladsch.flexmark.ast.Block |
getBlock() |
BlockContinue |
tryContinue(ParserState state)
See if the block parser can continue parsing the current block
|
breakOutOnDoubleBlankLine, canContain, canInterruptBy, finalizeClosedBlock, getBlockContent, getDataHolder, isClosed, isContainer, isInterruptible, isParagraphParser, isPropagatingLastBlankLine, isRawText, parseInlinespublic IndentedCodeBlockParser(com.vladsch.flexmark.util.options.DataHolder options)
public com.vladsch.flexmark.ast.Block getBlock()
public BlockContinue tryContinue(ParserState state)
BlockParserstate - current parsing statepublic void addLine(ParserState state, com.vladsch.flexmark.util.sequence.BasedSequence line)
BlockParseraddLine in interface BlockParseraddLine in class AbstractBlockParserstate - parser stateline - line sequencepublic void closeBlock(ParserState state)
Copyright © 2018. All rights reserved.