Interface InlineParser

  • All Superinterfaces:
    LightInlineParser

    public interface InlineParser
    extends LightInlineParser
    Parser for inline content (text, links, emphasized text, etc).

    This interface is not intended to be implemented by clients.

    • Method Detail

      • initializeDocument

        void initializeDocument​(@NotNull
                                @NotNull com.vladsch.flexmark.util.ast.Document document)
      • finalizeDocument

        void finalizeDocument​(@NotNull
                              @NotNull com.vladsch.flexmark.util.ast.Document document)
      • parse

        void parse​(@NotNull
                   @NotNull com.vladsch.flexmark.util.sequence.BasedSequence input,
                   @NotNull
                   @NotNull com.vladsch.flexmark.util.ast.Node node)
        Parameters:
        input - the content to parse as inline
        node - the node to append resulting nodes to (as children)
      • getLastDelimiter

        @Nullable
        @Nullable Delimiter getLastDelimiter()
      • getLastBracket

        @Nullable
        @Nullable Bracket getLastBracket()
      • parseCustom

        @Nullable
        @Nullable List<com.vladsch.flexmark.util.ast.Node> parseCustom​(@NotNull
                                                                       @NotNull com.vladsch.flexmark.util.sequence.BasedSequence input,
                                                                       @NotNull
                                                                       @NotNull com.vladsch.flexmark.util.ast.Node node,
                                                                       @NotNull
                                                                       @NotNull BitSet customCharacters,
                                                                       @NotNull
                                                                       @NotNull Map<Character,​CharacterNodeFactory> nodeFactoryMap)
      • mergeTextNodes

        void mergeTextNodes​(@Nullable
                            @Nullable com.vladsch.flexmark.util.ast.Node fromNode,
                            @Nullable
                            @Nullable com.vladsch.flexmark.util.ast.Node toNode)
      • mergeIfNeeded

        void mergeIfNeeded​(@Nullable
                           @Nullable Text first,
                           @Nullable
                           @Nullable Text last)
      • toEOL

        @Nullable
        @Nullable com.vladsch.flexmark.util.sequence.BasedSequence toEOL()
        Specified by:
        toEOL in interface LightInlineParser
      • parseNewline

        boolean parseNewline()
      • parseLinkDestination

        @Nullable
        @Nullable com.vladsch.flexmark.util.sequence.BasedSequence parseLinkDestination()
      • parseLinkTitle

        @Nullable
        @Nullable com.vladsch.flexmark.util.sequence.BasedSequence parseLinkTitle()
      • parseLinkLabel

        int parseLinkLabel()
      • parseAutolink

        boolean parseAutolink()
      • parseHtmlInline

        boolean parseHtmlInline()
      • parseEntity

        boolean parseEntity()
      • processDelimiters

        void processDelimiters​(@Nullable
                               @Nullable Delimiter stackBottom)
      • removeDelimitersBetween

        void removeDelimitersBetween​(@NotNull
                                     @NotNull Delimiter opener,
                                     @NotNull
                                     @NotNull Delimiter closer)
      • removeDelimiterAndNode

        void removeDelimiterAndNode​(@NotNull
                                    @NotNull Delimiter delim)
      • removeDelimiterKeepNode

        void removeDelimiterKeepNode​(@NotNull
                                     @NotNull Delimiter delim)
      • removeDelimiter

        void removeDelimiter​(@NotNull
                             @NotNull Delimiter delim)