public override void Visit(ForeachAST foreachStatement) { var arrayExprType = _exprTypeVisitor.GetAstNodeType(_currentFileName, _currentScopeId, _currentNodePosition, foreachStatement.ArrayExpr); if (!(arrayExprType is ArrayTypeAST)) { throw new Exception(string.Format("Type mismatch : Foreach statement expression must be an array type", arrayExprType.ToString())); } }
public override void Visit(ForeachAST foreachStatement) { }
public virtual void Visit(ForeachAST foreachStatement) { }