public void Visit(IVisitor visitor, CProjectContent projectContent) { if (projectContent.Content != null) { _logger.LogInformation($"Visiting {GetType()}, ProjectContent: Unknown"); projectContent.Content.Accept(visitor); _logger.LogInformation($"Visted {GetType()}, ProjectContent: Unknown"); } projectContent.File.Accept(visitor); }
public void VisitSProjectContent(CProjectContent projectContent) { _classVisitor.CodeWriter.Clear(); _projectContentVisitor.Visit(this, projectContent); }