Package xbird.xquery.expr.func.FunctionCall

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


            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

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

            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

Related Classes of xbird.xquery.expr.func.FunctionCall.FunctionCallContext

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.