The following tables list the members exposed by LexerStateCollection.
Name | Description | |
---|---|---|
Count | Gets the number of LexerState instances in this collection. | |
DefaultLexerState | Gets the default lexer state of a grammar, which is the starting lexer state when documents are lexically analyzed. | |
Item | Overloaded. Gets the LexerState at the specified index. |
Name | Description | |
---|---|---|
Add | Adds a new LexerState with the specified name to the collection. | |
Clear | Removes all members from this collection. | |
Contains | Overloaded. Returns a value indicating whether the specified LexerState exists within this collection. | |
Remove | Overloaded. Removes the LexerState with the specified name from the collection. | |
TryGetLexerState | Tries to get a LexerState with the specified name and returns whether one is in the collection. |