-
Notifications
You must be signed in to change notification settings - Fork 1
/
TLParser.h
40 lines (28 loc) · 1.42 KB
/
TLParser.h
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
/*
* File: TLParser.h
* Project: QUEST
* Author: Marc Diefenbruch, Axel M. Hirche
* Date: (C) 1997, 1998 University of Essen, Germany
*/
#ifndef _TLPARSER_H_
#define _TLPARSER_H_
#include "TL.h"
SCBoolean InitializeParser (const char* source, /* String to be parsed. */
SCName2PropFuncPtr* pName2Func,
/* Translation table names <->
proposition functions. */
SCNatural numOfElems);
/* Number of elements in
table */
SCBoolean CleanUpParser (void); /* Do any housecleaning that
might be necessary... */
SCPropFuncPtr Name2PropFuncPtr (char*); /* Translation routine. */
class TLFormula* NewUnaryFormula (TLLetter,
class TLFormula*);
/* Create a new unary formula
of the correct kind. */
class TLFormula* NewBinaryFormula (class TLFormula*,
TLLetter,
class TLFormula*);
class TLFormula* TLParse (void); /* Parser entry point. */
#endif /* _TLPARSER_H_ */