Class: TreeSitterLanguagePack::ImportInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ImportInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#alias ⇒ String?
readonly
Returns the value of attribute alias.
-
#is_wildcard ⇒ Boolean
readonly
Returns the value of attribute is_wildcard.
-
#items ⇒ Array[String]
readonly
Returns the value of attribute items.
-
#source ⇒ String
readonly
Returns the value of attribute source.
-
#span ⇒ Span
readonly
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.
132 |
# File 'sig/types.rbs', line 132
def initialize: (?source: String, ?items: Array[String], ?alias: String, ?is_wildcard: bool, ?span: Span) -> void
|
Instance Attribute Details
#alias ⇒ String? (readonly)
Returns the value of attribute alias.
128 129 130 |
# File 'sig/types.rbs', line 128 def alias @alias end |
#is_wildcard ⇒ Boolean (readonly)
Returns the value of attribute is_wildcard.
129 130 131 |
# File 'sig/types.rbs', line 129 def is_wildcard @is_wildcard end |
#items ⇒ Array[String] (readonly)
Returns the value of attribute items.
127 128 129 |
# File 'sig/types.rbs', line 127 def items @items end |
#source ⇒ String (readonly)
Returns the value of attribute source.
126 127 128 |
# File 'sig/types.rbs', line 126 def source @source end |
#span ⇒ Span (readonly)
Returns the value of attribute span.
130 131 132 |
# File 'sig/types.rbs', line 130 def span @span end |