Share via


PartialParseResult Enum

Definition

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

Accepted 2

Indicates that the edit was accepted and has been added to the parse tree

AutoCompleteBlock 16

Indicates that the edit requires an auto completion to occur

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

Rejected 1

Indicates that the edit could not be accepted and that a reparse is underway.

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.

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.

Applies to