Class LinkDestinationParser


  • public class LinkDestinationParser
    extends java.lang.Object
    • Field Detail

      • EXCLUDED_0_TO_SPACE_CHARS

        public final java.util.BitSet EXCLUDED_0_TO_SPACE_CHARS
      • JEKYLL_EXCLUDED_CHARS

        public final java.util.BitSet JEKYLL_EXCLUDED_CHARS
      • PAREN_EXCLUDED_CHARS

        public final java.util.BitSet PAREN_EXCLUDED_CHARS
      • PAREN_ESCAPABLE_CHARS

        public final java.util.BitSet PAREN_ESCAPABLE_CHARS
      • PAREN_QUOTE_CHARS

        public final java.util.BitSet PAREN_QUOTE_CHARS
      • allowMatchedParentheses

        public final boolean allowMatchedParentheses
      • spaceInUrls

        public final boolean spaceInUrls
      • parseJekyllMacrosInUrls

        public final boolean parseJekyllMacrosInUrls
      • intellijDummyIdentifier

        public final boolean intellijDummyIdentifier
    • Constructor Detail

      • LinkDestinationParser

        public LinkDestinationParser​(boolean allowMatchedParentheses,
                                     boolean spaceInUrls,
                                     boolean parseJekyllMacrosInUrls,
                                     boolean intellijDummyIdentifier)
        Parse Link Destination
        Parameters:
        allowMatchedParentheses - allow matched parentheses in link address. NOTE: if jekyll macros option is enabled, them matched parentheses will be enabled even if not selected.
        spaceInUrls - allow space in address
        parseJekyllMacrosInUrls - allow jekyll macros, matched {{ and }}
        intellijDummyIdentifier - allow intellij dummy identifier character
    • Method Detail

      • getCharSet

        public static java.util.BitSet getCharSet​(java.lang.CharSequence chars)
      • getCharSet

        public static java.util.BitSet getCharSet​(char charFrom,
                                                  char charTo)