class RubyIndexer::Entry::UnresolvedAlias

An UnresolvedAlias points to a constant alias with a right hand side that has not yet been resolved. For example, if we find

CONST = Foo

Before we have discovered Foo, there’s no way to eagerly resolve this alias to the correct target constant. All aliases are inserted as UnresolvedAlias in the index first and then we lazily resolve them to the correct target in [Index#resolve]. If the right hand side contains a constant that doesn’t exist, then it’s not possible to resolve the alias and it will remain an UnresolvedAlias until the right hand side constant exists

Attributes

nesting (attr_reader)

target (attr_reader)

Public Class Methods

new(target, nesting, name, file_path, location, comments)

Calls superclass method RubyIndexer::Entry::new