Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
Name | Description |
---|---|
string
fileName
Gets or sets the path, URI or file-name that the issue occurred in.
string
message
Gets or sets the description of the issue.
Gets or sets the severity of the issue.
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
Name | Description |
---|---|
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
Name | Description |
---|---|
Class in Yarn.Compiler
Inherits from System.Object
A diagnostic message that describes an error, warning or informational message that the user can take action on.
Diagnostics are presented to the user as the result of compilation, through the CompilationResult class's Diagnostics property.
Name | Description |
---|---|
Name | Description |
---|---|
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
string
fileName
Gets or sets the path, URI or file-name that the issue occurred in.
Yarn.Compiler.Range range
Gets or sets the range of the file indicated by FileName that the issue occurred in.
string
message
Gets or sets the description of the issue.
Gets or sets the severity of the issue.
string
message
Gets or sets the description of the issue.
Gets or sets the severity of the issue.
object
obj
Initializes a new instance of the Diagnostic class.
Initializes a new instance of the Diagnostic class.
Initializes a new instance of the Diagnostic class.
Initializes a new instance of the Diagnostic class.
The severity of the issue.
Gets the zero-indexed character number in FileName at which the issue begins.
Gets or sets the source text of FileName containing the issue.
Gets or sets the path, URI or file-name that the issue occurred in.
Gets the zero-indexed line number in FileName at which the issue begins.
Gets or sets the description of the issue.
Gets or sets the range of the file indicated by FileName that the issue occurred in.
Gets or sets the severity of the issue.
string
fileName
Gets or sets the path, URI or file-name that the issue occurred in.
Antlr4.Runtime.ParserRuleContext
context
The parse node at which the error occurred.
string
message
Gets or sets the description of the issue.
Gets or sets the severity of the issue.
Enumeration Member in DiagnosticSeverity
An informational diagnostic.
Infos represent possible issues or steps that the user may wish to fix, but are unlikely to cause problems.
Enumeration Member in DiagnosticSeverity
An warning.
Warnings represent possible problems that the user should fix, but do not cause the compilation process to fail.
Property in Diagnostic
Gets or sets the range of the file indicated by FileName that the issue occurred in.
Enumeration Member in DiagnosticSeverity
An error.
If a Yarn source file contains errors, it cannot be compiled, and the compilation process will fail.
An error.
An informational diagnostic.
An warning.