Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
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 |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Constructor in
Initializes a new instance of the class.
Name | Description |
---|
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.
| Gets or sets the path, URI or file-name that the issue occurred in. |
| Gets or sets the description of the issue. |
Gets or sets the severity of the issue. |
severity
Name | Description |
---|---|
Name | Description |
---|---|
Property in
Method in
Property in
Constructor in
Initializes a new instance of the class.
Name | Description |
---|
Property in
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.
object
obj
Property in Diagnostic
This property is obsolete and may be removed from a future version of Yarn Spinner.
Gets the zero-indexed line number in FileName at which the issue begins.
Enumeration Member in DiagnosticSeverity
An error.
If a Yarn source file contains errors, it cannot be compiled, and the compilation process will fail.
Property in Diagnostic
Gets or sets the range of the file indicated by FileName that the issue occurred in.
| Gets or sets the description of the issue. |
Gets or sets the severity of the issue. |
severity
Name | Description |
---|---|
Enumeration Member in
Enumeration Member in
Constructor in
Initializes a new instance of the class.
Name | Description |
---|
An error.
An informational diagnostic.
An warning.
| Gets or sets the path, URI or file-name that the issue occurred in. |
| The parse node at which the error occurred. |
| Gets or sets the description of the issue. |
Gets or sets the severity of the issue. |
severity