Class: TreeSitterLanguagePack::DocstringInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::DocstringInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#associated_item ⇒ String?
Returns the value of attribute associated_item.
-
#format ⇒ DocstringFormat?
Returns the value of attribute format.
-
#parsed_sections ⇒ Array[DocSection]?
Returns the value of attribute parsed_sections.
-
#span ⇒ Span?
Returns the value of attribute span.
-
#text ⇒ String?
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ DocstringInfo
constructor
A new instance of DocstringInfo.
Constructor Details
#initialize ⇒ DocstringInfo
Returns a new instance of DocstringInfo.
101 |
# File 'sig/types.rbs', line 101
def initialize: (?text: String, ?format: DocstringFormat, ?span: Span, ?associated_item: String, ?parsed_sections: Array[DocSection]) -> void
|
Instance Attribute Details
#associated_item ⇒ String?
Returns the value of attribute associated_item.
98 99 100 |
# File 'sig/types.rbs', line 98 def associated_item @associated_item end |
#format ⇒ DocstringFormat?
Returns the value of attribute format.
96 97 98 |
# File 'sig/types.rbs', line 96 def format @format end |
#parsed_sections ⇒ Array[DocSection]?
Returns the value of attribute parsed_sections.
99 100 101 |
# File 'sig/types.rbs', line 99 def parsed_sections @parsed_sections end |
#span ⇒ Span?
Returns the value of attribute span.
97 98 99 |
# File 'sig/types.rbs', line 97 def span @span end |
#text ⇒ String?
Returns the value of attribute text.
95 96 97 |
# File 'sig/types.rbs', line 95 def text @text end |