Table of Contents

Class GrammarOptions

Namespace
Utils.Parser.Model
Assembly
Utils.Parser.dll

Represents the key/value pairs declared in an options { ... } block, such as tokenVocab=MyLexer or superClass=MyBase.

public record GrammarOptions : IEquatable<GrammarOptions>
Inheritance
GrammarOptions
Implements
Inherited Members
Extension Methods

Constructors

GrammarOptions(IReadOnlyDictionary<string, string>)

Represents the key/value pairs declared in an options { ... } block, such as tokenVocab=MyLexer or superClass=MyBase.

public GrammarOptions(IReadOnlyDictionary<string, string> Values)

Parameters

Values IReadOnlyDictionary<string, string>

Properties

Values

Gets an immutable ordinal snapshot of grammar option values.

public IReadOnlyDictionary<string, string> Values { get; init; }

Property Value

IReadOnlyDictionary<string, string>