Class: TreeSitterLanguagePack::DocstringInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::DocstringInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#associated_item ⇒ String?
readonly
Returns the value of attribute associated_item.
-
#format ⇒ DocstringFormat
readonly
Returns the value of attribute format.
-
#parsed_sections ⇒ Array[DocSection]
readonly
Returns the value of attribute parsed_sections.
-
#span ⇒ Span
readonly
Returns the value of attribute span.
-
#text ⇒ String
readonly
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.
95 |
# File 'sig/types.rbs', line 95
def initialize: (?text: String, ?format: DocstringFormat, ?span: Span, ?associated_item: String, ?parsed_sections: Array[DocSection]) -> void
|
Instance Attribute Details
#associated_item ⇒ String? (readonly)
Returns the value of attribute associated_item.
92 93 94 |
# File 'sig/types.rbs', line 92 def associated_item @associated_item end |
#format ⇒ DocstringFormat (readonly)
Returns the value of attribute format.
90 91 92 |
# File 'sig/types.rbs', line 90 def format @format end |
#parsed_sections ⇒ Array[DocSection] (readonly)
Returns the value of attribute parsed_sections.
93 94 95 |
# File 'sig/types.rbs', line 93 def parsed_sections @parsed_sections end |
#span ⇒ Span (readonly)
Returns the value of attribute span.
91 92 93 |
# File 'sig/types.rbs', line 91 def span @span end |
#text ⇒ String (readonly)
Returns the value of attribute text.
89 90 91 |
# File 'sig/types.rbs', line 89 def text @text end |