Package xbird.xquery.expr.dyna

Examples of xbird.xquery.expr.dyna.ContextItemExpr


                    if(left instanceof VarRef) {
                        final Variable referent = ((VarRef) left).getValue();
                        if(firstBindingExpr instanceof PathExpr) {
                            final PathExpr bindingPathExpr = (PathExpr) firstBindingExpr;
                            if(firstBindingVar == referent) {
                                cmpOpr.setLeftOperand(new ContextItemExpr(bindingPathExpr.getType()));
                                bindingPathExpr.addPredicate(cmpOpr);
                                innerModified = true;
                                replaceVarRef = firstBindingVar;
                                break inner;
                            } else if((firstBindingType == Binding.FOR_CLAUSE)
View Full Code Here


                currentToken = jj_consume_token(Rpar);
                break;
            case Dot:
                //ContextItemExpr
                currentToken = jj_consume_token(Dot);
                expr = new ContextItemExpr();
                break;
            case TypeswitchLpar:
            case IfLpar:
            case QNameLpar:
                //FunctionCall
View Full Code Here

    public XQExpression staticAnalysis(StaticContext statEnv) throws XQueryException {
        this._analyzed = true;
        final List<XQExpression> step = _steps;
        if(step.isEmpty()) {
            return new ContextItemExpr();
        }
        // simplify PathExpr
        simplify();
        // pre-static analyse
        final int stepsize = step.size();
View Full Code Here

                currentToken = jj_consume_token(Rpar);
                break;
            case Dot:
                //ContextItemExpr
                currentToken = jj_consume_token(Dot);
                expr = new ContextItemExpr();
                break;
            case TypeswitchLpar:
            case IfLpar:
            case QNameLpar:
                //FunctionCall
View Full Code Here

TOP

Related Classes of xbird.xquery.expr.dyna.ContextItemExpr

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.