Loading...
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.
string
fileName
Gets or sets the path, URI or file-name that the issue occurred in.
Antlr4.Runtime.IToken
token
The token at which the error occurred.
string
message
Gets or sets the description of the issue.
severity
Gets or sets the severity of the issue.
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
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.
severity
Gets or sets the severity of the issue.
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
string
message
Gets or sets the description of the issue.
severity
Gets or sets the severity of the issue.
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
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.
severity
Gets or sets the severity of the issue.
Property in Diagnostic
Gets or sets the range of the file indicated by FileName that the issue occurred in.
Property in Diagnostic
This property is obsolete and may be removed from a future version of Yarn Spinner: Use Range.Start.Character.
Gets the zero-indexed character number in FileName at which the issue begins.
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.
The severity of the issue.
Gets the zero-indexed character number in FileName at which the issue begins.
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 severity of the issue.
Enum in Diagnostic
Inherits from System.Enum
The severity of the issue.
An error.
An informational diagnostic.
An warning.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets the source text of containing the issue.
Gets or sets the range of the file indicated by that the issue occurred in.
object
obj
Enumeration Member in DiagnosticSeverity
An error.
If a Yarn source file contains errors, it cannot be compiled, and the compilation process will fail.
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.
Constructor in Diagnostic
Initializes a new instance of the Diagnostic class.
string
fileName
Gets or sets the path, URI or file-name that the issue occurred in.
range
Gets or sets the range of the file indicated by that the issue occurred in.
string
message
Gets or sets the description of the issue.
severity
Gets or sets the severity of the issue.