Package xbird.xquery.expr.ext

Examples of xbird.xquery.expr.ext.BDQExpr$ShippedVariableCollector


        }
        endpoint = parseExpr();
        currentToken = jj_consume_token(LbraceExprEnclosure);
        expr = parseExpr();
        currentToken = jj_consume_token(Rbrace);
        final BDQExpr remoteExpr = new BDQExpr(endpoint, hostVar, expr);
        locate(remoteExpr);
        {
            if(true)
                return remoteExpr;
        }
View Full Code Here


                return rewrite(var, filterExpr, statEnv);
            } else if(srcExpr instanceof Variable) {
                Variable var = (Variable) srcExpr;
                return rewrite(var, filterExpr, statEnv);
            } else if(srcExpr instanceof BDQExpr) {
                final BDQExpr distExpr = (BDQExpr) srcExpr;
                final XQExpression bodyExpr = distExpr.getBodyExpression();
                if(bodyExpr instanceof PathVariable) {
                    PathVariable bodyVar = (PathVariable) bodyExpr;
                    CompositePath optExpr = new CompositePath(bodyVar, filterExpr);
                    distExpr.setBodyExpression(optExpr);
                    return distExpr;
                } else {
                    AnonymousLetVariable wrappedVar = new AnonymousLetVariable(bodyExpr);
                    CompositePath optExpr = new CompositePath(wrappedVar, filterExpr);
                    distExpr.setBodyExpression(optExpr);
                    return distExpr;
                }
            }
            return null;
        }
View Full Code Here

        }
        endpoint = parseExpr();
        currentToken = jj_consume_token(LbraceExprEnclosure);
        expr = parseExpr();
        currentToken = jj_consume_token(Rbrace);
        final BDQExpr remoteExpr = new BDQExpr(endpoint, hostVar, expr);
        locate(remoteExpr);
        {
            if(true)
                return remoteExpr;
        }
View Full Code Here

TOP

Related Classes of xbird.xquery.expr.ext.BDQExpr$ShippedVariableCollector

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.