Package com.algo.parser
Interface SyntaxChecker.Parser<T>
-
- Type Parameters:
T
- The type produced by the parser.
- Enclosing class:
- SyntaxChecker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public 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. Returning a non-null value is interpreted as success.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
test(java.lang.String formula)
-
-
-
Method Detail
-
test
T test(java.lang.String formula) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-