Class: TreeSitterLanguagePack::SymbolInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::SymbolInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#doc ⇒ String?
Returns the value of attribute doc.
-
#kind ⇒ SymbolKind?
Returns the value of attribute kind.
-
#name ⇒ String?
Returns the value of attribute name.
-
#span ⇒ Span?
Returns the value of attribute span.
-
#type_annotation ⇒ String?
Returns the value of attribute type_annotation.
Instance Method Summary collapse
-
#initialize ⇒ SymbolInfo
constructor
A new instance of SymbolInfo.
Constructor Details
#initialize ⇒ SymbolInfo
Returns a new instance of SymbolInfo.
137 |
# File 'sig/types.rbs', line 137
def initialize: (?name: String, ?kind: SymbolKind, ?span: Span, ?type_annotation: String, ?doc: String) -> void
|
Instance Attribute Details
#doc ⇒ String?
Returns the value of attribute doc.
135 136 137 |
# File 'sig/types.rbs', line 135 def doc @doc end |
#kind ⇒ SymbolKind?
Returns the value of attribute kind.
132 133 134 |
# File 'sig/types.rbs', line 132 def kind @kind end |
#name ⇒ String?
Returns the value of attribute name.
131 132 133 |
# File 'sig/types.rbs', line 131 def name @name end |
#span ⇒ Span?
Returns the value of attribute span.
133 134 135 |
# File 'sig/types.rbs', line 133 def span @span end |
#type_annotation ⇒ String?
Returns the value of attribute type_annotation.
134 135 136 |
# File 'sig/types.rbs', line 134 def type_annotation @type_annotation end |