File: iterator-api.lisp

package info (click to toggle)
cl-containers 20140211-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,076 kB
  • ctags: 1,386
  • sloc: lisp: 8,330; makefile: 14
file content (74 lines) | stat: -rw-r--r-- 1,573 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
(in-package #:containers)

(defgeneric make-iterator 
    (iteratee &rest args &key iterator-class &allow-other-keys)
  (:documentation ""))

(defgeneric print-iterator (iterator stream)
  (:documentation ""))

(defgeneric finish (iterator)
  (:documentation "Tell Lisp that you are done with this iterator. Further calls to current-element, etc. will have unspecified behavior and may cause an error."))


(defgeneric move-p (iterator direction)
  (:documentation ""))


(defgeneric element-passes-p (iterator)
  (:documentation "")
  (:method-combination and))


(defgeneric move (iterator direction)
  (:documentation ""))


(defgeneric base-class-for-iteratee (container)
  (:documentation ""))


(defgeneric class-for-contents-as (contents as)
  (:documentation ""))


(defgeneric current-element (thing)
  (:documentation ""))


(defgeneric current-element-p (iterator)
  (:documentation ""))


(defgeneric setup-initial-container (object)
  (:documentation ""))


(defgeneric advance (iterator)
  (:documentation ""))


(defgeneric iterate-forward (iterator function)
  (:documentation ""))


(defgeneric make-internal-iterator (object container)
  (:documentation ""))

(defgeneric move-forward (iterator)
  (:documentation ""))

(defgeneric move-forward-to-next-element (iterator)
  (:documentation ""))

(defgeneric move-internal (iterator direction)
  (:documentation ""))

(defgeneric next-element (iterator)
  (:documentation ""))

(defgeneric open-file-for-iterator (object filename)
  (:documentation ""))

(defgeneric reset (iterator)
  (:documentation ""))