Diagnostic¶
-
class
Cocotec.CocoPlatform.Coco.Diagnostic
¶ Represents a potential problem with part of the model.
Properties
-
Cocotec.CocoPlatform.Coco.DiagnosticId
Id
{ }¶ The identity of this diagnostic.
-
string
Message
{ }¶ The diagnostic message.
-
Cocotec.CocoPlatform.Severity
Severity
{ }¶ The severity of the diagnostic.
-
Cocotec.CocoPlatform.Coco.DiagnosticCategory
Category
{ }¶ The category the diagnostic lies in.
-
Cocotec.CocoPlatform.Coco.Node
Node
{ }¶ The erroneous node of the AST. This may not be valid if the AST has not yet been built.
-
Cocotec.CocoPlatform.Coco.SourcePosition
Position
{ }¶ The erroneous node of the AST. This may not be valid if the AST has not yet been built.
-
Cocotec.CocoPlatform.Coco.SourceRange
HighlightRange
{ }¶ The range of the source file that should be highlighted to show the error.
-
List<Cocotec.CocoPlatform.Coco.FixItHint>
FixItHints
{ }¶ Fixits for this diagnostic.
-
Cocotec.CocoPlatform.Coco.DiagnosticId