Esempio n. 1
0
        public bool Run(ForStatement forStatement, Variable breakFlag, string keywordName, ParsingResult logger)
        {
            keyword = keywordName;

            VisitDynamic(forStatement.Body);

            if (logger != null)
            {
                parserResult.CopyTo(logger);
            }

            if (parserResult.HasErrors)
            {
                return(false);
            }

            TransformBreaks(breakFlag);

            return(scopeList.Count > 0);
        }