Interface InlineParser

All Superinterfaces:
LightInlineParser
All Known Implementing Classes:
CommonmarkInlineParser, InlineParserImpl

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 Details

    • initializeDocument

      void initializeDocument(@NotNull @NotNull Document document)
    • finalizeDocument

      void finalizeDocument(@NotNull @NotNull Document document)
    • parse

      void parse(@NotNull @NotNull BasedSequence input, @NotNull @NotNull 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<Node> parseCustom(@NotNull @NotNull BasedSequence input, @NotNull @NotNull Node node, @NotNull @NotNull BitSet customCharacters, @NotNull @NotNull Map<Character,CharacterNodeFactory> nodeFactoryMap)
    • mergeTextNodes

      void mergeTextNodes(@Nullable @Nullable Node fromNode, @Nullable @Nullable Node toNode)
    • mergeIfNeeded

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

      @Nullable @Nullable BasedSequence toEOL()
      Specified by:
      toEOL in interface LightInlineParser
    • parseNewline

      boolean parseNewline()
    • parseLinkDestination

      @Nullable @Nullable BasedSequence parseLinkDestination()
    • parseLinkTitle

      @Nullable @Nullable 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)