Class SpellSyntaxToken


  • public class SpellSyntaxToken
    extends java.lang.Object
    object for one syntax token and properties of the token
    Author:
    Fiete
    • Constructor Detail

      • SpellSyntaxToken

        public SpellSyntaxToken​(char c)
        constructor
      • SpellSyntaxToken

        public SpellSyntaxToken​(java.lang.Character c)
        constructor
    • Method Detail

      • getTokenType

        public int getTokenType()
      • isMultiple

        public boolean isMultiple()
        Returns:
        the multiple
      • setMultiple

        public void setMultiple​(boolean multiple)
        Parameters:
        multiple - the multiple to set
      • isNeeded

        public boolean isNeeded()
        Returns:
        the needed
      • setNeeded

        public void setNeeded​(boolean needed)
        Parameters:
        needed - the needed to set
      • getTokenCharacter

        public java.lang.Character getTokenCharacter()
        Returns:
        the tokenCharacter
      • getTokenString

        public java.lang.String getTokenString()
        Returns:
        the tokenCharacter as String
      • toString

        public java.lang.String toString()
        returns a string representation of the object
        Overrides:
        toString in class java.lang.Object