Version

Search Results

Item Property (LexerStateCollection)

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

Remove(LexerState) Method

Removes the specified LexerState from the collection. Syntax Parameters lexerState Exceptions Exception Description System.ArgumentNullException Occurs when lexerState is null. System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.

Remove(String) Method

Removes the LexerState with the specified name from the collection. Syntax Parameters name Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty. System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.

Remove Method (LexerStateCollection)

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

TryGetLexerState Method

Tries to get a LexerState with the specified name and returns whether one is in the collection. Syntax Parameters name The name of the lexer state to find in the collection, case-insensitively.lexerState [Out] Contains the lexer state with the specified name or null if no lexer state has the name specified. Except...

LexerStateTerminalSymbolCollection Class

A collection of TerminalSymbol instances contained within a LexerState. Syntax

LexerStateTerminalSymbolCollection Class Members

Public Properties Public Methods

Add(String,String,TerminalSymbolComparison,Boolean) Method

Adds a new TerminalSymbol to the collection with the specified name. Syntax Parameters name The Symbol.Name of the new symbol.value The text which must be matched for the terminal symbol to be recognized within the text. If null, the name will be used as the value.comparison Indicates how the text should be interp...