/// <summary> /// Parses the given file. /// </summary> /// <remarks> /// This will be invoked by the IDE when the file is opened in the text editor /// </remarks> public override ParsedDocument Parse(bool storeAst, string fileName, MonoDevelop.Projects.Project project = null) { var doc = new GoldParsedDocument (); doc.ParseFromFile (fileName); return doc; }
/// <summary> /// Initializes a new instance of the <see cref="GoldAddin.GoldBuildOutputParser"/> class. /// </summary> /// <param name="fileName">File name.</param> public GoldBuildOutputParser(string fileName) { this.fileName = fileName; parsedDoc = new GoldParsedDocument (); parsedDoc.ParseFromFile (fileName); }