Hi, thanks for the great work you have done.
I wonder what's the best way to record varOrFunction name location inside user provided expression. I think passing Offset and Length in FunctionEvaluationEventArg and VariableEvaluationEventArg would be enough. But it doesn't seem a simple task, because there are many internal recursive invocations of Evaluate(string expression) with sub expressions or even generated expressions, so positions have to be synchronized everywhere.
This is required for automatically variable rename feature planned in my software, if you wonder.
Hi, thanks for the great work you have done.
I wonder what's the best way to record
varOrFunctionname location inside user provided expression. I think passingOffsetandLengthinFunctionEvaluationEventArgandVariableEvaluationEventArgwould be enough. But it doesn't seem a simple task, because there are many internal recursive invocations ofEvaluate(string expression)with sub expressions or even generated expressions, so positions have to be synchronized everywhere.This is required for automatically variable rename feature planned in my software, if you wonder.