public void VisitGivenFunction(IVisitedGivenFunction givenFunction) { if (currentClasses.Any()) { currentClasses.Peek().AddFunction(givenFunction); } }
public void VisitGivenFunction(IVisitedGivenFunction givenFunction) { // ignore to keep test simple, just focus on the complex visits }
public void AddFunction(IVisitedGivenFunction givenFunction) => visitedGivenFunctions.Add(givenFunction);