Module: Solargraph

Defined in:
lib/solargraph.rb,
lib/solargraph/pin.rb,
lib/solargraph/page.rb,
lib/yard-solargraph.rb,
lib/solargraph/range.rb,
lib/solargraph/shell.rb,
lib/solargraph/bundle.rb,
lib/solargraph/source.rb,
lib/solargraph/api_map.rb,
lib/solargraph/library.rb,
lib/solargraph/logging.rb,
lib/solargraph/version.rb,
lib/solargraph/location.rb,
lib/solargraph/pin/base.rb,
lib/solargraph/position.rb,
lib/solargraph/yard_map.rb,
lib/solargraph/pin/block.rb,
lib/solargraph/workspace.rb,
lib/solargraph/core_fills.rb,
lib/solargraph/pin/common.rb,
lib/solargraph/pin/symbol.rb,
lib/solargraph/source_map.rb,
lib/solargraph/diagnostics.rb,
lib/solargraph/pin/closure.rb,
lib/solargraph/pin/keyword.rb,
lib/solargraph/complex_type.rb,
lib/solargraph/pin/constant.rb,
lib/solargraph/pin/yard_pin.rb,
lib/solargraph/source/chain.rb,
lib/solargraph/type_checker.rb,
lib/solargraph/api_map/cache.rb,
lib/solargraph/api_map/store.rb,
lib/solargraph/pin/attribute.rb,
lib/solargraph/pin/localized.rb,
lib/solargraph/pin/namespace.rb,
lib/solargraph/pin/parameter.rb,
lib/solargraph/pin/reference.rb,
lib/solargraph/pin/singleton.rb,
lib/solargraph/source/change.rb,
lib/solargraph/source/cursor.rb,
lib/solargraph/pin/proxy_type.rb,
lib/solargraph/server_methods.rb,
lib/solargraph/source/updater.rb,
lib/solargraph/yard_map/cache.rb,
lib/solargraph/language_server.rb,
lib/solargraph/pin/base_method.rb,
lib/solargraph/pin/conversions.rb,
lib/solargraph/pin/documenting.rb,
lib/solargraph/pin/duck_method.rb,
lib/solargraph/source/chain/or.rb,
lib/solargraph/source_map/clip.rb,
lib/solargraph/yard_map/mapper.rb,
lib/solargraph/diagnostics/base.rb,
lib/solargraph/pin/method_alias.rb,
lib/solargraph/workspace/config.rb,
lib/solargraph/pin/base_variable.rb,
lib/solargraph/source/chain/call.rb,
lib/solargraph/source/chain/head.rb,
lib/solargraph/source/chain/link.rb,
lib/solargraph/source_map/mapper.rb,
lib/solargraph/source_map/region.rb,
lib/solargraph/yard_map/core_gen.rb,
lib/solargraph/pin/class_variable.rb,
lib/solargraph/pin/local_variable.rb,
lib/solargraph/yard_map/core_docs.rb,
lib/solargraph/diagnostics/rubocop.rb,
lib/solargraph/pin/global_variable.rb,
lib/solargraph/pin/yard_pin/method.rb,
lib/solargraph/source/node_chainer.rb,
lib/solargraph/source/node_methods.rb,
lib/solargraph/language_server/host.rb,
lib/solargraph/pin/reference/extend.rb,
lib/solargraph/source/chain/literal.rb,
lib/solargraph/type_checker/problem.rb,
lib/solargraph/pin/instance_variable.rb,
lib/solargraph/pin/reference/include.rb,
lib/solargraph/pin/reference/require.rb,
lib/solargraph/pin/yard_pin/constant.rb,
lib/solargraph/source/chain/constant.rb,
lib/solargraph/source/chain/variable.rb,
lib/solargraph/source/encoding_fixes.rb,
lib/solargraph/source/flawed_builder.rb,
lib/solargraph/source/source_chainer.rb,
lib/solargraph/source_map/completion.rb,
lib/solargraph/api_map/source_to_yard.rb,
lib/solargraph/diagnostics/severities.rb,
lib/solargraph/diagnostics/type_check.rb,
lib/solargraph/pin/reference/override.rb,
lib/solargraph/pin/yard_pin/namespace.rb,
lib/solargraph/type_checker/param_def.rb,
lib/solargraph/language_server/message.rb,
lib/solargraph/language_server/request.rb,
lib/solargraph/pin/yard_pin/yard_mixin.rb,
lib/solargraph/complex_type/unique_type.rb,
lib/solargraph/pin/reference/superclass.rb,
lib/solargraph/complex_type/type_methods.rb,
lib/solargraph/diagnostics/update_errors.rb,
lib/solargraph/language_server/transport.rb,
lib/solargraph/source_map/node_processor.rb,
lib/solargraph/diagnostics/rubocop_helpers.rb,
lib/solargraph/language_server/error_codes.rb,
lib/solargraph/language_server/uri_helpers.rb,
lib/solargraph/source/chain/class_variable.rb,
lib/solargraph/language_server/host/sources.rb,
lib/solargraph/language_server/message/base.rb,
lib/solargraph/language_server/symbol_kinds.rb,
lib/solargraph/source/chain/global_variable.rb,
lib/solargraph/diagnostics/require_not_found.rb,
lib/solargraph/language_server/host/dispatch.rb,
lib/solargraph/language_server/message_types.rb,
lib/solargraph/language_server/host/cataloger.rb,
lib/solargraph/language_server/host/diagnoser.rb,
lib/solargraph/language_server/message/client.rb,
lib/solargraph/source/chain/instance_variable.rb,
lib/solargraph/source_map/node_processor/base.rb,
lib/solargraph/language_server/message/extended.rb,
lib/solargraph/language_server/message/shutdown.rb,
lib/solargraph/language_server/message/workspace.rb,
lib/solargraph/language_server/transport/adapter.rb,
lib/solargraph/language_server/message/initialize.rb,
lib/solargraph/source_map/node_processor/def_node.rb,
lib/solargraph/source_map/node_processor/sym_node.rb,
lib/solargraph/language_server/message/initialized.rb,
lib/solargraph/source_map/node_processor/args_node.rb,
lib/solargraph/source_map/node_processor/defs_node.rb,
lib/solargraph/source_map/node_processor/send_node.rb,
lib/solargraph/source_map/node_processor/alias_node.rb,
lib/solargraph/source_map/node_processor/begin_node.rb,
lib/solargraph/source_map/node_processor/block_node.rb,
lib/solargraph/source_map/node_processor/casgn_node.rb,
lib/solargraph/language_server/completion_item_kinds.rb,
lib/solargraph/language_server/message/text_document.rb,
lib/solargraph/language_server/transport/data_reader.rb,
lib/solargraph/source_map/node_processor/cvasgn_node.rb,
lib/solargraph/source_map/node_processor/gvasgn_node.rb,
lib/solargraph/source_map/node_processor/ivasgn_node.rb,
lib/solargraph/source_map/node_processor/lvasgn_node.rb,
lib/solargraph/source_map/node_processor/orasgn_node.rb,
lib/solargraph/source_map/node_processor/sclass_node.rb,
lib/solargraph/language_server/message/cancel_request.rb,
lib/solargraph/source_map/node_processor/resbody_node.rb,
lib/solargraph/language_server/message/completion_item.rb,
lib/solargraph/language_server/message/extended/search.rb,
lib/solargraph/language_server/message/method_not_found.rb,
lib/solargraph/source_map/node_processor/namespace_node.rb,
lib/solargraph/language_server/message/exit_notification.rb,
lib/solargraph/language_server/message/extended/document.rb,
lib/solargraph/language_server/message/text_document/base.rb,
lib/solargraph/language_server/message/text_document/hover.rb,
lib/solargraph/language_server/message/extended/environment.rb,
lib/solargraph/language_server/message/extended/document_gems.rb,
lib/solargraph/language_server/message/extended/download_core.rb,
lib/solargraph/language_server/message/method_not_implemented.rb,
lib/solargraph/language_server/message/text_document/did_open.rb,
lib/solargraph/language_server/message/text_document/did_save.rb,
lib/solargraph/language_server/message/completion_item/resolve.rb,
lib/solargraph/language_server/message/text_document/did_close.rb,
lib/solargraph/language_server/message/text_document/completion.rb,
lib/solargraph/language_server/message/text_document/did_change.rb,
lib/solargraph/language_server/message/text_document/formatting.rb,
lib/solargraph/language_server/message/text_document/code_action.rb,
lib/solargraph/language_server/message/client/register_capability.rb,
lib/solargraph/language_server/message/extended/check_gem_version.rb,
lib/solargraph/language_server/message/text_document/folding_range.rb,
lib/solargraph/language_server/message/text_document/signature_help.rb,
lib/solargraph/language_server/message/text_document/on_type_formatting.rb

Overview

The top-level namespace for the Solargraph code mapping, documentation, static analysis, and language server libraries.

Defined Under Namespace

Modules: CoreFills, Diagnostics, LanguageServer, Logging, Pin, ServerMethods Classes: ApiMap, Bundle, ComplexType, ComplexTypeError, DiagnosticsError, DomainDirective, FileNotFoundError, InvalidOffsetError, Library, Location, Page, Position, Range, Shell, Source, SourceMap, SourceNotAvailableError, TypeChecker, Workspace, WorkspaceTooLargeError, YardMap

Constant Summary collapse

YARDOC_PATH =
File.realpath(File.join(dir, '..', 'yardoc'))
YARD_EXTENSION_FILE =
File.join(dir, 'yard-solargraph.rb')
VIEWS_PATH =
File.join(dir, 'solargraph', 'views')
VERSION =
'0.33.2'

Class Method Summary collapse

Class Method Details

.loggerLogger

A convenience method for Solargraph::Logging.logger.


46
47
48
# File 'lib/solargraph.rb', line 46

def self.logger
  Solargraph::Logging.logger
end