public class ASTMatchUntilHelper extends Object
Constructor and Description |
---|
ASTMatchUntilHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
validate(ExprNode lowerBounds,
ExprNode upperBounds,
boolean isAllowLowerZero)
Validate.
|
public static boolean validate(ExprNode lowerBounds, ExprNode upperBounds, boolean isAllowLowerZero) throws ASTWalkException
lowerBounds
- is the lower bounds, or null if none suppliedupperBounds
- is the upper bounds, or null if none suppliedisAllowLowerZero
- true to allow zero value for lower rangeASTWalkException
- if the AST is incorrect