Exemple #1
0
        // internal constructor

        internal XPathSelector(JXPathExpression exp, JConfiguration config, DotNetIndependentContext env)
        {
            this.exp       = exp.getInternalExpression();
            this.config    = config;
            this.env       = env;
            variableValues = new JValueRepresentation[env.getStackFrameMap().getNumberOfVariables()];
            // TODO: there are some reuse issues here if the compiler/static context has been reused
        }
        // internal constructor

        internal XPathSelector(JXPathExpression exp, JConfiguration config, DotNetIndependentContext env) {
            this.exp = exp.getInternalExpression();
            this.config = config;
            this.env = env;
            variableValues = new JValueRepresentation[env.getStackFrameMap().getNumberOfVariables()];
            // TODO: there are some reuse issues here if the compiler/static context has been reused
        }