Version

Search Results

Span Property (NodeDiagnostic)

Gets the TextSpan indicating the location of the error. Syntax

ToString Method (NodeDiagnostic)

Gets a string representation of the error. Syntax

NonTerminalSymbol Class

A grammar symbol which represents one or more combinations of symbols, which can be terminal or non-terminal symbols. Syntax Remarks Non-terminal symbols represent sequences of zero or more symbols which have been parsed in a document. The possible sequences a non-terminal symbol can represent are described by the...

NonTerminalSymbolCollection Class

A collection of NonTerminalSymbol instances. Syntax

NonTerminalSymbolCollection Class Members

Public Properties Public Methods

Add(String) Method

Adds a new NonTerminalSymbol to the collection with the specified name. Syntax Parameters name The Symbol.Name of the new symbol. Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False. System.ArgumentNullException Occurs when name is null o...

Add Method (NonTerminalSymbolCollection)

Adds a new NonTerminalSymbol to the collection with the specified name. Overload List

Clear Method (NonTerminalSymbolCollection)

Removes all NonTerminalSymbol instances from this collection. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.