public override bool Evaluate() { if (context.Contents.Count == 0) return succ.Continue(context, fail); ContinuationAppender appender = new ContinuationAppender(context, succ); EvaluateAll evalall = new EvaluateAll(salience, argumentMode, appender.AsIndex(1), isUserInput); Evaluator eval = new Evaluator(salience, argumentMode, appender.AsIndex(0), evalall, isUserInput); return eval.Continue(context, fail); }
public override bool Evaluate() { if (context.Contents.Count == 0) { return(succ.Continue(context, fail)); } ContinuationAppender appender = new ContinuationAppender(context, succ); EvaluateAll evalall = new EvaluateAll(salience, argumentMode, appender.AsIndex(1), isUserInput); Evaluator eval = new Evaluator(salience, argumentMode, appender.AsIndex(0), evalall, isUserInput); return(eval.Continue(context, fail)); }