Class: TreeSitterLanguagePack::Diagnostic
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::Diagnostic
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#message ⇒ String?
Returns the value of attribute message.
-
#severity ⇒ DiagnosticSeverity?
Returns the value of attribute severity.
-
#span ⇒ Span?
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.
145 |
# File 'sig/types.rbs', line 145
def initialize: (?message: String, ?severity: DiagnosticSeverity, ?span: Span) -> void
|
Instance Attribute Details
#message ⇒ String?
Returns the value of attribute message.
141 142 143 |
# File 'sig/types.rbs', line 141 def @message end |
#severity ⇒ DiagnosticSeverity?
Returns the value of attribute severity.
142 143 144 |
# File 'sig/types.rbs', line 142 def severity @severity end |
#span ⇒ Span?
Returns the value of attribute span.
143 144 145 |
# File 'sig/types.rbs', line 143 def span @span end |