Class TokenizerSymbol

    • Field Detail

      • name

        final String name
        The name.
      • startText

        final String startText
        The start text.
      • tailText

        final String tailText
        The tail text.
      • hidden

        final boolean hidden
        The hidden.
      • decodePaired

        final boolean decodePaired
        The decode paired.
      • enabled

        final boolean enabled
        The enabled.
      • canBeNested

        final boolean canBeNested
        The can be nested.
    • Constructor Detail

      • TokenizerSymbol

        public TokenizerSymbol​(String name,
                               String startText,
                               String tailText,
                               boolean hidden,
                               boolean decodePaired,
                               boolean enabled,
                               boolean canBeNested)
        Instantiates a new tokenizer symbol.
        Parameters:
        name - the name
        startText - the start text
        tailText - the tail text
        hidden - the hidden
        decodePaired - the decode paired
        enabled - the enabled
        canBeNested - the can be nested
    • Method Detail

      • compareTo

        public int compareTo​(Character chr)
        Compare to.
        Parameters:
        chr - the chr
        Returns:
        the int
      • compareTo

        public int compareTo​(TokenizerSymbol symbol)
        Compare to.
        Parameters:
        symbol - the symbol
        Returns:
        the int
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object