Class: TreeSitterLanguagePack::SymbolInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::SymbolInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#doc ⇒ String?
readonly
Returns the value of attribute doc.
-
#kind ⇒ SymbolKind
readonly
Returns the value of attribute kind.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#span ⇒ Span
readonly
Returns the value of attribute span.
-
#type_annotation ⇒ String?
readonly
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.
266 |
# File 'sig/types.rbs', line 266
def initialize: (?name: String, ?kind: SymbolKind, ?span: Span, ?type_annotation: String, ?doc: String) -> void
|
Instance Attribute Details
#doc ⇒ String? (readonly)
Returns the value of attribute doc.
264 265 266 |
# File 'sig/types.rbs', line 264 def doc @doc end |
#kind ⇒ SymbolKind (readonly)
Returns the value of attribute kind.
261 262 263 |
# File 'sig/types.rbs', line 261 def kind @kind end |
#name ⇒ String (readonly)
Returns the value of attribute name.
260 261 262 |
# File 'sig/types.rbs', line 260 def name @name end |
#span ⇒ Span (readonly)
Returns the value of attribute span.
262 263 264 |
# File 'sig/types.rbs', line 262 def span @span end |
#type_annotation ⇒ String? (readonly)
Returns the value of attribute type_annotation.
263 264 265 |
# File 'sig/types.rbs', line 263 def type_annotation @type_annotation end |