Class AbstractGrammarValidator.AbstractCollectionValidator

java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
org.eclipse.persistence.jpa.jpql.AbstractGrammarValidator.AbstractCollectionValidator
All Implemented Interfaces:
ExpressionVisitor
Direct Known Subclasses:
AbstractGrammarValidator.CollectionSeparatedByCommaValidator, AbstractGrammarValidator.CollectionSeparatedBySpaceValidator
Enclosing class:
AbstractGrammarValidator

protected abstract static class AbstractGrammarValidator.AbstractCollectionValidator extends AbstractExpressionVisitor
This validate is responsible to validate the collection of Expressions:
  • Making sure they are all separated by a comma or by a space (depending on which one is required);
  • Making sure it does not end with a comma;
  • There is no empty expression between two commas.