LanguageService::GetScanner Method (IVsTextLines^)
Visual Studio 2015
Returns a single instantiation of a parser.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- buffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] An IVsTextLines representing the lines of source to parse.
Return Value
Type: Microsoft.VisualStudio.Package::IScanner^If successful, returns an IScanner object; otherwise, returns a null value.
This method must be implemented in a class derived from the LanguageService class. The parser that is returned is used in the colorizer and can be used in all other parsing operations.
Show: