Class ListBlockParser

    • Field Detail

      • hadBlankLine

        private boolean hadBlankLine
      • linesAfterBlank

        private int linesAfterBlank
    • Constructor Detail

      • ListBlockParser

        public ListBlockParser​(ListBlock block)
    • Method Detail

      • getBlock

        public Block getBlock()
      • parseList

        private static ListBlockParser.ListData parseList​(java.lang.CharSequence line,
                                                          int markerIndex,
                                                          int markerColumn,
                                                          boolean inParagraph)
        Parse a list marker and return data on the marker or null.
      • isSpaceTabOrEnd

        private static boolean isSpaceTabOrEnd​(java.lang.CharSequence line,
                                               int index)
      • listsMatch

        private static boolean listsMatch​(ListBlock a,
                                          ListBlock b)
        Returns true if the two list items are of the same type, with the same delimiter and bullet character. This is used in agglomerating list items into lists.