Lines Matching defs:RegExp
80 typedef struct RegExp {
88 struct RegExp *exp;
89 struct RegExp *ctx;
97 struct RegExp *exp1, *exp2;
100 struct RegExp *exp;
103 struct RegExp *exp;
108 } RegExp;
110 static RegExp *
111 RegExp_isA(RegExp *r, RegExpType t)
116 void RegExp_split(RegExp*, CharSet*);
117 void RegExp_calcSize(RegExp*, Char*);
118 unsigned int RegExp_fixedLength(RegExp*);
119 void RegExp_compile(RegExp*, Char*, Ins*);
120 void RegExp_display(RegExp*, FILE *);
122 static RegExp *
125 RegExp *r = malloc(sizeof(RegExp));
130 static RegExp *
133 RegExp *r = malloc(sizeof(RegExp));
139 RegExp *RegExp_new_RuleOp(RegExp*, RegExp*, Token*, unsigned int);
141 static RegExp *
142 RegExp_new_AltOp(RegExp *e1, RegExp *e2)
144 RegExp *r = malloc(sizeof(RegExp));
151 static RegExp *
152 RegExp_new_CatOp(RegExp *e1, RegExp *e2)
154 RegExp *r = malloc(sizeof(RegExp));
161 static RegExp *
162 RegExp_new_CloseOp(RegExp *e)
164 RegExp *r = malloc(sizeof(RegExp));
170 static RegExp *
171 RegExp_new_CloseVOp(RegExp *e, int lb, int ub)
173 RegExp *r = malloc(sizeof(RegExp));
181 extern void genCode(FILE *, RegExp*);
182 extern RegExp *mkDiff(RegExp*, RegExp*);
183 extern RegExp *mkDot(void);
184 extern RegExp *strToRE(SubStr);
185 extern RegExp *strToCaseInsensitiveRE(SubStr);
186 extern RegExp *ranToRE(SubStr);
187 extern RegExp *invToRE(SubStr);
189 extern RegExp *mkAlt(RegExp*, RegExp*);