Class ListBlockParser

    • Field Detail

      • myItemHandledNewListLine

        boolean myItemHandledNewListLine
      • myItemHandledNewItemLine

        boolean myItemHandledNewItemLine
      • myItemHandledSkipActiveLine

        boolean myItemHandledSkipActiveLine
    • Method Detail

      • setItemHandledLine

        void setItemHandledLine​(BasedSequence itemHandledLine)
      • setItemHandledNewListLine

        void setItemHandledNewListLine​(BasedSequence itemHandledLine)
      • setItemHandledNewItemLine

        void setItemHandledNewItemLine​(BasedSequence itemHandledLine)
      • setItemHandledLineSkipActive

        void setItemHandledLineSkipActive​(BasedSequence itemHandledLine)
      • setLastChild

        public void setLastChild​(ListItemParser lastChild)
      • getContentIndent

        int getContentIndent()
      • getLastContentIndent

        int getLastContentIndent()
      • 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 ListBlock getBlock()
        Returns:
        the block parser's block node instance
      • setTight

        private void setTight​(boolean tight)
      • closeBlock

        public void closeBlock​(ParserState state)
      • hasNonItemChildren

        private static boolean hasNonItemChildren​(ListItem item)
      • finalizeListTight

        private void finalizeListTight​(ParserState parserState)
      • createListBlock

        private static ListBlock createListBlock​(java.util.regex.Matcher matcher)
      • 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