~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/IParser.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                ParsedDocument Parse (ProjectDom dom, string fileName, string content);
37
37
                ParsedDocument Parse (ProjectDom dom, string fileName, TextReader content);
38
38
                
39
 
                bool CanParseMimeType (string mimeType);
40
 
                bool CanParseProjectType (string projectType);
 
39
                /// <summary>
 
40
                /// Checks whether the parser can parse a file. Use for more granular checks after the 
 
41
                /// parser extension node's file extension check succeeds.
 
42
                /// </summary>
41
43
                bool CanParse (string fileName);
42
44
                
43
45
                IExpressionFinder CreateExpressionFinder (ProjectDom dom);
44
 
                IResolver         CreateResolver (ProjectDom dom, object editor, string fileName);
45
 
 
46
 
                string[] LexerTags { get; set; }
 
46
                IResolver         CreateResolver (ProjectDom dom, object editor, string fileName);
47
47
        }
48
48
}