用戶:Antigng-bot/regex/DFAProcess.h

#ifndef _DFASubsetChain
struct _DFASubsetChain
{
	struct _NFANode *subset;
	struct _DFASubsetChain *next;
};
#endif
#ifndef _DFACharChain
struct _DFACharChain
{
	unsigned int ch;
	int state;
	struct _DFACharChain *next;
};
#endif
#ifndef _DFANode
struct _DFANode
{
	int type;
	struct _DFACharChain *actionlist;
	struct _DFASubsetChain *id;
};
#endif

struct _DFASubsetChain *getSubsetChain(struct _NFANode *NFAStart);
int ConvertNFAToDFA(struct _NFAType *NFA);
extern struct _DFANode *DFAStates;
extern int DFATop;