/** {@inheritDoc} */ @Override protected void initialize() { super.initialize(); setHandleCollection(true); // Invalid queries setHandleAggregate(true); // Invalid queries setFallbackBNFId(CollectionValuedPathExpressionBNF.ID); registerChild(CollectionValuedPathExpressionBNF.ID); }
/** {@inheritDoc} */ @Override protected void initialize() { super.initialize(); setFallbackBNFId(ID); setFallbackExpressionFactoryId(ResultVariableFactory.ID); registerChild(SelectExpressionBNF.ID); // The ResultVariable's BNF is this one so it needs to be registered as a child of itself. // This is required for validation to work properly. Basically, when checking if the select // expression is valid, it checks its BNF with the non-compound children of this one registerChild(ResultVariableBNF.ID); }
/** {@inheritDoc} */ @Override protected void initialize() { super.initialize(); setFallbackBNFId(ID); setFallbackExpressionFactoryId(AbstractSchemaNameFactory.ID); }
/** {@inheritDoc} */ @Override void initialize() { super.initialize(); registerExpressionFactory(CaseExpressionFactory.ID); }