Version

Search Results

Grammar Class Properties

Public Properties

Analyze Method

Analyzes the Grammar and reports a list of warnings which may help the Grammar creator find and fix issues. Syntax Parameters analysisOptions The options which can be specified to customize the analysis of the grammar. Return Value A GrammarAnalysisResult which has a list of warnings. Exceptions Exception Descript...

Clone Method

Creates a mutable copy of the Grammar. Syntax

DefaultWhitespacePattern Field

The default regular expression pattern used to identify whitespace characters other than newlines: [ \t]+ Syntax

EndOfStreamSymbol Property

Gets a TerminalSymbol which represents the end of the input stream. Syntax

EndOfStreamSymbolName Property

Gets or sets the name that is used to reference the EndOfStreamSymbol. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the value is set and IsMutable is False. System.ArgumentNullException Occurs when the specified name is null or empty. System.ArgumentException Occurs when the...

GetAllSymbols Method

Returns a collection of all symbols in the grammar. Syntax

InitializeFrom Method

Clears all data in the Grammar and copies the data from the specified Grammar. Syntax Parameters source The instance from which the Grammar is to be initialized. Exceptions Exception Description System.ArgumentNullException Occurs when source is null. System.ArgumentException Occurs when source is equal to the Gra...

IsMutable Property

Gets the value indicating whether the Grammar or any of its related instances can be modified. Syntax Remarks A Grammar will become immutable the first time it is used to perform lexical or syntax analysis on a document. If the Grammar is immutable, certain operations will cause an System.InvalidOperationException...

LexerStates Property

Gets the set of lexer states in which the lexical analyzer can possible be when analyzing a document. Syntax