Returns a value indicating whether the specified NonTerminalSymbol exists within the collection. Syntax Parameters symbol The symbol to find in the collection. Exceptions Exception Description System.ArgumentNullException Occurs when symbol is null.
Returns a value indicating whether a NonTerminalSymbol with the specified name exists within the collection. Syntax Parameters name The name of the symbol to find in the collection. Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty.
Returns a value indicating whether the specified NonTerminalSymbol exists within the collection. Overload List
Gets the number of symbols in this collection. Syntax
Gets the NonTerminalSymbol at the specified index. Syntax Parameters index The 0-based index of the NonTerminalSymbol to get. Exceptions Exception Description System.ArgumentOutOfRangeException Occurs when index is less than 0 or greater than or equal to Count.
Gets the NonTerminalSymbol with the specified name, case sensitively. Syntax Parameters name The Symbol.Name of the symbol to get. Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty. System.Collections.Generic.KeyNotFoundException Occurs when no NonTerminalSymbol with t...
Gets the NonTerminalSymbol at the specified index. Overload List Exceptions Exception Description System.ArgumentOutOfRangeException Occurs when index is less than 0 or greater than or equal to Count.
Removes the specified NonTerminalSymbol from the collection. Syntax Parameters symbol The NonTerminalSymbol to remove. Exceptions Exception Description System.ArgumentNullException Occurs when symbol is null. System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.
Removes the NonTerminalSymbol with the specified name from the collection. Syntax Parameters name The name of the NonTerminalSymbol to remove. Return Value True if a non-terminal symbol with the name was in the collection before removal; False otherwise. Exceptions Exception Description System.ArgumentNullExceptio...
Removes the NonTerminalSymbol with the specified name from the collection. Overload List