S IAstVisitor <T, S> .VisitForeachStatement(ForeachStatement foreachStatement, T data)
        {
            var handler = ForeachStatementVisited;

            if (handler != null)
            {
                handler(foreachStatement, data);
            }
            return(VisitChildren(foreachStatement, data));
        }
Ejemplo n.º 2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            ForeachStatement o = other as ForeachStatement;

            return(o != null && this.ForEachStatement.DoMatch(o.ForEachStatement, match));
        }