Skip to content
Snippets Groups Projects
Commit 4b1159f5 authored by Phoebe Goldman's avatar Phoebe Goldman Committed by Robert Goldman
Browse files

rewrite docstring for `record-dependency`

parent 2a9241d1
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,13 @@
(reverse (plan-actions-r plan)))
(defgeneric record-dependency (plan operation component)
(:documentation "Record an action as a dependency in the current plan"))
(:documentation "Record that, within PLAN, performing OPERATION on COMPONENT depends on all
of the (OPERATION . COMPONENT) actions in the current ASDF session's VISITING-ACTION-LIST.
You can get a single action which dominates the set of dependencies corresponding to this call with
(first (visiting-action-list *asdf-session*))
since VISITING-ACTION-LIST is a stack whose top action depends directly on its second action,
and whose second action depends directly on its third action, and so forth."))
;; No need to record a dependency to build a full graph, just accumulate nodes in order.
(defmethod record-dependency ((plan sequential-plan) (o operation) (c component))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment