Examples of FunctionCallContext


Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext

        assert (bindingValue != null);
        if(!(dynEnv instanceof FunctionCallContext)) {
            this._result = bindingValue;
            return;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        fctxt.storeLocal(this, bindingValue);
    }
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext

            if(_result == null) {
                return _value.eval(contextSeq, dynEnv);
            }
            return _result;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        int slotSize = fctxt.getSlotSize();
        final Sequence res;
        if(bindedSlot >= slotSize) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else if(bindedSlot == SLOT_UNSET) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else {
            res = fctxt.loadLocal(this, bindedSlot);
        }
        return res;
    }
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext

        assert (bindingValue != null);
        if(!(dynEnv instanceof FunctionCallContext)) {
            this._result = bindingValue;
            return;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        fctxt.storeLocal(this, bindingValue);
    }
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext

            if(_result == null) {
                return _value.eval(contextSeq, dynEnv);
            }
            return _result;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        int slotSize = fctxt.getSlotSize();
        final Sequence res;
        if(bindedSlot >= slotSize) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else if(bindedSlot == SLOT_UNSET) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else {
            res = fctxt.loadLocal(this, bindedSlot);
        }
        return res;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.