Table of Contents

Class AnyTextGrammar.ParanthesisRuleFormattingInstructionsInnerFormattingInstructionRule

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

Rule to assign the contents of the inner rule to FormattingInstructionsInner

public class AnyTextGrammar.ParanthesisRuleFormattingInstructionsInnerFormattingInstructionRule : AddAssignRule<IParanthesisRule, FormattingInstruction>
Inheritance
AnyTextGrammar.ParanthesisRuleFormattingInstructionsInnerFormattingInstructionRule
Inherited Members

Properties

Feature

Gets the name of the feature that is assigned

protected override string Feature { get; }

Property Value

string

Methods

GetCollection(IParanthesisRule, ParseContext)

Obtains the child collection

public override ICollection<FormattingInstruction> GetCollection(IParanthesisRule semanticElement, ParseContext context)

Parameters

semanticElement IParanthesisRule

the context element

context ParseContext

the parse context in which the collection is obtained

Returns

ICollection<FormattingInstruction>

a collection of values

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.