Version

Search Results

Add(TerminalSymbol,Boolean) Method

Adds the specified symbol to the collection. Syntax Parameters symbol The symbol to add to the collection.isExitSymbol Indicates whether the symbol should be an exit symbol for the lexer state. Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar i...

Add Method (LexerStateTerminalSymbolCollection)

Adds the specified symbol to the collection. Overload List

Clear Method (LexerStateTerminalSymbolCollection)

Clears all symbols from the collection. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.

Contains(String) Method

Returns a value indicating whether a TerminalSymbol 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.

Contains(TerminalSymbol) Method

Returns a value indicating whether the specified TerminalSymbol exists within the collection. Syntax Parameters symbol The symbol to find in the collection. Exceptions Exception Description System.ArgumentNullException Occurs when symbol is null.

Contains Method (LexerStateTerminalSymbolCollection)

Returns a value indicating whether the specified TerminalSymbol exists within the collection. Overload List

Count Property (LexerStateTerminalSymbolCollection)

Gets the number of symbols in the collection. Syntax

IndexOf Method (LexerStateTerminalSymbolCollection)

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

Insert(Int32,String,String,TerminalSymbolComparison,Boolean) Method

Inserts a new TerminalSymbol into the collection with the specified name. Syntax Parameters index The zero-based index at which to insert the symbol.name The Symbol.Name of the new symbol.value The value indicating the text which must be matched for the terminal symbol to be recognized within the text. If null, th...

Insert(Int32,TerminalSymbol,Boolean) Method

Inserts the specified symbol into the collection. Syntax Parameters index The zero-based index at which to insert the symbol.symbol The symbol to add to the collection.isExitSymbol Indicates whether the symbol should be an exit symbol for the lexer state. Exceptions Exception Description System.InvalidOperationExc...