Class: TreeSitterLanguagePack::ExportInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeExportInfo

Returns a new instance of ExportInfo.

Parameters:



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

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

Instance Attribute Details

#kindExportKind?

Returns the value of attribute kind.

Returns:



124
125
126
# File 'sig/types.rbs', line 124

def kind
  @kind
end

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


123
124
125
# File 'sig/types.rbs', line 123

def name
  @name
end

#spanSpan?

Returns the value of attribute span.

Returns:



125
126
127
# File 'sig/types.rbs', line 125

def span
  @span
end