Interface ExpressionValueSyntaxValidator.ExpressionChecker
- Enclosing class:
- ExpressionValueSyntaxValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for checking the syntax of an expression to see if it's valid.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckExpression(ExpressionValue value) Validates the given expression value.
-
Method Details
-
checkExpression
Validates the given expression value.- Parameters:
value- the expression value to validate- Returns:
- true if the expression is valid, false otherwise
- Throws:
Exception- if an error occurs during validation. An exception indicates the expression is invalid.
-