@@ -542,6 +542,58 @@ std::string dump_symbol_table_symbols_in_html(
542
542
ostr << " </td>\n " ;
543
543
ostr << " </tr>\n " ;
544
544
ostr << " </table>\n " ;
545
+
546
+ struct yesnot
547
+ {
548
+ static std::string str (const bool value) { return value ? " yes" : " no" ; }
549
+ };
550
+
551
+ ostr << " <table>\n " ;
552
+ ostr << " <tr>\n " ;
553
+ ostr << " <th>type</th>\n " ;
554
+ ostr << " <th>macro</th>\n " ;
555
+ ostr << " <th>exported</th>\n " ;
556
+ ostr << " <th>input</th>\n " ;
557
+ ostr << " <th>output</th>\n " ;
558
+ ostr << " <th>state_var</th>\n " ;
559
+ ostr << " <th>property</th>\n " ;
560
+ ostr << " </tr>\n " ;
561
+ ostr << " <tr>\n " ;
562
+ ostr << " <td>" << yesnot::str (symbol.is_type ) << " </td>\n " ;
563
+ ostr << " <td>" << yesnot::str (symbol.is_macro ) << " </td>\n " ;
564
+ ostr << " <td>" << yesnot::str (symbol.is_exported ) << " </td>\n " ;
565
+ ostr << " <td>" << yesnot::str (symbol.is_input ) << " </td>\n " ;
566
+ ostr << " <td>" << yesnot::str (symbol.is_output ) << " </td>\n " ;
567
+ ostr << " <td>" << yesnot::str (symbol.is_state_var ) << " </td>\n " ;
568
+ ostr << " <td>" << yesnot::str (symbol.is_property ) << " </td>\n " ;
569
+ ostr << " </tr>\n " ;
570
+ ostr << " </table>\n " ;
571
+
572
+ ostr << " <table>\n " ;
573
+ ostr << " <tr>\n " ;
574
+ ostr << " <th>static</th>\n " ;
575
+ ostr << " <th>thread_local</th>\n " ;
576
+ ostr << " <th>lvalue</th>\n " ;
577
+ ostr << " <th>file_local</th>\n " ;
578
+ ostr << " <th>extern</th>\n " ;
579
+ ostr << " <th>volatile</th>\n " ;
580
+ ostr << " <th>parameter</th>\n " ;
581
+ ostr << " <th>auxiliary</th>\n " ;
582
+ ostr << " <th>weak</th>\n " ;
583
+ ostr << " </tr>\n " ;
584
+ ostr << " <tr>\n " ;
585
+ ostr << " <td>" << yesnot::str (symbol.is_state_var ) << " </td>\n " ;
586
+ ostr << " <td>" << yesnot::str (symbol.is_thread_local ) <<" </td>\n " ;
587
+ ostr << " <td>" << yesnot::str (symbol.is_lvalue ) << " </td>\n " ;
588
+ ostr << " <td>" << yesnot::str (symbol.is_file_local ) << " </td>\n " ;
589
+ ostr << " <td>" << yesnot::str (symbol.is_extern ) << " </td>\n " ;
590
+ ostr << " <td>" << yesnot::str (symbol.is_volatile ) << " </td>\n " ;
591
+ ostr << " <td>" << yesnot::str (symbol.is_parameter ) << " </td>\n " ;
592
+ ostr << " <td>" << yesnot::str (symbol.is_auxiliary ) << " </td>\n " ;
593
+ ostr << " <td>" << yesnot::str (symbol.is_weak ) << " </td>\n " ;
594
+ ostr << " </tr>\n " ;
595
+ ostr << " </table>\n " ;
596
+
545
597
ostr << " </td>\n " ;
546
598
ostr << " </tr>\n " ;
547
599
}
0 commit comments