/// <summary> /// /// </summary> public LanguageList() { mLanguages = new ArrayList(); string[] files = Directory.GetFiles(".", "*.syn"); foreach (string file in files) { //try //{ SyntaxLoader l = new SyntaxLoader(); mLanguages.Add(l.Load(file)); //} //catch(System.Exception x) //{ // Console.WriteLine (x.Message); //} } }
/// <summary> /// /// </summary> public LanguageList() { mLanguages=new ArrayList (); string[] files=Directory.GetFiles(".","*.syn"); foreach (string file in files) { //try //{ SyntaxLoader l=new SyntaxLoader (); mLanguages.Add (l.Load (file)); //} //catch(System.Exception x) //{ // Console.WriteLine (x.Message); //} } }
public static Language FromSyntaxFile(string filename) { SyntaxLoader sl = new SyntaxLoader(); return(sl.Load(filename)); }