Source::BeginParse Method (Int32, Int32, TokenInfo^, ParseReason, IVsTextView^, ParseResultHandler^)
Visual Studio 2015
Begins a parsing operation with the given token, text view, and parse request handler.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
public: virtual ParseRequest^ BeginParse( int line, int idx, TokenInfo^ info, ParseReason reason, IVsTextView^ view, ParseResultHandler^ callback )
Parameters
- line
-
Type:
System::Int32
The line number.
- idx
-
Type:
System::Int32
The line column.
- info
-
Type:
Microsoft.VisualStudio.Package::TokenInfo^
The TokenInfo that is used to create the ParseRequest.
- reason
-
Type:
Microsoft.VisualStudio.Package::ParseReason
The ParseReason that is used to create the ParseRequest.
- view
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextView^
The IVsTextView that is used to create the ParseRequest.
- callback
-
Type:
Microsoft.VisualStudio.Package::ParseResultHandler^
A special handler that can be called to deal with certain kinds of parsing, such as M:Microsoft.VisualStudio.Package.Source.HandleMatchBracesResponse(ParseRequest) or M:Microsoft.VisualStudio.Package.Source.HandleCompletionResponse(ParseRequest).
Return Value
Type: Microsoft.VisualStudio.Package::ParseRequest^This method is called by the BeginParse method at the beginning of the parse with Check. At other times it can be called with the appropriate ParseReason.
Show: