Package xbird.xquery.expr.func.FunctionCall

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext.storeLocal()


        if(!(dynEnv instanceof FunctionCallContext)) {
            this._result = bindingValue;
            return;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        fctxt.storeLocal(this, bindingValue);
    }

    public Sequence loadResult(Sequence<? extends Item> contextSeq, DynamicContext dynEnv)
            throws XQueryException {
        if(!(dynEnv instanceof FunctionCallContext)) {
View Full Code Here


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

        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

        if(!(dynEnv instanceof FunctionCallContext)) {
            this._result = bindingValue;
            return;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        fctxt.storeLocal(this, bindingValue);
    }

    public Sequence loadResult(Sequence<? extends Item> contextSeq, DynamicContext dynEnv)
            throws XQueryException {
        if(!(dynEnv instanceof FunctionCallContext)) {
View Full Code Here

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

        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.