// 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 }
public override void supplyStaticContext(JStaticContext context, int locationId, JExpression[] arguments) { StaticContext sc = new StaticContext(context); functionCall.SupplyStaticContext(sc); }