327{
329 {
330 return;
331 }
333 struct yyguts_t *yyg = (
struct yyguts_t*)
g_yyscanner;
334
335#ifdef FLEX_DEBUG
337#endif
338
340 yyextra->inputString = decl.
data();
341
342 yyextra->inputPosition = 0;
343 yyextra->classTempListFound =
FALSE;
344 yyextra->funcTempListFound =
FALSE;
348 yyextra->scope.clear();
349 yyextra->className.clear();
350 yyextra->classTempList.clear();
351 yyextra->funcTempList.clear();
352 yyextra->name.clear();
353 yyextra->type.clear();
354 yyextra->args.clear();
355 yyextra->exceptionString.clear();
356
358 BEGIN( Start );
360
361
362
363
364 int nb = yyextra->name.findRev('[');
365 if (nb!=-1 && yyextra->args.isEmpty())
366 {
367 yyextra->args.prepend(yyextra->name.right(yyextra->name.length()-nb));
368 yyextra->name=yyextra->name.left(nb);
369 }
370
371 cl=yyextra->scope;
373 int il=n.find('<'), ir=n.findRev('>');
374 if (il!=-1 && ir!=-1 && n.at(il+1)!='=')
375
376
377 {
379 n=n.left(il);
380 }
381
382
383
387
388 if (!t.isEmpty() && !t.startsWith("decltype") && t.at(t.length()-1)==')')
389 {
390 a.prepend(")");
391 t=t.left(t.length()-1);
392 }
393
394
395
397 return;
398}
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)