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

« back to all changes in this revision

Viewing changes to src/addins/TextTemplating/MonoDevelop.TextTemplating/Parser/T4ParsedDocument.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:
37
37
        public class T4ParsedDocument : ParsedDocument
38
38
        {
39
39
                string fileName;
 
40
                IList<Error> errors;
40
41
 
41
42
                public override string FileName {
42
43
                        get {
44
45
                        }
45
46
                }
46
47
 
47
 
                public T4ParsedDocument (string fileName, List<ISegment> segments)
 
48
                public T4ParsedDocument (string fileName, List<ISegment> segments, IList<Error> errors)
48
49
                {
49
50
                        this.fileName = fileName;
 
51
                        this.errors = errors;
50
52
                        TemplateSegments = segments;
51
53
                }
 
54
 
 
55
                public override IList<Error> Errors {
 
56
                        get {
 
57
                                return errors;
 
58
                        }
 
59
                }
52
60
                
53
61
                public List<ISegment> TemplateSegments { get; private set; }
54
62