Ejemplo n.º 1
0
 public List<TokenResultItem> AnalyzeFile(string fileContents, string path, string name)
 {
     List<TokenResultItem> tris = new List<TokenResultItem>();
     JSParser jsp = new JSParser();
     if (jsp.ParseText(fileContents, name, path))
     {
         foreach (TokenResultItem tri in jsp.Tokens)
         {
             tris.Add(tri);
         }
     }
     return tris;
 }