Table of Contents

Class AnyTextGrammar.EnumRuleRule

Namespace
NMF.AnyText.Grammars
Assembly
NMF.AnyText.dll

A rule class representing the rule 'EnumRule'

public class AnyTextGrammar.EnumRuleRule : ModelElementRule<EnumRule>
Inheritance
AnyTextGrammar.EnumRuleRule
Inherited Members

Properties

SymbolKind

Gets the kind of document symbol to be used for this rule

public override SymbolKind SymbolKind { get; }

Property Value

SymbolKind

TokenModifiers

Gets the token modifiers of

public override string[] TokenModifiers { get; }

Property Value

string[]

TokenType

Gets the token type of tokens created for this rule

public override string TokenType { get; }

Property Value

string

Methods

Initialize(GrammarContext)

Initializes the current grammar rule

public override void Initialize(GrammarContext context)

Parameters

context GrammarContext

the grammar context in which the rule is initialized

Remarks

Do not modify the contents of this method as it will be overridden as the contents of the AnyText file change.