protected SQLAggregateExpr parseAggregateExprRest(SQLAggregateExpr aggregateExpr) { if (lexer.token() == Token.ORDER) { SQLOrderBy orderBy = this.parseOrderBy(); aggregateExpr.putAttribute("ORDER BY", orderBy); } if (identifierEquals("SEPARATOR")) { lexer.nextToken(); SQLExpr seperator = this.primary(); aggregateExpr.putAttribute("SEPARATOR", seperator); } return aggregateExpr; }
public boolean visit(SQLAggregateExpr x) { accept(x.getArguments()); accept(x.getWithinGroup()); accept(x.getOver()); return false; }