Class: ReferenceExtractor::Internal::UnresolvedReference
- Inherits:
-
Struct
- Object
- Struct
- ReferenceExtractor::Internal::UnresolvedReference
- Defined in:
- lib/reference_extractor/internal/unresolved_reference.rb
Overview
An unresolved reference from a file in one package to a constant that may be defined in a different package. Unresolved means that we know how it’s referred to in the file, and we have enough context on that reference to figure out the fully qualified reference such that we can produce a Reference in a separate pass. However, we have not yet resolved it to its fully qualified version.
Instance Attribute Summary collapse
-
#constant_name ⇒ Object
Returns the value of attribute constant_name.
-
#namespace_path ⇒ Object
Returns the value of attribute namespace_path.
-
#relative_path ⇒ Object
Returns the value of attribute relative_path.
-
#source_location ⇒ Object
Returns the value of attribute source_location.
Instance Attribute Details
#constant_name ⇒ Object
Returns the value of attribute constant_name
9 10 11 |
# File 'lib/reference_extractor/internal/unresolved_reference.rb', line 9 def constant_name @constant_name end |
#namespace_path ⇒ Object
Returns the value of attribute namespace_path
9 10 11 |
# File 'lib/reference_extractor/internal/unresolved_reference.rb', line 9 def namespace_path @namespace_path end |
#relative_path ⇒ Object
Returns the value of attribute relative_path
9 10 11 |
# File 'lib/reference_extractor/internal/unresolved_reference.rb', line 9 def relative_path @relative_path end |
#source_location ⇒ Object
Returns the value of attribute source_location
9 10 11 |
# File 'lib/reference_extractor/internal/unresolved_reference.rb', line 9 def source_location @source_location end |