Class IndentedCodeBlockParser

    • Constructor Detail

      • IndentedCodeBlockParser

        public IndentedCodeBlockParser​(com.vladsch.flexmark.util.data.DataHolder options)
    • Method Detail

      • getBlock

        public com.vladsch.flexmark.util.ast.Block getBlock()
        Returns:
        the block parser's block node instance
      • 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
      • addLine

        public void addLine​(ParserState state,
                            com.vladsch.flexmark.util.sequence.BasedSequence line)
        Description copied from interface: BlockParser
        Add another line to the block
        Specified by:
        addLine in interface BlockParser
        Overrides:
        addLine in class AbstractBlockParser
        Parameters:
        state - parser state
        line - line sequence
      • closeBlock

        public void closeBlock​(ParserState state)