Class ZzzzzzBlockParser
java.lang.Object
com.vladsch.flexmark.parser.block.AbstractBlockParser
com.vladsch.flexmark.ext.zzzzzz.internal.ZzzzzzBlockParser
- All Implemented Interfaces:
BlockParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ZzzzzzBlock
private static String
private BlockContent
private final ZzzzzzOptions
private static Pattern
(package private) static Pattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLine
(ParserState state, BasedSequence line) Add another line to the blockvoid
closeBlock
(ParserState state) getBlock()
void
parseInlines
(InlineParser inlineParser) Do inline processing for the block content using the given inline parser interfacetryContinue
(ParserState state) See if the block parser can continue parsing the current blockMethods inherited from class com.vladsch.flexmark.parser.block.AbstractBlockParser
breakOutOnDoubleBlankLine, canContain, canInterruptBy, finalizeClosedBlock, getBlockContent, getDataHolder, isClosed, isContainer, isInterruptible, isParagraphParser, isPropagatingLastBlankLine, isRawText, removeBlankLines
-
Field Details
-
COL
-
ZZZZZZ_BLOCK_START
-
ZZZZZZ_BLOCK_CONTINUE
-
block
-
-
options
-
-
Constructor Details
-
ZzzzzzBlockParser
ZzzzzzBlockParser(DataHolder options)
-
-
Method Details
-
getBlock
- Returns:
- the block parser's block node instance
-
tryContinue
Description copied from interface:BlockParser
See if the block parser can continue parsing the current block- Parameters:
state
- current parsing state- Returns:
- block continue instance
-
addLine
Description copied from interface:BlockParser
Add another line to the block- Specified by:
addLine
in interfaceBlockParser
- Overrides:
addLine
in classAbstractBlockParser
- Parameters:
state
- parser stateline
- line sequence
-
closeBlock
-
parseInlines
Description copied from interface:BlockParser
Do inline processing for the block content using the given inline parser interface- Specified by:
parseInlines
in interfaceBlockParser
- Overrides:
parseInlines
in classAbstractBlockParser
- Parameters:
inlineParser
- instance of inline parser
-