public override object VisitCallAwait([NotNull] CallAwaitContext context) { var r = new Result(); var expr = (Result)Visit(context.expression()); r.data = "var"; r.text = "await " + expr.text; return(r); }
public override object VisitCallAwait(CallAwaitContext context) { var r = (new Result() { data = "var" }); if (context.tuple() != null) { r.text += ((Result)(Visit(context.tuple()))).text; } else { r.text += (new System.Text.StringBuilder().Append("(").Append(((Result)(Visit(context.lambda()))).text).Append(")")).to_str(); } return(r); }