Class GrammarOptions
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
ValuesIReadOnlyDictionary<string, string>
Properties
Values
Gets an immutable ordinal snapshot of grammar option values.
public IReadOnlyDictionary<string, string> Values { get; init; }