diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-08-05 13:53:03 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-08-05 13:53:03 +0000 |
commit | a4f390d50778f940c321e6b289260a5f8b1f7939 (patch) | |
tree | 30cc8fd051e39cb6bcb8ebf1ddbae2af2b8e060b | |
parent | 63da744b73377343e558605c55df112312e69fd5 (diff) | |
download | mailutils-a4f390d50778f940c321e6b289260a5f8b1f7939.tar.gz mailutils-a4f390d50778f940c321e6b289260a5f8b1f7939.tar.bz2 |
Documented some obscure data structures.
-rw-r--r-- | guimb/scm/sieve.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/guimb/scm/sieve.scm b/guimb/scm/sieve.scm index f20436964..4783b9cd3 100644 --- a/guimb/scm/sieve.scm +++ b/guimb/scm/sieve.scm @@ -373,6 +373,7 @@ ;;;; Comparators +;;; Each entry is (list COMP-NAME COMP-FUNCTION) (define sieve-comparator-table '()) (define (sieve-find-comparator name) @@ -391,7 +392,13 @@ ;;;; Command parsers - +;;; Each entry is: (list NAME FUNCTION OPT-ARG-LIST REQ-ARG-LIST) +;;; OPT-ARG-LIST is a list of optional arguments (aka keywords, tags). +;;; It consists of conses: (cons TAG-NAME FLAG) where FLAG is #t +;;; if the tag requires an argument (e.g. :comparator <comp-name>), +;;; and is #f otherwise. +;;; REQ-ARG-LIST is a list of required (positional) arguments. It +;;; is a list of argument types. (define sieve-test-table '()) (define (sieve-find-test name) @@ -650,6 +657,9 @@ (require-semicolon)) ;;; Actions + +;;; Each entry is: (list ACTION-NAME FUNCTION ARG-LIST) +;;; ARG-LIST is a list of argument types (define sieve-action-table '()) (define (sieve-find-action name) |