Mercurial > hg > Applications > Grep
view c/regexParser/regexParser.h @ 115:ca30f8334741 pairPro
rename createRegexParser.cc to regexParser.cc
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Nov 2015 14:38:26 +0900 |
parents | 1d30f70702df |
children | 66c633575b53 |
line wrap: on
line source
typedef struct word { unsigned char *word; long length; } Word, *WordPtr; typedef struct charClass { unsigned char type; union condition { struct utf8Range { unsigned char *begin; unsigned char *end; struct utf8Range *next; } rangeList; unsigned char character; WordPtr w; } *conditionList; struct charClass *left; struct charClass *right; unsigned long *begin; unsigned long *end; } CharClass, *CharClassPtr; typedef struct node { unsigned char tokenType; unsigned long nodeNumber; CharClassPtr cc; struct node *left; struct node *right; } Node, *NodePtr;