private ISet <IAssemblyName> FindAPIs(ISST sst) { var apis = new HashSet <IAssemblyName>(); sst.Accept(_apiVisitor, apis); return(apis); }
public static CompletionExpressionCounter On(ISST sst) { var counter = new CompletionExpressionCounter(); sst.Accept(new HasCompletionExpressionVisitor(), counter); return(counter); }
private static void AssertFormatting(string expected, ISST sst) { var sut = new XamlSSTPrintingContext(); sst.Accept(new SSTPrintingVisitor(), sut); var actual = sut.ToString(); Assert.AreEqual(expected, actual); }
private int CountLoc(ISST sst) { return(sst.Accept(_locVisitor, 0)); }