Version

Search Results

Insert Method (LexerStateTerminalSymbolCollection)

Inserts the specified symbol into the collection. Overload List

IsExitSymbol Method

Indicates whether the specified TerminalSymbol will cause the lexer to exit the current LexerState when it is encountered during lexical analysis. Syntax Parameters symbol The symbol to check. Return Value True if the symbol exits the LexerState when found; False otherwise.

Item(Int32) Property

Gets the TerminalSymbol at the specified index. Syntax Parameters index The 0-based index of the Symbol to get. Exceptions Exception Description System.ArgumentOutOfRangeException Occurs when index is less than 0 or greater than or equal to Count.

Item(String) Property

Gets the TerminalSymbol 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 TerminalSymbol with the spe...

Item Property (LexerStateTerminalSymbolCollection)

Gets the TerminalSymbol 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.

LexerState Property

Gets the LexerState which owns the collection. Syntax

Remove(String) Method

Removes the TerminalSymbol with the specified name from the collection. Syntax Parameters name The name of the TerminalSymbol 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.ArgumentNullException Occu...

Remove(TerminalSymbol) Method

Removes the specified symbol from the collection. Syntax Parameters symbol The symbol to remove from the collection. Return Value True if the symbol was in the collection and removed; False otherwise. Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Gr...

Remove Method (LexerStateTerminalSymbolCollection)

Removes the TerminalSymbol with the specified name from the collection. Overload List

TryGetSymbol Method (LexerStateTerminalSymbolCollection)

Tries to get a TerminalSymbol with the specified name and returns whether one is in the collection. Syntax Parameters name The name of the symbol to find in the collection.symbol [Out] Contains the symbol with the specified name or null if no symbol has the name specified. Exceptions Exception Description System.A...