Class SpellSyntax


  • public class SpellSyntax
    extends java.lang.Object
    Object for handling the spell syntax and the tokens within
    Author:
    Fiete
    • Constructor Detail

      • SpellSyntax

        public SpellSyntax​(java.lang.String text)
        creates a new Spellsyntax object from a syntax string
        Parameters:
        text -
    • Method Detail

      • getTokenSize

        public int getTokenSize()
      • reset

        public void reset()
      • hasNextToken

        public boolean hasNextToken()
      • toString

        public java.lang.String toString()
        returns a string with token information or null
        Overrides:
        toString in class java.lang.Object