Class: TreeSitterLanguagePack::DataAttribute

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDataAttribute

Returns a new instance of DataAttribute.

Parameters:

  • name: (String)
  • value: (String)
  • span: (Span)


58
# File 'sig/types.rbs', line 58

def initialize: (?name: String, ?value: String, ?span: Span) -> void

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


54
55
56
# File 'sig/types.rbs', line 54

def name
  @name
end

#spanSpan (readonly)

Returns the value of attribute span.

Returns:



56
57
58
# File 'sig/types.rbs', line 56

def span
  @span
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


55
56
57
# File 'sig/types.rbs', line 55

def value
  @value
end