Version

Search Results

Add Method (LexerStateCollection)

Adds a new LexerState with the specified name to the collection. Syntax Parameters name The name to give to the new LexerState. Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty. System.ArgumentException Occurs when name belongs to a LexerState already in the Grammar. ...

Clear Method (LexerStateCollection)

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

Contains(LexerState) Method

Returns a value indicating whether the specified LexerState exists within this collection. Syntax Parameters lexerState Exceptions Exception Description System.ArgumentNullException Occurs when lexerState is null.

Contains(String) Method

Returns a value indicating whether a LexerState with the specified %% exists within this collection. Syntax Parameters name Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty.

Contains Method (LexerStateCollection)

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

Count Property (LexerStateCollection)

Gets the number of LexerState instances in this collection. Syntax

DefaultLexerState Property

Gets the default lexer state of a grammar, which is the starting lexer state when documents are lexically analyzed. Syntax

Item(Int32) Property

Gets the LexerState 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

Returns the LexerState with the specified name. Syntax Parameters name Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty. System.Collections.Generic.KeyNotFoundException Occurs when no lexer state exists with the specified name.