public static void Main(string[] args) { CssParser.Ensure( Stylesheet.S, @" .one { color: green; background: white; } " ); //ParseCssAll(@"C:\Users\Public\GIT\GitHub\NutaParser\W3C"); //ParseCss(@"D:\OLEG\Git\NutaParser\W3C\css21-conformance\z\z-index\z-index-020.css"); //ParseCSharp(@"C:\Users\Public\GIT\GitHub\NutaParser\NutaParser\Class1.cs"); //ParseCSharp(@"D:\OLEG\Git\NutaParser\NutaParser\Class1.cs"); //ParseCSharpAll(@"D:\OLEG\Dropbox"); //ParseCSharpAll(@"D:\OLEG\Git"); //ParseCSharpAll(@"C:\Users\Public\GIT"); //ParseCSharpAll(@"C:\Users\Public\Mercurial"); //ParseCSharpAll(@"C:\Users\Public\TFS"); //ParseCSharpAll(@"C:\Users\Public\VSS"); //ParseCSharpAll(@"C:\Users\oshuruev\Documents\Visual Studio 2008"); //ParseCSharpAll(@"C:\Users\oshuruev\Documents\Visual Studio 2010"); Console.WriteLine("Done."); Console.ReadKey(); }
public static void ParseCss(string filePath) { string data = Parser.ReadDataFromFile(filePath); CssParser.Ensure(data); }