@return [Object] most up-to-date dependency in the possibility set
Creates and pushes the initial state for the resolution, based upon the {#requested} dependencies @return [void]
Unwinds the states stack because a conflict has been encountered @return [void]
Attempts to activate the current {#possibility} @return [void]
Generates a filtered version of the existing vertex’s ‘PossibilitySet` using the current state’s ‘requirement` @param [Object] vertex existing vertex @return [PossibilitySet] filtered possibility set
This method verifies that there are no (obvious) ambiguities with the provided col_sep
and strip
parsing options. For example, if col_sep
and strip
were both equal to \t
, then there would be no clear way to parse the input.
@return [UnwindDetails] Details of the nearest index to which we could unwind
@return [String] the name of the source of explicit dependencies, i.e.
those passed to {Resolver#resolve} directly.
@return [String] the name of the source of ‘locked’ dependencies, i.e.
those passed to {Resolver#resolve} directly as the `base`
@return [Array] array of sub-dependencies to avoid when choosing a
new possibility for the state we've unwound to. Only relevant for non-primary unwinds
Filter’s a state’s possibilities to remove any that would not satisfy the requirements in the conflict we’ve just rewound from @param [UnwindDetails] unwind_details details of the conflict just unwound from @return [void]
Ensures any raised {NoSuchDependencyError} has its {NoSuchDependencyError#required_by} set. @yield