Class: TreeSitterLanguagePack::DataAttribute
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::DataAttribute
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#name ⇒ String?
Returns the value of attribute name.
-
#span ⇒ Span?
Returns the value of attribute span.
-
#value ⇒ String?
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ DataAttribute
constructor
A new instance of DataAttribute.
Constructor Details
#initialize ⇒ DataAttribute
Returns a new instance of DataAttribute.
17 |
# File 'sig/types.rbs', line 17
def initialize: (?name: String, ?value: String, ?span: Span) -> void
|
Instance Attribute Details
#name ⇒ String?
Returns the value of attribute name.
13 14 15 |
# File 'sig/types.rbs', line 13 def name @name end |
#span ⇒ Span?
Returns the value of attribute span.
15 16 17 |
# File 'sig/types.rbs', line 15 def span @span end |
#value ⇒ String?
Returns the value of attribute value.
14 15 16 |
# File 'sig/types.rbs', line 14 def value @value end |