Package client.net.sf.saxon.ce.om

Examples of client.net.sf.saxon.ce.om.ValueRepresentation


    public TailCall processLeavingTail(XPathContext context) throws XPathException {
        // minimize stack consumption by evaluating nested LET expressions iteratively
        LetExpression let = this;
        while (true) {
            ValueRepresentation val = let.eval(context);
            context.setLocalVariable(let.getLocalSlotNumber(), val);
            if (let.action instanceof LetExpression) {
                let = (LetExpression) let.action;
            } else {
                break;
View Full Code Here


        }
        int index = params.getIndex(binding.getParameterId());
        if (index < 0) {
            return ParameterSet.NOT_SUPPLIED;
        }
        ValueRepresentation val = params.getValue(index);
        stackFrame.slots[binding.getSlotNumber()] = val;
        boolean checked = params.isTypeChecked(index);
        return (checked ? ParameterSet.SUPPLIED_AND_CHECKED : ParameterSet.SUPPLIED);
    }
View Full Code Here

        }

        // Otherwise evaluate the function

        context.setStackFrame(getStackFrameMap(), actualArgs);
        ValueRepresentation result;
        try {
            result = ExpressionTool.evaluate(getBody(), evaluationMode, context, 1);
        } catch (XPathException err) {
            err.maybeSetLocation(getSourceLocator());
            throw err;
View Full Code Here

TOP

Related Classes of client.net.sf.saxon.ce.om.ValueRepresentation

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.