cxl/src/Node.h
2018-04-18 21:16:32 -04:00

28 lines
304 B
C

#ifndef NODE_H
#define NODE_H
#include "String.h"
typedef struct
{
int type;
union
{
struct
{
String * fname;
size_t line;
String * text;
} token;
};
} Node;
enum
{
NODE_TYPE_TOKEN,
};
Node * Node_new(int type);
#endif