Package xbird.xquery.expr.flwr

Examples of xbird.xquery.expr.flwr.Grouping


                jj_la1[61] = jj_gen;
                ;
        }
        switch(jj_nt.kind) {
            case GroupBy:
                Grouping grouping = null;
                grouping = parseGroupByClause();
                flower.setGroupByClause(grouping);
                label_8: while(true) {
                    switch(jj_nt.kind) {
                        case LetVariable:
                            ;
                            break;
                        default:
                            jj_la1[62] = jj_gen;
                            break label_8;
                    }
                    bindings = parseLetClause();
                    grouping.addLetClauses(bindings);
                }
                switch(jj_nt.kind) {
                    case Where:
                        currentToken = jj_consume_token(Where);
                        whereExpr = parseExprSingle();
                        grouping.setWhereExpression(whereExpr);
                        break;
                    default:
                        jj_la1[63] = jj_gen;
                        ;
                }
View Full Code Here


    /************************************************************************
    [47] GroupByClause     ::= "group" "by" GroupingSpecList
    [48] GroupingSpecList ::= GroupingSpec ("," GroupingSpec)*
    ************************************************************************/
    final public Grouping parseGroupByClause() throws ParseException, XQueryException {
        final Grouping grouping = new Grouping();
        GroupingSpec spec = null;
        currentToken = jj_consume_token(GroupBy);
        //GroupingSpecList
        spec = parseGroupingSpec();
        grouping.addGroupingKey(spec);
        label_12: while(true) {
            switch(jj_nt.kind) {
                case Comma:
                    ;
                    break;
                default:
                    jj_la1[76] = jj_gen;
                    break label_12;
            }
            currentToken = jj_consume_token(Comma);
            spec = parseGroupingSpec();
            grouping.addGroupingKey(spec);
        }
        locate(grouping);
        {
            if(true)
                return grouping;
View Full Code Here

TOP

Related Classes of xbird.xquery.expr.flwr.Grouping

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.