Package xbird.xquery

Examples of xbird.xquery.Module.staticAnalysis()


        XQueryParser parser = new XQueryParser(reader);
        StaticContext sc = dynEnv.getStaticContext();
        parser.setStaticContext(sc);
        Module mod = parser.parse();
        // static analysis
        mod.staticAnalysis(sc);
        // evaluate
        XQExpression body = mod.getExpression();
        Sequence res = body.eval(ValueSequence.EMPTY_SEQUENCE, dynEnv);
        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.