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...
Instantiates a new instance of CustomLanguage Syntax Parameters grammar The associated grammar. Exceptions Exception Description System.ArgumentNullException Occurs when grammar is null.
Represents and error, warning, or information associated with a node in the parse tree. Syntax
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...
Public Constructors Public Properties Public Methods
Public Methods
Public Properties
Gets the message associated with the diagnostic message. Syntax
Gets the span indicating the location of the diagnostic message relative to the SyntaxNode.FullSpan of the node to which it relates. Syntax
Gets the severity level of the diagnostic message. Syntax