Class: TreeSitterLanguagePack::ImportInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ImportInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#alias ⇒ String?
Returns the value of attribute alias.
-
#is_wildcard ⇒ Boolean?
Returns the value of attribute is_wildcard.
-
#items ⇒ Array[String]?
Returns the value of attribute items.
-
#source ⇒ String?
Returns the value of attribute source.
-
#span ⇒ Span?
Returns the value of attribute span.
Instance Method Summary collapse
-
#initialize ⇒ ImportInfo
constructor
A new instance of ImportInfo.
Constructor Details
#initialize ⇒ ImportInfo
Returns a new instance of ImportInfo.
119 |
# File 'sig/types.rbs', line 119
def initialize: (?source: String, ?items: Array[String], ?alias: String, ?is_wildcard: bool, ?span: Span) -> void
|
Instance Attribute Details
#alias ⇒ String?
Returns the value of attribute alias.
115 116 117 |
# File 'sig/types.rbs', line 115 def alias @alias end |
#is_wildcard ⇒ Boolean?
Returns the value of attribute is_wildcard.
116 117 118 |
# File 'sig/types.rbs', line 116 def is_wildcard @is_wildcard end |
#items ⇒ Array[String]?
Returns the value of attribute items.
114 115 116 |
# File 'sig/types.rbs', line 114 def items @items end |
#source ⇒ String?
Returns the value of attribute source.
113 114 115 |
# File 'sig/types.rbs', line 113 def source @source end |
#span ⇒ Span?
Returns the value of attribute span.
117 118 119 |
# File 'sig/types.rbs', line 117 def span @span end |