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



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def data
  @data
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def key
  @key
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def path
  @path
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def role
  @role
end

#spanObject

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



6
7
8
# File 'lib/ibex/lsp/symbol_occurrence.rb', line 6

def span
  @span
end