Class: RubyLens::Index::DeclarationCollector::Namespace

Inherits:
Data
  • Object
show all
Defined in:
lib/rubylens/index/declaration_collector.rb

Overview

A workspace namespace that earned a scene point, with the canonical definition sites that decide where its constant references land.

Instance Attribute Summary collapse

Instance Attribute Details

#declarationObject (readonly)

Returns the value of attribute declaration

Returns:

  • (Object)

    the current value of declaration



27
28
29
# File 'lib/rubylens/index/declaration_collector.rb', line 27

def declaration
  @declaration
end

#definition_sitesObject (readonly)

Returns the value of attribute definition_sites

Returns:

  • (Object)

    the current value of definition_sites



27
28
29
# File 'lib/rubylens/index/declaration_collector.rb', line 27

def definition_sites
  @definition_sites
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



27
28
29
# File 'lib/rubylens/index/declaration_collector.rb', line 27

def name
  @name
end

#scopeObject (readonly)

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



27
28
29
# File 'lib/rubylens/index/declaration_collector.rb', line 27

def scope
  @scope
end