Class: TreeSitterLanguagePack::Diagnostic
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::Diagnostic
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#message ⇒ String
readonly
Returns the value of attribute message.
-
#severity ⇒ DiagnosticSeverity
readonly
Returns the value of attribute severity.
-
#span ⇒ Span
readonly
Returns the value of attribute span.
Instance Method Summary collapse
-
#initialize ⇒ Diagnostic
constructor
A new instance of Diagnostic.
Constructor Details
#initialize ⇒ Diagnostic
Returns a new instance of Diagnostic.
77 |
# File 'sig/types.rbs', line 77
def initialize: (?message: String, ?severity: DiagnosticSeverity, ?span: Span) -> void
|
Instance Attribute Details
#message ⇒ String (readonly)
Returns the value of attribute message.
73 74 75 |
# File 'sig/types.rbs', line 73 def @message end |
#severity ⇒ DiagnosticSeverity (readonly)
Returns the value of attribute severity.
74 75 76 |
# File 'sig/types.rbs', line 74 def severity @severity end |
#span ⇒ Span (readonly)
Returns the value of attribute span.
75 76 77 |
# File 'sig/types.rbs', line 75 def span @span end |