Ejemplo n.º 1
0
        public override object VisitPkgAnonymousAssign([NotNull] PkgAnonymousAssignContext context)
        {
            var obj = "";

            obj += "{";
            for (int i = 0; i < context.pkgAnonymousAssignElement().Length; i++)
            {
                if (i == 0)
                {
                    obj += Visit(context.pkgAnonymousAssignElement(i));
                }
                else
                {
                    obj += "," + Visit(context.pkgAnonymousAssignElement(i));
                }
            }
            obj += "}";
            return(obj);
        }
Ejemplo n.º 2
0
        public override object VisitPkgAnonymousAssign(PkgAnonymousAssignContext context)
        {
            var obj = "";

            obj += "{";
            foreach (var i in range(0, context.pkgAnonymousAssignElement().Length - 1, 1, true, true))
            {
                if (i == 0)
                {
                    obj += Visit(context.pkgAnonymousAssignElement(i));
                }
                else
                {
                    obj += "," + Visit(context.pkgAnonymousAssignElement(i));
                }
            }
            obj += "}";
            return(obj);
        }