public override String VisitArccosh([NotNull] mathParser.ArccoshContext context) { //ln(x + sqrt(x^2 - 1)) expression = expression + "System.Math.Log("; Visit(context.GetChild(2)); expression = expression + " + System.Math.Sqrt(System.Math.Pow("; Visit(context.GetChild(2)); expression = expression + ",2) - 1))"; return(expression); }
/// <summary> /// Visit a parse tree produced by <see cref="mathParser.arccosh"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitArccosh([NotNull] mathParser.ArccoshContext context) { return(VisitChildren(context)); }