PartialParseResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The result of attempting an incremental parse
This enumeration supports a bitwise combination of its member values.
public enum class PartialParseResult
[System.Flags]
public enum PartialParseResult
[<System.Flags>]
type PartialParseResult =
Public Enum PartialParseResult
- Inheritance
-
PartialParseResult
- Attributes
Fields
Name | Value | Description |
---|---|---|
Rejected | 1 | Indicates that the edit could not be accepted and that a reparse is underway. |
Accepted | 2 | Indicates that the edit was accepted and has been added to the parse tree |
Provisional | 4 | Indicates that the edit was accepted, but that a reparse should be forced when idle time is available since the edit may be misclassified |
SpanContextChanged | 8 | Indicates that the edit caused a change in the span's context and that if any statement completions were active prior to starting this partial parse, they should be reinitialized. |
AutoCompleteBlock | 16 | Indicates that the edit requires an auto completion to occur |
Remarks
Either the Accepted or Rejected flag is ALWAYS set. Additionally, Provisional may be set with Accepted and SpanContextChanged may be set with Rejected. Provisional may NOT be set with Rejected and SpanContextChanged may NOT be set with Accepted.