Package xbird.xquery.operator

Examples of xbird.xquery.operator.OverloadedFunction


    }

    @Override
    public XQExpression staticAnalysis(StaticContext statEnv) throws XQueryException {
        super.staticAnalysis(statEnv);
        OverloadedFunction op = resolveOp();
        op.staticAnalysis(statEnv, _leftOperand, _rightOperand);
        this._op = op;
        this._type = op.getReturnType();
        return this;
    }
View Full Code Here


    }

    @Override
    public XQExpression staticAnalysis(StaticContext statEnv) throws XQueryException {
        super.staticAnalysis(statEnv);
        final OverloadedFunction op = resolveOp();
        op.staticAnalysis(statEnv, _leftOperand, _rightOperand);
        this._op = op;
        if(_leftOperand instanceof Evaluable && _rightOperand instanceof Evaluable) {
            // apply eagar evaluation
            final Sequence<? extends Item> evaluated = eval(null, DynamicContext.DUMMY);
            return new PreEvaluatedVariable(evaluated);
        }
        this._type = op.getReturnType();
        return this;
    }
View Full Code Here

TOP

Related Classes of xbird.xquery.operator.OverloadedFunction

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.