コード例 #1
0
ファイル: XPath.cs プロジェクト: fidothe/saxon-he
        // 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
        }
コード例 #2
0
ファイル: Extensibility.cs プロジェクト: nuxleus/saxonica
 public override void supplyStaticContext(JStaticContext context, int locationId, JExpression[] arguments)
 {
     StaticContext sc = new StaticContext(context);
     functionCall.SupplyStaticContext(sc);
 }
        // 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
        }