TomlLexerOptions Class

Configures the behavior of TomlLexer.

public sealed class TomlLexerOptions : IEquatable<TomlLexerOptions>
Implements

Constructors

NameDescription
TomlLexerOptions()

TomlLexerOptions()

public TomlLexerOptions()

No documentation is available.

Properties

NameDescription
DecodeScalarsGets or sets a value indicating whether the lexer should decode scalar values (for example, string escape sequences).

DecodeScalars

TomlLexerOptions.cs

Gets or sets a value indicating whether the lexer should decode scalar values (for example, string escape sequences).

public bool DecodeScalars { get; init; }

Property value

bool

Remarks

When false (default), string tokens carry only their span; higher layers can materialize values on demand.

Methods

NameDescription
Equals(TomlLexerOptions?)
Equals(object?)
GetHashCode()
ToString()

Equals overloads

Equals(TomlLexerOptions?)

public bool Equals(TomlLexerOptions? other)
Parameters
other TomlLexerOptions?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(TomlLexerOptions?, TomlLexerOptions?)
operator !=(TomlLexerOptions?, TomlLexerOptions?)

operator ==(TomlLexerOptions?, TomlLexerOptions?)

public static bool operator ==(TomlLexerOptions? left, TomlLexerOptions? right)

Parameters

left TomlLexerOptions?
right TomlLexerOptions?

Returns

bool

No documentation is available.

operator !=(TomlLexerOptions?, TomlLexerOptions?)

public static bool operator !=(TomlLexerOptions? left, TomlLexerOptions? right)

Parameters

left TomlLexerOptions?
right TomlLexerOptions?

Returns

bool

No documentation is available.