Class SyntaxChecker

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  SyntaxChecker.Parser<T>
      This function should parse the given formula and in case of an error it should throw an exception or return null.
      static class  SyntaxChecker.Result  
    • Constructor Summary

      Constructors 
      Constructor Description
      SyntaxChecker()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract SyntaxChecker.Result check​(java.lang.String toCheck)
      Performs a syntax check on the given string.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SyntaxChecker

        public SyntaxChecker()
    • Method Detail

      • check

        public abstract SyntaxChecker.Result check​(java.lang.String toCheck)
        Performs a syntax check on the given string.
        Parameters:
        toCheck - The string to check.
        Returns:
        The result of syntax checking the given string.