Class: Rucoa::Handlers::TextDocumentDocumentSymbolHandler

Inherits:
Base
  • Object
show all
Includes:
Rucoa::HandlerConcerns::TextDocumentUriParameters
Defined in:
lib/rucoa/handlers/text_document_document_symbol_handler.rb

Constant Summary collapse

DOCUMENT_SYMBOL_KIND_FOR_FILE =
1
DOCUMENT_SYMBOL_KIND_FOR_MODULE =
2
DOCUMENT_SYMBOL_KIND_FOR_NAMESPACE =
3
DOCUMENT_SYMBOL_KIND_FOR_PACKAGE =
4
DOCUMENT_SYMBOL_KIND_FOR_CLASS =
5
DOCUMENT_SYMBOL_KIND_FOR_METHOD =
6
DOCUMENT_SYMBOL_KIND_FOR_PROPERTY =
7
DOCUMENT_SYMBOL_KIND_FOR_FIELD =
8
DOCUMENT_SYMBOL_KIND_FOR_CONSTRUCTOR =
9
DOCUMENT_SYMBOL_KIND_FOR_ENUM =
10
DOCUMENT_SYMBOL_KIND_FOR_INTERFACE =
11
DOCUMENT_SYMBOL_KIND_FOR_FUNCTION =
12
DOCUMENT_SYMBOL_KIND_FOR_VARIABLE =
13
DOCUMENT_SYMBOL_KIND_FOR_CONSTANT =
14
DOCUMENT_SYMBOL_KIND_FOR_STRING =
15
DOCUMENT_SYMBOL_KIND_FOR_NUMBER =
16
DOCUMENT_SYMBOL_KIND_FOR_BOOLEAN =
17
DOCUMENT_SYMBOL_KIND_FOR_ARRAY =
18
DOCUMENT_SYMBOL_KIND_FOR_OBJECT =
19
DOCUMENT_SYMBOL_KIND_FOR_KEY =
20
DOCUMENT_SYMBOL_KIND_FOR_NULL =
21
DOCUMENT_SYMBOL_KIND_FOR_ENUMMEMBER =
22
DOCUMENT_SYMBOL_KIND_FOR_STRUCT =
23
DOCUMENT_SYMBOL_KIND_FOR_EVENT =
24
DOCUMENT_SYMBOL_KIND_FOR_OPERATOR =
25
DOCUMENT_SYMBOL_KIND_FOR_TYPEPARAMETER =
26
ATTRIBUTE_METHOD_NAMES =

Returns:

  • (Set<String>)
::Set[
  'attr_accessor',
  'attr_reader',
  'attr_writer',
]

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::Base

Instance Method Details

#callObject



44
45
46
47
48
# File 'lib/rucoa/handlers/text_document_document_symbol_handler.rb', line 44

def call
  return unless responsible?

  respond(document_symbols)
end