~ubuntu-branches/ubuntu/precise/monodevelop/precise

« 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): Andrew Mitchell
  • Date: 2011-06-29 06:56:25 UTC
  • mfrom: (1.8.1 upstream) (1.3.11 experimental)
  • Revision ID: james.westby@ubuntu.com-20110629065625-7xx19c4vb95j65pl
Tags: 2.5.92+dfsg-1ubuntu1
* Merge from Debian experimental:
 - Dropped patches & changes to debian/control for Moonlight
   + debian/patches/remove_support_for_moonlight.patch,
   + debian/patches/dont_add_moonlight_to_core_addins.patch,
 - Remaining patches:
   + debian/patches/no_appmenu:

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
}