示例#1
0
 public override Microsoft.VisualStudio.Package.AuthoringScope ParseSource(string text, int line, int col, string fname,
                                                                           Microsoft.VisualStudio.Package.AuthoringSink aSink, Microsoft.VisualStudio.Package.ParseReason reason)
 {
     lock (ProjectManager.BuildLock){
         Cci.AuthoringSink  scAsink     = new AuthoringSink(aSink);
         Cci.AuthoringScope scAuthScope =
             this.scLanguageService.ParseSource(text, line, col, fname, scAsink, (Cci.ParseReason)reason);
         return(new AuthoringScope(scAuthScope, this.glyphProvider));
     }
 }
示例#2
0
 public AuthoringScope(Cci.AuthoringScope authoringScope, GlyphProvider glyphProvider)
 {
     this.scAuthoringScope = authoringScope;
     this.glyphProvider    = glyphProvider;
 }