Example #1
0
        /// <summary>
        /// Visit "for" initialization,condition and action expressions.
        /// Visit "for" body.
        /// </summary>
        /// <param name="x"></param>
        virtual public void VisitForStmt(ForStmt x)
        {
            VisitExpressions(x.InitExList);
            VisitExpressions(x.CondExList);
            VisitExpressions(x.ActionExList);

            VisitElement(x.Body);
        }
Example #2
0
        /// <summary>
        /// Visit "for" initialization,condition and action expressions.
        /// Visit "for" body.
        /// </summary>
        /// <param name="x"></param>
        virtual public void VisitForStmt(ForStmt x)
        {
            VisitExpressionList(x.InitExList);
            VisitExpressionList(x.CondExList);
            VisitExpressionList(x.ActionExList);

            VisitElement(x.Body);
        }