PartialParseResult Enum

The result of attempting an incremental parse

Namespace
Microsoft.AspNetCore.Razor
Assemblies
  • Microsoft.AspNetCore.Razor

Syntax

[Flags]
public enum PartialParseResult
enum Microsoft.AspNetCore.Razor.PartialParseResult

Fields

Accepted()

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

Return type:Microsoft.AspNetCore.Razor.PartialParseResult
Accepted = 2
AutoCompleteBlock()

Indicates that the edit requires an auto completion to occur

Return type:Microsoft.AspNetCore.Razor.PartialParseResult
AutoCompleteBlock = 16
Provisional()

Indicates that the edit was accepted, but that a reparse should be forced when idle time is available since the edit may be misclassified

Return type:Microsoft.AspNetCore.Razor.PartialParseResult
Provisional = 4
Rejected()

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

Return type:Microsoft.AspNetCore.Razor.PartialParseResult
Rejected = 1
SpanContextChanged()

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.

Return type:Microsoft.AspNetCore.Razor.PartialParseResult
SpanContextChanged = 8