blob: 466f4b7c21c97bc333146b41f614fed3842d1636 (
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
48
49
50
51
52
53
54
|
-- File: ExprIntrp.cdl
-- Created: Thu Jul 18 18:10:24 1991
-- Author: Arnaud BOUZY
-- <adn@topsn2>
---Copyright: Matra Datavision 1991, 1992
package ExprIntrp
---Purpose: Describes an interpreter for GeneralExpressions,
-- GeneralFunctions, and GeneralRelations defined in
-- package Expr.
uses Expr, MMgt, TCollection, TColStd
is
deferred class Generator;
class GenExp;
class GenFct;
class GenRel;
private class Analysis;
class SequenceOfNamedFunction instantiates
Sequence from TCollection(NamedFunction from Expr);
class SequenceOfNamedExpression instantiates
Sequence from TCollection(NamedExpression from Expr);
exception SyntaxError inherits Failure from Standard;
private class StackOfGeneralExpression instantiates
Stack from TCollection (GeneralExpression from Expr);
private class StackOfGeneralRelation instantiates
Stack from TCollection (GeneralRelation from Expr);
private class StackOfGeneralFunction instantiates
Stack from TCollection (GeneralFunction from Expr);
private class StackOfNames instantiates
Stack from TCollection (AsciiString from TCollection);
Parse(gen : Generator; str : AsciiString from TCollection)
returns Boolean
is private;
end ExprIntrp;
|