Class: Ibex::LSP::SymbolOccurrence

Inherits:
Struct
  • Object
show all
Defined in:
lib/ibex/lsp/symbol_occurrence.rb

Overview

A source-backed grammar symbol definition or reference.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def data
  @data
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def key
  @key
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def path
  @path
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def role
  @role
end

#spanObject

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



12
13
14
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 12

def span
  @span
end