public override TResult Accept <TResult>(IParseTreeVisitor <TResult> visitor) { IExprVisitor <TResult> typedVisitor = visitor as IExprVisitor <TResult>; if (typedVisitor != null) { return(typedVisitor.VisitAssign(this)); } else { return(visitor.VisitChildren(this)); } }