Version

Search Results

TryGetSymbol Method (NonTerminalSymbolCollection)

Tries to get a NonTerminalSymbol 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 Syste...

NonTerminalSymbol Class Members

Public Properties Public Methods

HasPriority Property

Gets or sets the value indicating whether the NonTerminalSymbol has priority over other non-terminals when a global ambiguity is detected. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False. Remarks When a global ambiguity is dete...

IsError Property

Gets or sets a value indicating whether this non-terminal represents an error when it is found in the parsed document. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.

IsStartSymbol Property

Gets a value indicating whether the NonTerminalSymbol is the StartSymbol value of the associated Grammar and therefore if it must be at the root of the syntax tree of the parsed document. Syntax

PreventBacktracking Property

Gets or sets the value indicating whether nodes associated with the NonTerminalSymbol can be backtracked by the error handling routine. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False. Remarks In some cases, if the user forgets...

PreventPruning Property

Gets or sets the value indicating whether nodes representing the NonTerminalSymbol should always remain in the SyntaxTree, regardless of the SyntaxTreePruningMode value. Syntax

Rule Property (NonTerminalSymbol)

Gets or sets the SyntaxRule which defines what can be legally represented by the non-terminal. Syntax Exceptions Exception Description System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.