Version

Search Results

OnGlobalAmbiguityDetected Method (CustomLanguage)

Gets called when a global ambiguity is detected while parsing a document. Syntax Parameters context An object containing the relevant information about the global ambiguity. Remarks A global ambiguity occurs when the same span of text in a document can be interpreted in two or more different ways based on the gram...

CustomLanguage Constructor

Instantiates a new instance of CustomLanguage Syntax Parameters grammar The associated grammar. Exceptions Exception Description System.ArgumentNullException Occurs when grammar is null.

Diagnostic Class

Represents and error, warning, or information associated with a node in the parse tree. Syntax

DiagnosticSeverity Enumeration

Indicates the severity of a parse error. Syntax Members Member Description Error The error is incorrect and the document cannot be used until it is fixed. Information The error is information to indicate something to the user. Warning The error is a warning for something that might not have been intended by the us...

Diagnostic Class Members

Public Constructors Public Properties Public Methods

Diagnostic Class Methods

Public Methods

Diagnostic Class Properties

Public Properties

Message Property (Diagnostic)

Gets the message associated with the diagnostic message. Syntax

RelativeSpan Property

Gets the span indicating the location of the diagnostic message relative to the SyntaxNode.FullSpan of the node to which it relates. Syntax

Severity Property (Diagnostic)

Gets the severity level of the diagnostic message. Syntax