~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/DiffParser.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        /// <summary>
40
40
        /// Parser for unified diffs
41
41
        /// </summary>
42
 
        public class DiffParser: ITypeSystemParser
 
42
        public class DiffParser : TypeSystemParser
43
43
        {
44
44
                // Match the original file and time/revstamp line, capturing the filepath and the stamp
45
45
                static Regex fileHeaderExpression = new Regex (@"^---\s+(?<filepath>[^\t]+)\t(?<stamp>.*)$", RegexOptions.Compiled);
52
52
                
53
53
                #region AbstractParser overrides
54
54
                
55
 
                ParsedDocument ITypeSystemParser.Parse (bool storeAst, string fileName, TextReader textReader, Project project = null)
 
55
                public override ParsedDocument Parse (bool storeAst, string fileName, TextReader textReader, Project project = null)
56
56
                {
57
57
                        var doc = new DefaultParsedDocument (fileName);
58
58