Package xbird.xquery.expr.var.BindingVariable

Examples of xbird.xquery.expr.var.BindingVariable.AnonymousLetVariable


                            Variable pv = pathSrc.getValue();
                            if(pv instanceof BindingVariable) {
                                if(searchKeyExpr instanceof CompositePath
                                        && _currentForClause != null) {
                                    assert (_currentBindings != null);
                                    final LetVariable lv = new AnonymousLetVariable(searchKeyExpr);
                                    lv.incrementReferenceCount();
                                    final int bsize = _currentBindings.size();
                                    assert (bsize > 0) : bsize;
                                    boolean found = false;
                                    for(int i = 0; i < bsize; i++) {
                                        Binding binding = _currentBindings.get(i);
View Full Code Here


                    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;
                }
            }
View Full Code Here

                            Variable pv = pathSrc.getValue();
                            if(pv instanceof BindingVariable) {
                                if(searchKeyExpr instanceof CompositePath
                                        && _currentForClause != null) {
                                    assert (_currentBindings != null);
                                    final LetVariable lv = new AnonymousLetVariable(searchKeyExpr);
                                    lv.incrementReferenceCount();
                                    final int bsize = _currentBindings.size();
                                    assert (bsize > 0) : bsize;
                                    boolean found = false;
                                    for(int i = 0; i < bsize; i++) {
                                        Binding binding = _currentBindings.get(i);
View Full Code Here

TOP

Related Classes of xbird.xquery.expr.var.BindingVariable.AnonymousLetVariable

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.