public override object VisitMethodCallExp([NotNull] CoolParser.MethodCallExpContext context)
        {
            string name = context.ID().GetText();
            Coord  c    = GetCoord(context);

            List <Expression> parameters = new List <Expression>();

            foreach (var exp in context.expresion())
            {
                parameters.Add((Expression)Visit(exp));
            }

            return(new Dispatch(name, parameters, c));
        }
 public MethodCallNode(CoolParser.MethodCallExpContext context, Node s) : base(s.Childs)
 {
     this.context    = context;
     this.MethodName = context.ID().GetText();
 }