Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Didier Verna
asdf
Commits
f488f3f0
Commit
f488f3f0
authored
11 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Tweak: operation-designator, not operation-class-designator.
parent
88d99875
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
action.lisp
+8
-6
8 additions, 6 deletions
action.lisp
with
8 additions
and
6 deletions
action.lisp
+
8
−
6
View file @
f488f3f0
...
@@ -127,13 +127,15 @@ You can put together sentences using this phrase."))
...
@@ -127,13 +127,15 @@ You can put together sentences using this phrase."))
;;;; upward-operation, downward-operation, sideway-operation, selfward-operation
;;;; upward-operation, downward-operation, sideway-operation, selfward-operation
;; These together handle actions that propagate along the component hierarchy or operation universe.
;; These together handle actions that propagate along the component hierarchy or operation universe.
(
with-upgradability
()
(
with-upgradability
()
(
deftype
operation-class-designator
()
(
deftype
operation-designator
()
'
(
or
symbol
class
))
;; an operation, nil designates a context-dependent current operation,
;; class-name or class designates an instance of the designated class.
'
(
or
operation
null
symbol
class
))
(
defclass
downward-operation
(
operation
)
(
defclass
downward-operation
(
operation
)
((
downward-operation
((
downward-operation
:initform
nil
:initarg
:downward-operation
:reader
downward-operation
:initform
nil
:initarg
:downward-operation
:reader
downward-operation
:type
operation-
class-
designator
:allocation
:class
))
:type
operation-designator
:allocation
:class
))
(
:documentation
"A DOWNWARD-OPERATION's dependencies propagate down the component hierarchy.
(
:documentation
"A DOWNWARD-OPERATION's dependencies propagate down the component hierarchy.
I.e., if O is a DOWNWARD-OPERATION and its DOWNWARD-OPERATION slot designates operation D, then
I.e., if O is a DOWNWARD-OPERATION and its DOWNWARD-OPERATION slot designates operation D, then
the action (O . M) of O on module M will depends on each of (D . C) for each child C of module M.
the action (O . M) of O on module M will depends on each of (D . C) for each child C of module M.
...
@@ -146,7 +148,7 @@ children of the MODULE must have been loaded with LOAD-OP (resp. compiled with C
...
@@ -146,7 +148,7 @@ children of the MODULE must have been loaded with LOAD-OP (resp. compiled with C
(
defclass
upward-operation
(
operation
)
(
defclass
upward-operation
(
operation
)
((
upward-operation
((
upward-operation
:initform
nil
:initarg
:upward-operation
:reader
upward-operation
:initform
nil
:initarg
:upward-operation
:reader
upward-operation
:type
operation-
class-
designator
:allocation
:class
))
:type
operation-designator
:allocation
:class
))
(
:documentation
"An UPWARD-OPERATION has dependencies that propagate up the component hierarchy.
(
:documentation
"An UPWARD-OPERATION has dependencies that propagate up the component hierarchy.
I.e., if O is an instance of UPWARD-OPERATION, and its UPWARD-OPERATION slot designates operation U,
I.e., if O is an instance of UPWARD-OPERATION, and its UPWARD-OPERATION slot designates operation U,
then the action (O . C) of O on a component C that has the parent P will depends on (U . P).
then the action (O . C) of O on a component C that has the parent P will depends on (U . P).
...
@@ -162,7 +164,7 @@ must first be prepared for loading or compiling with PREPARE-OP."))
...
@@ -162,7 +164,7 @@ must first be prepared for loading or compiling with PREPARE-OP."))
(
defclass
sideway-operation
(
operation
)
(
defclass
sideway-operation
(
operation
)
((
sideway-operation
((
sideway-operation
:initform
nil
:initarg
:sideway-operation
:reader
sideway-operation
:initform
nil
:initarg
:sideway-operation
:reader
sideway-operation
:type
operation-
class-
designator
:allocation
:class
))
:type
operation-designator
:allocation
:class
))
(
:documentation
"A SIDEWAY-OPERATION has dependencies that propagate \"sideway\" to siblings
(
:documentation
"A SIDEWAY-OPERATION has dependencies that propagate \"sideway\" to siblings
that a component depends on. I.e. if O is a SIDEWAY-OPERATION, and its SIDEWAY-OPERATION slot
that a component depends on. I.e. if O is a SIDEWAY-OPERATION, and its SIDEWAY-OPERATION slot
designates operation S (where NIL designates O itself), then the action (O . C) of O on component C
designates operation S (where NIL designates O itself), then the action (O . C) of O on component C
...
@@ -179,7 +181,7 @@ each of its declared dependencies must first be loaded as by LOAD-OP."))
...
@@ -179,7 +181,7 @@ each of its declared dependencies must first be loaded as by LOAD-OP."))
((
selfward-operation
((
selfward-operation
:initarg
:selfward-operation
;; NB: no :initform -- if an operation depends on another one,
:initarg
:selfward-operation
;; NB: no :initform -- if an operation depends on another one,
;; which that is must explicitly specified.
;; which that is must explicitly specified.
:type
operation-
class-
designator
:reader
selfward-operation
:allocation
:class
))
:type
operation-designator
:reader
selfward-operation
:allocation
:class
))
(
:documentation
"A SELFWARD-OPERATION depends on another operation on the same component.
(
:documentation
"A SELFWARD-OPERATION depends on another operation on the same component.
I.e., if O is a SELFWARD-OPERATION, and its SELFWARD-OPERATION designates operation S, then
I.e., if O is a SELFWARD-OPERATION, and its SELFWARD-OPERATION designates operation S, then
the action (O . C) of O on component C depends on (S . C).
the action (O . C) of O on component C depends on (S . C).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment