Class ListItemParser

    • Field Detail

      • myBlock

        private final ListItem myBlock
      • myParsing

        private final Parsing myParsing
      • myHadBlankLine

        private boolean myHadBlankLine
      • myIsEmpty

        private boolean myIsEmpty
    • Method Detail

      • getContentColumn

        int getContentColumn()
      • getContentIndent

        int getContentIndent()
      • getMarkerContentIndent

        int getMarkerContentIndent()
      • canContain

        public boolean canContain​(ParserState state,
                                  BlockParser blockParser,
                                  Block block)
        Specified by:
        canContain in interface BlockParser
        Overrides:
        canContain in class AbstractBlockParser
        Parameters:
        state - parser state
        blockParser - block parser
        block - new block being started @return true if this block parser's block can contain the given block type, false if it cannot
      • getBlock

        public Block getBlock()
        Returns:
        the block parser's block node instance
      • closeBlock

        public void closeBlock​(ParserState state)
      • continueAtColumn

        private BlockContinue continueAtColumn​(int newColumn)
      • tryContinue

        public BlockContinue tryContinue​(ParserState state)
        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