class Molinillo::DependencyState(R, S)
Overview
A state that encapsulates a set of {#requirements} with an {Array} of possibilities
Defined in:
molinillo/state.crConstructors
Instance Method Summary
-
#pop_possibility_state
Removes a possibility from
self
@return [PossibilityState] a state with a single possibility, the possibility that was removed fromself
Instance methods inherited from class Molinillo::ResolutionState(R, S)
activated : DependencyGraph(Resolver::Resolution::PossibilitySet(R, S) | Nil | S, R)
activated,
activated=(activated : DependencyGraph(Resolver::Resolution::PossibilitySet(R, S) | Nil | S, R))
activated=,
conflicts : Hash(String, Resolver::Resolution::Conflict(R, S))
conflicts,
conflicts=(conflicts : Hash(String, Resolver::Resolution::Conflict(R, S)))
conflicts=,
depth : Int32
depth,
depth=(depth : Int32)
depth=,
name : String | Nil
name,
name=(name : String | Nil)
name=,
possibilities : Array(Resolver::Resolution::PossibilitySet(R, S))
possibilities,
possibilities=(possibilities : Array(Resolver::Resolution::PossibilitySet(R, S)))
possibilities=,
requirement : R | Nil
requirement,
requirement=(requirement : R | Nil)
requirement=,
requirements : Array(R)
requirements,
requirements=(requirements : Array(R))
requirements=,
unused_unwind_options : Array(Resolver::Resolution::UnwindDetails(R, S))
unused_unwind_options,
unused_unwind_options=(unused_unwind_options : Array(Resolver::Resolution::UnwindDetails(R, S)))
unused_unwind_options=
Constructor methods inherited from class Molinillo::ResolutionState(R, S)
new(name : Nil | String, requirements : Array(R), activated : Molinillo::DependencyGraph(Molinillo::Resolver::Resolution::PossibilitySet(R, S) | S | Nil, R), requirement : R | Nil, possibilities : Array(Molinillo::Resolver::Resolution::PossibilitySet(R, S)), depth : Int32, conflicts : Hash(String, Molinillo::Resolver::Resolution::Conflict(R, S)), unused_unwind_options : Array(Molinillo::Resolver::Resolution::UnwindDetails(R, S)))
new
Class methods inherited from class Molinillo::ResolutionState(R, S)
empty
empty
Constructor Detail
def self.new(name, requirements, activated, requirement, possibilities, depth, conflicts, unused_unwind_options)
#
Instance Method Detail
def pop_possibility_state
#
Removes a possibility from self
@return [PossibilityState] a state with a single possibility,
the possibility that was removed from self