Sha256: bed5dcd58a98b7ba2fbe13adb6596d7b20e7430123df43b19c47d49be248b5f6
Contents?: true
Size: 606 Bytes
Versions: 7
Compression:
Stored size: 606 Bytes
Contents
module LanguageServer module Protocol module Interfaces class ReferenceContext def initialize(include_declaration:) @attributes = {} @attributes[:includeDeclaration] = include_declaration @attributes.freeze end # # Include the declaration of the current symbol. # # @return [boolean] def include_declaration attributes.fetch(:includeDeclaration) end attr_reader :attributes def to_json(*args) attributes.to_json(*args) end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems