public interface ParserState extends com.vladsch.flexmark.util.BlockTracker, BlockParserTracker
This interface is not intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
boolean |
endsWithBlankLine(com.vladsch.flexmark.ast.Node block)
Test the block to see if it ends in a blank line.
|
BlockParser |
getActiveBlockParser() |
BlockParser |
getActiveBlockParser(com.vladsch.flexmark.ast.Block node) |
List<BlockParser> |
getActiveBlockParsers() |
int |
getColumn()
The column is the position within the line after tab characters have been processed as 4-space tab stops.
|
int |
getIndent() |
int |
getIndex() |
InlineParser |
getInlineParser() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getLine() |
int |
getLineEndIndex() |
int |
getLineEolLength() |
int |
getLineNumber() |
List<com.vladsch.flexmark.util.sequence.BasedSequence> |
getLineSegments()
Returns a list of document lines encountered this far in the parsing process
|
int |
getLineStart() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getLineWithEOL() |
int |
getNextNonSpaceIndex() |
ParserPhase |
getParserPhase()
Get the current parser phase
|
Parsing |
getParsing() |
com.vladsch.flexmark.util.options.MutableDataHolder |
getProperties() |
boolean |
isBlank() |
boolean |
isLastLineBlank(com.vladsch.flexmark.ast.Node node)
Test a block to see if the last line of the block is blank.
|
blockAdded, blockAddedWithChildren, blockAddedWithDescendants, blockRemoved, blockRemovedWithChildren, blockRemovedWithDescendantsblockParserAdded, blockParserRemovedcom.vladsch.flexmark.util.sequence.BasedSequence getLine()
com.vladsch.flexmark.util.sequence.BasedSequence getLineWithEOL()
int getIndex()
int getNextNonSpaceIndex()
getIndex() (may be the same) (0-based)int getColumn()
getIndex(). If the line starts with a tab,
followed by text, then the column for the first character of the text is 4 (the index is 1).int getIndent()
getColumn()boolean isBlank()
BlockParser getActiveBlockParser()
List<BlockParser> getActiveBlockParsers()
BlockParser getActiveBlockParser(com.vladsch.flexmark.ast.Block node)
node - block node for which to get the active block parserInlineParser getInlineParser()
int getLineNumber()
int getLineStart()
int getLineEolLength()
int getLineEndIndex()
boolean endsWithBlankLine(com.vladsch.flexmark.ast.Node block)
block - block to be testedboolean isLastLineBlank(com.vladsch.flexmark.ast.Node node)
node - block instance to testcom.vladsch.flexmark.util.options.MutableDataHolder getProperties()
ParserPhase getParserPhase()
ParserPhaseList<com.vladsch.flexmark.util.sequence.BasedSequence> getLineSegments()
Copyright © 2018. All rights reserved.