Version

Search Results

ToString Method (SyntaxNode)

Returns the string representation of this object. Syntax

SyntaxRule Class

Abstract base class for all rules defining what a NonTerminalSymbol can legally represent. Syntax

SyntaxRuleCollection Class

A collection of SyntaxRule instances. Syntax

SyntaxRuleCollection Class Members

Public Properties Public Methods

Add Method (SyntaxRuleCollection)

Adds the specified SyntaxRule-derived instance to the collection. Syntax Parameters rule The SyntaxRule-derived instance to add to the collection. Exceptions Exception Description System.ArgumentNullException Occurs when rule is null. System.InvalidOperationException Occurs when rule is already owned by another ru...

Clear Method (SyntaxRuleCollection)

Removes all rules from the collection. Syntax

Count Property (SyntaxRuleCollection)

Returns the number of elements in this collection. Syntax

IndexOf Method (SyntaxRuleCollection)

Gets the index of the specified rule or -1 if it doesnt exist. Syntax Parameters rule Return Value The zero-based index of the rule in the collection or -1 if it doesnt exist. Exceptions Exception Description System.ArgumentNullException Occurs when rule is null.