Reset nil attributes to their default values to make the spec valid
Parses the most indented lines into blocks that are marked and added to the frontier
Returns the node id for the given backtrace location.
begin raise rescue => e loc = e.backtrace_locations.first RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(loc) end # => 0
@return [Object] most up-to-date dependency in the possibility set
@return [Array] array of all the requirements that led to the need for
this unwind
Processes the topmost available {RequirementState} on the stack @return [void]
Creates and pushes the initial state for the resolution, based upon the {#requested} dependencies @return [void]
@param [Object] requirement @return [ResolutionState] the state whose ‘requirement` is the given
`requirement`.
@param [Object] requirement @return [Array<Object>] the list of requirements that led to
`requirement` being required.
Add the current {#possibility} to the dependency graph of the current {#state} @return [void]
Checks a proposed requirement with any existing locked requirement before generating an array of possibilities for it. @param [Object] requirement the proposed requirement @param [Object] activated @return [Array] possibilities
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.