diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/tree.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/tree.h b/src/include/tree.h new file mode 100644 index 0000000..816243c --- /dev/null +++ b/src/include/tree.h @@ -0,0 +1,25 @@ +#ifndef TREE_H +#define TREE_H + +#include <stdlib.h> + +typedef struct TREE_STRUC { + enum { + TREE_VAR_DEF, + //TREE_FUN_DEF, + TREE_VAR, + //TREE_FUN_CALL, + //TREE_STR, + //TREE_COMP + } type; + + char* VAR_DEF_name; + struct TREE_STRUC* VAR_DEF_value; + + char* VAR_name; + +} TREE_t; + +TREE_t tree_init(int type); + +#endif |