C# Class LessProject.DotLessIntegration.DotLessLanguage

Inheritance: Microsoft.VisualStudio.Package.LanguageService
Mostrar archivo Open project: erikvanbrakel/DotLessVSIntegration Class Usage Examples

Public Methods

Method Description
GetColorableItem ( int index, IVsColorableItem &item ) : int
GetItemCount ( int &count ) : int
GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences

Returns a T:Microsoft.VisualStudio.Package.LanguagePreferences object for this language service.

GetScanner ( IVsTextLines buffer ) : IScanner

Returns a single instantiation of a parser.

OnIdle ( bool periodic ) : void
ParseSource ( Microsoft.VisualStudio.Package.ParseRequest req ) : Microsoft.VisualStudio.Package.AuthoringScope

Parses the source based on the specified T:Microsoft.VisualStudio.Package.ParseRequest object.

Method Details

GetColorableItem() public method

public GetColorableItem ( int index, IVsColorableItem &item ) : int
index int
item IVsColorableItem
return int

GetItemCount() public method

public GetItemCount ( int &count ) : int
count int
return int

GetLanguagePreferences() public method

Returns a T:Microsoft.VisualStudio.Package.LanguagePreferences object for this language service.
public GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences
return Microsoft.VisualStudio.Package.LanguagePreferences

GetScanner() public method

Returns a single instantiation of a parser.
public GetScanner ( IVsTextLines buffer ) : IScanner
buffer IVsTextLines [in] An representing the lines of source to parse. ///
return IScanner

OnIdle() public method

public OnIdle ( bool periodic ) : void
periodic bool
return void

ParseSource() public method

Parses the source based on the specified T:Microsoft.VisualStudio.Package.ParseRequest object.
public ParseSource ( Microsoft.VisualStudio.Package.ParseRequest req ) : Microsoft.VisualStudio.Package.AuthoringScope
req Microsoft.VisualStudio.Package.ParseRequest [in] The describing how to parse the source file. ///
return Microsoft.VisualStudio.Package.AuthoringScope