Table of Contents

Class JsonLineState

Namespace
SharpConsoleUI.Highlighting
Assembly
SharpConsoleUI.dll

Per-line parser state for the JSON highlighter (tracks open block comments).

public record JsonLineState : SyntaxLineState, IEquatable<SyntaxLineState>, IEquatable<JsonLineState>
Inheritance
JsonLineState
Implements
Inherited Members
Extension Methods

Constructors

JsonLineState(bool)

Per-line parser state for the JSON highlighter (tracks open block comments).

public JsonLineState(bool InBlockComment = false)

Parameters

InBlockComment bool

True when the line begins inside an unterminated block comment.

Properties

InBlockComment

True when the line begins inside an unterminated block comment.

public bool InBlockComment { get; init; }

Property Value

bool