325{
327 {
328 return;
329 }
331 struct yyguts_t *yyg = (
struct yyguts_t*)
g_yyscanner;
332
333#ifdef FLEX_DEBUG
335#endif
336
338 yyextra->inputString = decl.
data();
339
340 yyextra->inputPosition = 0;
341 yyextra->classTempListFound =
FALSE;
342 yyextra->funcTempListFound =
FALSE;
345 yyextra->scope.clear();
346 yyextra->className.clear();
347 yyextra->classTempList.clear();
348 yyextra->funcTempList.clear();
349 yyextra->name.clear();
350 yyextra->type.clear();
351 yyextra->args.clear();
352 yyextra->exceptionString.clear();
353
355 BEGIN( Start );
357
358
359
360
361 int nb = yyextra->name.findRev('[');
362 if (nb!=-1 && yyextra->args.isEmpty())
363 {
364 yyextra->args.prepend(yyextra->name.right(yyextra->name.length()-nb));
365 yyextra->name=yyextra->name.left(nb);
366 }
367
368 cl=yyextra->scope;
370 int il=n.find('<'), ir=n.findRev('>');
371 if (il!=-1 && ir!=-1 && n.at(il+1)!='=')
372
373
374 {
376 n=n.left(il);
377 }
378
379
380
384
385 if (!t.isEmpty() && !t.startsWith("decltype") && t.at(t.length()-1)==')')
386 {
387 a.prepend(")");
388 t=t.left(t.length()-1);
389 }
390
391
392
394 return;
395}
static bool isFlagSet(const DebugMask mask)
bool isEmpty() const
Returns TRUE iff the string is empty.
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string.
static yyscan_t g_yyscanner
static struct declinfoYY_state g_declinfo_extra
QCString removeRedundantWhiteSpace(const QCString &s)