public JPathEvaluatorTests(ITestOutputHelper output) : base(output) { RootEnv = new Evaluator.Env( parent: null, current: Evaluator.Result.Scalar(new Val()), resolver: Resolver, vars: global::BuildXL.Execution.Analyzer.LibraryFunctions.All.ToDictionary( func => "$" + func.Name, func => Evaluator.Result.Scalar(func))); }
private Evaluator.Env CreateEnv(object current, Evaluator.Env parent = null) { return(new Evaluator.Env(parent, Resolver(current), Resolver)); }