-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypeExpression.h
More file actions
31 lines (21 loc) · 755 Bytes
/
typeExpression.h
File metadata and controls
31 lines (21 loc) · 755 Bytes
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
/*
Group Number: 56
Chirag Singhal 2018A7PS0219P
Harshan Baskar 2018A7PS0166P
Nitya Mangal 2018A7PS0216P
*/
#ifndef TYPEEXPRESSION_H
#define TYPEEXPRESSION_H
#include "parsetree.h"
typedef struct _typeExpressionTableNode {
char* symbol;
typeExpressionRow* row;
struct _typeExpressionTableNode* next;
struct _typeExpressionTableNode* prev;
} typeExpressionTableNode;
typedef typeExpressionTableNode* typeExpressionTable;
extern void push_typeExpTable(char* symbol, typeExpressionRow* row, typeExpressionTable T);
extern typeExpressionRow* search_typeExpTable(char* symbol, typeExpressionTable T);
extern void traverseParseTree( parseTree *t, typeExpressionTable T );
#include "print.h"
#endif // TYPEEXPRESSION_H