/** * Returns the first {@link Declaration}, from this context, that was created after visiting the * declaration clause. * * @return The first {@link Declaration} object */ Declaration getFirstDeclarationImp() { return getDeclarationResolverImp().getFirstDeclaration(); }
/** * Returns the first {@link Declaration}, from this context, that was created after visiting the * declaration clause. * * @return The first {@link Declaration} object */ Declaration getFirstDeclarationImp() { return getDeclarationResolverImp().getFirstDeclaration(); }
/** * Returns the root {@link Expression} for which all new {@link Expression expressions} a child. * * @return The root {@link Expression} of the query or subquery */ Expression getBaseExpression() { // Retrieve the first declaration, which is the base declaration (For top-level query, it's // always a range over an abstract schema name. For subqueries, it's either a range over an // abstract schema name or a derived path expression) return getDeclarationResolver().getFirstDeclaration().getQueryExpression(); }
/** * Returns the root {@link Expression} for which all new {@link Expression expressions} a child. * * @return The root {@link Expression} of the query or subquery */ Expression getBaseExpression() { // Retrieve the first declaration, which is the base declaration (For top-level query, it's // always a range over an abstract schema name. For subqueries, it's either a range over an // abstract schema name or a derived path expression) return getDeclarationResolver().getFirstDeclaration().getQueryExpression(); }