Home | History | Annotate | Download | only in AST
      1 // HTML Named Character Reference
      2 class NCR<string spelling, int codePoint> {
      3   string Spelling = spelling;
      4   int CodePoint = codePoint;
      5 }
      6 
      7 // The list below includes named character references supported by Doxygen:
      8 // http://www.stack.nl/~dimitri/doxygen/manual/htmlcmds.html
      9 //
     10 // It does not include all HTML 5 named character references.
     11 //
     12 // Corresponding code point values can be found here:
     13 // http://www.w3.org/TR/2011/WD-html5-20110113/named-character-references.html
     14 
     15 def : NCR<"copy",  0x000A9>;
     16 def : NCR<"COPY",  0x000A9>;
     17 def : NCR<"trade", 0x02122>;
     18 def : NCR<"TRADE", 0x02122>;
     19 def : NCR<"reg",   0x000AE>;
     20 def : NCR<"REG",   0x000AE>;
     21 def : NCR<"lt",    0x0003C>;
     22 def : NCR<"Lt",    0x0003C>;
     23 def : NCR<"LT",    0x0003C>;
     24 def : NCR<"gt",    0x0003E>;
     25 def : NCR<"Gt",    0x0003E>;
     26 def : NCR<"GT",    0x0003E>;
     27 def : NCR<"amp",   0x00026>;
     28 def : NCR<"AMP",   0x00026>;
     29 def : NCR<"apos",  0x00027>;
     30 def : NCR<"quot",  0x00022>;
     31 def : NCR<"QUOT",  0x00022>;
     32 def : NCR<"lsquo", 0x02018>;
     33 def : NCR<"rsquo", 0x02019>;
     34 def : NCR<"ldquo", 0x0201C>;
     35 def : NCR<"rdquo", 0x0201D>;
     36 def : NCR<"ndash", 0x02013>;
     37 def : NCR<"mdash", 0x02014>;
     38 
     39 def : NCR<"Auml", 0x000C4>;
     40 def : NCR<"Euml", 0x000CB>;
     41 def : NCR<"Iuml", 0x000CF>;
     42 def : NCR<"Ouml", 0x000D6>;
     43 def : NCR<"Uuml", 0x000DC>;
     44 def : NCR<"Yuml", 0x00178>;
     45 def : NCR<"auml", 0x000E4>;
     46 def : NCR<"euml", 0x000EB>;
     47 def : NCR<"iuml", 0x000EF>;
     48 def : NCR<"ouml", 0x000F6>;
     49 def : NCR<"uuml", 0x000FC>;
     50 def : NCR<"yuml", 0x000FF>;
     51 
     52 def : NCR<"Aacute", 0x000C1>;
     53 def : NCR<"Eacute", 0x000C9>;
     54 def : NCR<"Iacute", 0x000CD>;
     55 def : NCR<"Oacute", 0x000D3>;
     56 def : NCR<"Uacute", 0x000DA>;
     57 def : NCR<"Yacute", 0x000DD>;
     58 def : NCR<"aacute", 0x000E1>;
     59 def : NCR<"eacute", 0x000E9>;
     60 def : NCR<"iacute", 0x000ED>;
     61 def : NCR<"oacute", 0x000F3>;
     62 def : NCR<"uacute", 0x000FA>;
     63 def : NCR<"yacute", 0x000FD>;
     64 
     65 def : NCR<"Agrave", 0x000C0>;
     66 def : NCR<"Egrave", 0x000C8>;
     67 def : NCR<"Igrave", 0x000CC>;
     68 def : NCR<"Ograve", 0x000D2>;
     69 def : NCR<"Ugrave", 0x000D9>;
     70 // def : NCR<"Ygrave", 0x01EF2>; // Defined neither in Doxygen, nor in HTML5.
     71 def : NCR<"agrave", 0x000E0>;
     72 def : NCR<"egrave", 0x000E8>;
     73 def : NCR<"igrave", 0x000EC>;
     74 def : NCR<"ograve", 0x000F2>;
     75 def : NCR<"ugrave", 0x000F9>;
     76 def : NCR<"ygrave", 0x01EF3>; // Defined in Doxygen, not defined in HTML5.
     77 
     78 def : NCR<"Acirc", 0x000C2>;
     79 def : NCR<"Ecirc", 0x000CA>;
     80 def : NCR<"Icirc", 0x000CE>;
     81 def : NCR<"Ocirc", 0x000D4>;
     82 def : NCR<"Ucirc", 0x000DB>;
     83 def : NCR<"Ycirc", 0x00176>; // Not defined in Doxygen, defined in HTML5.
     84 def : NCR<"acirc", 0x000E2>;
     85 def : NCR<"ecirc", 0x000EA>;
     86 def : NCR<"icirc", 0x000EE>;
     87 def : NCR<"ocirc", 0x000F4>;
     88 def : NCR<"ucirc", 0x000FB>;
     89 def : NCR<"ycirc", 0x00177>;
     90 
     91 def : NCR<"Atilde", 0x000C3>;
     92 def : NCR<"Ntilde", 0x000D1>;
     93 def : NCR<"Otilde", 0x000D5>;
     94 def : NCR<"atilde", 0x000E3>;
     95 def : NCR<"ntilde", 0x000F1>;
     96 def : NCR<"otilde", 0x000F5>;
     97 
     98 def : NCR<"szlig", 0x000DF>;
     99 
    100 def : NCR<"ccedil", 0x000E7>;
    101 def : NCR<"Ccedil", 0x000C7>;
    102 
    103 def : NCR<"aring", 0x000E5>;
    104 def : NCR<"Aring", 0x000C5>;
    105 
    106 def : NCR<"nbsp", 0x000A0>;
    107 
    108 def : NCR<"Gamma",   0x00393>;
    109 def : NCR<"Delta",   0x00394>;
    110 def : NCR<"Theta",   0x00398>;
    111 def : NCR<"Lambda",  0x0039B>;
    112 def : NCR<"Xi",      0x0039E>;
    113 def : NCR<"Pi",      0x003A0>;
    114 def : NCR<"Sigma",   0x003A3>;
    115 def : NCR<"Upsilon", 0x003A5>;
    116 def : NCR<"Phi",     0x003A6>;
    117 def : NCR<"Psi",     0x003A8>;
    118 def : NCR<"Omega",   0x003A9>;
    119 
    120 def : NCR<"alpha",   0x003B1>;
    121 def : NCR<"beta",    0x003B2>;
    122 def : NCR<"gamma",   0x003B3>;
    123 def : NCR<"delta",   0x003B4>;
    124 def : NCR<"epsilon", 0x003B5>;
    125 def : NCR<"zeta",    0x003B6>;
    126 def : NCR<"eta",     0x003B7>;
    127 def : NCR<"theta",   0x003B8>;
    128 def : NCR<"iota",    0x003B9>;
    129 def : NCR<"kappa",   0x003BA>;
    130 def : NCR<"lambda",  0x003BB>;
    131 def : NCR<"mu",      0x003BC>;
    132 def : NCR<"nu",      0x003BD>;
    133 def : NCR<"xi",      0x003BE>;
    134 def : NCR<"pi",      0x003C0>;
    135 def : NCR<"rho",     0x003C1>;
    136 def : NCR<"sigma",   0x003C3>;
    137 def : NCR<"tau",     0x003C4>;
    138 def : NCR<"upsilon", 0x003C5>;
    139 def : NCR<"phi",     0x003C6>;
    140 def : NCR<"chi",     0x003C7>;
    141 def : NCR<"psi",     0x003C8>;
    142 def : NCR<"omega",   0x003C9>;
    143 def : NCR<"sigmaf",  0x003C2>;
    144 
    145 def : NCR<"sect",   0x000A7>;
    146 def : NCR<"deg",    0x000B0>;
    147 def : NCR<"prime",  0x02032>;
    148 def : NCR<"Prime",  0x02033>;
    149 def : NCR<"infin",  0x0221E>;
    150 def : NCR<"empty",  0x02205>;
    151 def : NCR<"plusmn", 0x000B1>;
    152 def : NCR<"times",  0x000D7>;
    153 def : NCR<"minus",  0x02212>;
    154 def : NCR<"sdot",   0x022C5>;
    155 def : NCR<"part",   0x02202>;
    156 def : NCR<"nabla",  0x02207>;
    157 def : NCR<"radic",  0x0221A>;
    158 def : NCR<"perp",   0x022A5>;
    159 def : NCR<"sum",    0x02211>;
    160 def : NCR<"int",    0x0222B>;
    161 def : NCR<"prod",   0x0220F>;
    162 def : NCR<"sim",    0x0223C>;
    163 def : NCR<"asymp",  0x02248>;
    164 def : NCR<"ne",     0x02260>;
    165 def : NCR<"equiv",  0x02261>;
    166 def : NCR<"prop",   0x0221D>;
    167 def : NCR<"le",     0x02264>;
    168 def : NCR<"ge",     0x02265>;
    169 def : NCR<"larr",   0x02190>;
    170 def : NCR<"rarr",   0x02192>;
    171 def : NCR<"isin",   0x02208>;
    172 def : NCR<"notin",  0x02209>;
    173 def : NCR<"lceil",  0x02308>;
    174 def : NCR<"rceil",  0x02309>;
    175 def : NCR<"lfloor", 0x0230A>;
    176 def : NCR<"rfloor", 0x0230B>;
    177 
    178