Class: TreeSitterLanguagePack::DataAttribute
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::DataAttribute
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#span ⇒ Span
readonly
Returns the value of attribute span.
-
#value ⇒ String
readonly
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.
58 |
# File 'sig/types.rbs', line 58
def initialize: (?name: String, ?value: String, ?span: Span) -> void
|
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
54 55 56 |
# File 'sig/types.rbs', line 54 def name @name end |
#span ⇒ Span (readonly)
Returns the value of attribute span.
56 57 58 |
# File 'sig/types.rbs', line 56 def span @span end |
#value ⇒ String (readonly)
Returns the value of attribute value.
55 56 57 |
# File 'sig/types.rbs', line 55 def value @value end |