Class GrammarExtensionBinding
Binds a grammar declared superClass to runtime lexer extensions.
public sealed record GrammarExtensionBinding : IEquatable<GrammarExtensionBinding>
- Inheritance
-
GrammarExtensionBinding
- Implements
- Inherited Members
- Extension Methods
Properties
AppliesTo
Grammar type to which the binding applies.
public GrammarType AppliesTo { get; init; }
Property Value
DeclaredChannels
Gets an immutable ordinal set of declared channels.
public IReadOnlySet<string> DeclaredChannels { get; init; }
Property Value
DeclaredTokens
Gets an immutable ordinal set of declared tokens.
public IReadOnlySet<string> DeclaredTokens { get; init; }
Property Value
GrammarName
Grammar name declaring the binding.
public string GrammarName { get; init; }
Property Value
LexerRuleNames
Gets an immutable ordinal set of lexer rules declared by the grammar.
public IReadOnlySet<string> LexerRuleNames { get; init; }
Property Value
SuperClassName
Name of the declared ANTLR superClass.
public string SuperClassName { get; init; }