blob: 9a7b7b1bbfeb4fc38fbf05ec049109fbf1a7bfbe (
plain)
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
|
-- File: UnknownIterator.cdl
-- Created: Wed Sep 18 09:56:26 1991
-- Author: Arnaud BOUZY
-- <adn@topsn2>
---Copyright: Matra Datavision 1991
class UnknownIterator from Expr
---Purpose: Describes an iterator on NamedUnknowns contained
-- in any GeneralExpression.
---Level : Internal
uses GeneralExpression from Expr,
NamedUnknown from Expr,
MapOfNamedUnknown from Expr
raises NoMoreObject from Standard,
NoSuchObject from Standard
is
Create(exp : GeneralExpression)
returns UnknownIterator;
Perform(me: in out; exp : GeneralExpression)
is static private;
More(me)
returns Boolean
is static;
Next(me : in out)
raises NoMoreObject
is static;
Value(me)
returns NamedUnknown
raises NoSuchObject
is static;
fields
myMap : MapOfNamedUnknown;
myCurrent : Integer;
end UnknownIterator;
|