token_ids.html 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>The Token Identifiers</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <link href="theme/style.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body>
  9. <table width="100%" border="0" cellspacing="2" background="theme/bkd2.gif">
  10. <tr>
  11. <td width="21"> <h1></h1></td>
  12. <td width="885"> <font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="6">The
  13. Token Identifiers</font></b></font></td>
  14. <td width="96"><a href="http://www.boost.org"><img src="theme/wave.gif" width="93" height="68" align="right" border="0"></a></td>
  15. </tr>
  16. </table>
  17. <br>
  18. <table border="0">
  19. <tr>
  20. <td width="10"></td>
  21. <td width="30"><a href="../index.html"><img src="theme/u_arr.gif" border="0"></a></td>
  22. <td width="30"><a href="class_reference_tokentype.html"><img src="theme/l_arr.gif" width="20" height="19" border="0"></a></td>
  23. <td width="30"><a href="class_reference_filepos.html"><img src="theme/r_arr.gif" width="20" height="19" border="0"></a></td>
  24. </tr>
  25. </table>
  26. <blockquote>
  27. <p><a href="token_ids.html#literal_tokens">Table of literal token identifiers</a><br>
  28. <a href="token_ids.html#whitespace_tokens">Table of white token identifiers</a><br>
  29. <a href="token_ids.html#keyword_tokens">Table of keyword token identifiers</a><br>
  30. <a href="token_ids.html#operator_tokens">Table of operator token identifiers</a><br>
  31. <a href="token_ids.html#preprocessor_tokens">Table of preprocessor token identifiers</a></p>
  32. </blockquote>
  33. <p>The following tables contain all those tokens, which should be recognized by
  34. a C++ lexer, which is to be used in conjunction with the <tt>Wave</tt> preprocessing
  35. engine. The tokens are grouped into categories to simplify some internal logic
  36. and eventually the driver programs. The token identifiers are defined as an
  37. <tt>enum</tt>, and it is recommended to reuse this definition for your own lexer
  38. implementations.</p>
  39. <p>Note though, that the preprocessor engine does some token transformation, so
  40. that not all of the listet here token identifiers may occur inside tokens, returned
  41. from the preprocessing iterator.</p>
  42. <a name="literal_tokens"></a>
  43. <table width="70%" border="0" align="center">
  44. <tr>
  45. <td colspan="3"> <p class="table_title">List of literal token id's</p></td>
  46. </tr>
  47. <tr>
  48. <td> <p class="toc_title" width="36%" >Token identifier</p></td>
  49. <td> <p class="toc_title" width="28%" >Token category</p></td>
  50. <td> <p class="toc_title" width="36%" >Token value</p></td>
  51. </tr>
  52. <tr>
  53. <td class="table_cells" width="40%" > <p>T_CHARLIT  </p></td>
  54. <td class="table_cells" width="31%"> <p>CharacterLiteralTokenType</p></td>
  55. <td class="table_cells" width="29%"><p><code>'a', '\t', '\u0057'</code></p></td>
  56. </tr>
  57. <tr>
  58. <td class="table_cells" > <p>T_FLOATLIT </p></td>
  59. <td class="table_cells" > <p>FloatingLiteralTokenType</p></td>
  60. <td class="table_cells" ><code>-1.23456e78</code></td>
  61. </tr>
  62. <tr>
  63. <td class="table_cells" > <p>T_IDENTIFIER </p></td>
  64. <td class="table_cells" > <p>IdentifierTokenType</p></td>
  65. <td class="table_cells" ><code> C++ identifier</code></td>
  66. </tr>
  67. <tr>
  68. <td class="table_cells" > <p>T_OCTALINT </p></td>
  69. <td class="table_cells" > <p>IntegerLiteralTokenType</p></td>
  70. <td class="table_cells" ><code>007</code></td>
  71. </tr>
  72. <tr>
  73. <td class="table_cells" > <p>T_DECIMALINT </p></td>
  74. <td class="table_cells" > <p>IntegerLiteralTokenType</p></td>
  75. <td class="table_cells" ><code>10</code></td>
  76. </tr>
  77. <tr>
  78. <td class="table_cells" >
  79. <p>T_HEXAINT </p></td>
  80. <td class="table_cells" >
  81. <p>IntegerLiteralTokenType</p></td>
  82. <td class="table_cells" ><code>0x1234</code></td>
  83. </tr>
  84. <tr>
  85. <td class="table_cells" > <p>T_INTLIT </p></td>
  86. <td class="table_cells" > <p>IntegerLiteralTokenType</p></td>
  87. <td class="table_cells" ><code>T_OCTALINT, T_DECIMALINT or T_HEXAINT</code></td>
  88. </tr>
  89. <tr>
  90. <td class="table_cells" >
  91. <p>T_LONGINTLIT</p></td>
  92. <td class="table_cells" >
  93. <p>IntegerLiteralTokenType</p></td>
  94. <td class="table_cells" ><code>0x1234LL</code></td>
  95. </tr>
  96. <tr>
  97. <td class="table_cells" > <p>T_STRINGLIT </p></td>
  98. <td class="table_cells" > <p>StringLiteralTokenType</p></td>
  99. <td class="table_cells" ><code>&quot;abc&quot;</code></td>
  100. </tr>
  101. <tr>
  102. <td class="table_cells" > <p>T_FALSE </p></td>
  103. <td class="table_cells" > <p>BoolLiteralTokenType</p></td>
  104. <td class="table_cells" ><code>false</code></td>
  105. </tr>
  106. <tr>
  107. <td class="table_cells" width="40%" > <p>T_TRUE </p></td>
  108. <td class="table_cells" width="31%" > <p>BoolLiteralTokenType</p></td>
  109. <td class="table_cells" width="29%" ><code>true</code></td>
  110. </tr>
  111. </table>
  112. <br>
  113. <a name="whitespace_tokens"></a>
  114. <table width="70%" border="0" align="center">
  115. <tr>
  116. <td colspan="3"> <p class="table_title">List of whitespace token id's</p></td>
  117. </tr>
  118. <tr>
  119. <td> <p class="toc_title" width="36%" >Token identifier</p></td>
  120. <td> <p class="toc_title" width="28%" >Token category</p></td>
  121. <td> <p class="toc_title" width="36%" >Token value</p></td>
  122. </tr>
  123. <tr>
  124. <td class="table_cells" width="40%"> <p>T_ANY </p></td>
  125. <td class="table_cells" width="31%"> <p>UnknownTokenType</p></td>
  126. <td class="table_cells" width="29%"> <p><code>any value not matched otherwise</code></p></td>
  127. </tr>
  128. <tr>
  129. <td class="table_cells" > <p>T_CCOMMENT </p></td>
  130. <td class="table_cells" > <p>WhiteSpaceTokenType</p></td>
  131. <td class="table_cells" > <p><code>/* ... */</code></p></td>
  132. </tr>
  133. <tr>
  134. <td class="table_cells" > <p>T_CPPCOMMENT </p></td>
  135. <td class="table_cells" > <p>WhiteSpaceTokenType</p></td>
  136. <td class="table_cells" ><code>// ... \n</code></td>
  137. </tr>
  138. <tr>
  139. <td class="table_cells" > <p>T_SPACE </p></td>
  140. <td class="table_cells" > <p>WhiteSpaceTokenType</p></td>
  141. <td class="table_cells" > <p>blank or '\t'</p></td>
  142. </tr>
  143. <tr>
  144. <td class="table_cells" > <p>T_SPACE2 </p></td>
  145. <td class="table_cells" > <p>WhiteSpaceTokenType</p></td>
  146. <td class="table_cells" ><code>'\v' or '\f'</code></td>
  147. </tr>
  148. <tr>
  149. <td class="table_cells" width="40%" > <p>T_EOF </p></td>
  150. <td class="table_cells" width="31%" > <p>EOFTokenType</p></td>
  151. <td class="table_cells" width="29%" ><code>end of input</code></td>
  152. </tr>
  153. <tr>
  154. <td class="table_cells" width="40%" > <p>T_CONTLINE </p></td>
  155. <td class="table_cells" width="31%" > <p>EOLTokenType</p></td>
  156. <td class="table_cells" width="29%" ><code>'\\' followed by '\n'</code></td>
  157. </tr>
  158. <tr>
  159. <td class="table_cells" width="40%" > <p>T_NEWLINE </p></td>
  160. <td class="table_cells" width="31%" > <p>EOLTokenType</p></td>
  161. <td class="table_cells" width="29%" ><code>'\n'</code></td>
  162. </tr>
  163. </table>
  164. <br>
  165. <br>
  166. <a name="keyword_tokens"></a>
  167. <table width="70%" border="0" align="center">
  168. <tr>
  169. <td colspan="3"> <p class="table_title">List of keyword token id's</p></td>
  170. </tr>
  171. <tr>
  172. <td> <p class="toc_title" width="36%" >Token identifier</p></td>
  173. <td> <p class="toc_title" width="28%" >Token category</p></td>
  174. <td> <p class="toc_title" width="36%" >Token value</p></td>
  175. </tr>
  176. <tr>
  177. <td class="table_cells" width="40%" > <p>T_ASM </p></td>
  178. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  179. <td class="table_cells" width="29%" ><code>asm</code></td>
  180. </tr>
  181. <tr>
  182. <td class="table_cells" width="40%" > <p>T_AUTO </p></td>
  183. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  184. <td class="table_cells" width="29%" ><code>auto</code></td>
  185. </tr>
  186. <tr>
  187. <td class="table_cells" width="40%" > <p>T_BOOL </p></td>
  188. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  189. <td class="table_cells" width="29%" ><code>bool</code></td>
  190. </tr>
  191. <tr>
  192. <td class="table_cells" width="40%" > <p>T_BREAK </p></td>
  193. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  194. <td class="table_cells" width="29%" ><code>break</code></td>
  195. </tr>
  196. <tr>
  197. <td class="table_cells" width="40%" > <p>T_CASE </p></td>
  198. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  199. <td class="table_cells" width="29%" ><code>case</code></td>
  200. </tr>
  201. <tr>
  202. <td class="table_cells" width="40%" > <p>T_CATCH </p></td>
  203. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  204. <td class="table_cells" width="29%" ><code>catch</code></td>
  205. </tr>
  206. <tr>
  207. <td class="table_cells" width="40%" > <p>T_CHAR </p></td>
  208. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  209. <td class="table_cells" width="29%" ><code>char</code></td>
  210. </tr>
  211. <tr>
  212. <td class="table_cells" width="40%" > <p>T_CLASS </p></td>
  213. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  214. <td class="table_cells" width="29%" ><code>class</code></td>
  215. </tr>
  216. <tr>
  217. <td class="table_cells" width="40%" > <p>T_CONST </p></td>
  218. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  219. <td class="table_cells" width="29%" ><code>const</code></td>
  220. </tr>
  221. <tr>
  222. <td class="table_cells" width="40%" > <p>T_CONSTCAST </p></td>
  223. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  224. <td class="table_cells" width="29%" ><code>const_cast</code></td>
  225. </tr>
  226. <tr>
  227. <td class="table_cells" width="40%" > <p>T_CONTINUE </p></td>
  228. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  229. <td class="table_cells" width="29%" ><code>continue</code></td>
  230. </tr>
  231. <tr>
  232. <td class="table_cells" width="40%" > <p>T_DEFAULT </p></td>
  233. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  234. <td class="table_cells" width="29%" ><code>default</code></td>
  235. </tr>
  236. <tr>
  237. <td class="table_cells" width="40%" > <p>T_DELETE </p></td>
  238. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  239. <td class="table_cells" width="29%" ><code>delete</code></td>
  240. </tr>
  241. <tr>
  242. <td class="table_cells" width="40%" > <p>T_DO </p></td>
  243. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  244. <td class="table_cells" width="29%" ><code>do</code></td>
  245. </tr>
  246. <tr>
  247. <td class="table_cells" width="40%" > <p>T_DOUBLE </p></td>
  248. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  249. <td class="table_cells" width="29%" ><code>double</code></td>
  250. </tr>
  251. <tr>
  252. <td class="table_cells" width="40%" > <p>T_DYNAMICCAST </p></td>
  253. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  254. <td class="table_cells" width="29%" ><code>dynamic_cast</code></td>
  255. </tr>
  256. <tr>
  257. <td class="table_cells" width="40%" > <p>T_ELSE </p></td>
  258. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  259. <td class="table_cells" width="29%" ><code>else</code></td>
  260. </tr>
  261. <tr>
  262. <td class="table_cells" width="40%" > <p>T_ENUM </p></td>
  263. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  264. <td class="table_cells" width="29%" ><code>enum</code></td>
  265. </tr>
  266. <tr>
  267. <td class="table_cells" width="40%" > <p>T_EXPLICIT </p></td>
  268. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  269. <td class="table_cells" width="29%" ><code>explicit</code></td>
  270. </tr>
  271. <tr>
  272. <td class="table_cells" width="40%" > <p>T_EXPORT </p></td>
  273. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  274. <td class="table_cells" width="29%" ><code>export</code></td>
  275. </tr>
  276. <tr>
  277. <td class="table_cells" width="40%" > <p>T_EXTERN </p></td>
  278. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  279. <td class="table_cells" width="29%" ><code>extern</code></td>
  280. </tr>
  281. <tr>
  282. <td class="table_cells" width="40%" > <p>T_FLOAT </p></td>
  283. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  284. <td class="table_cells" width="29%" ><code>float</code></td>
  285. </tr>
  286. <tr>
  287. <td class="table_cells" width="40%" > <p>T_FOR </p></td>
  288. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  289. <td class="table_cells" width="29%" ><code>for</code></td>
  290. </tr>
  291. <tr>
  292. <td class="table_cells" width="40%" > <p>T_FRIEND </p></td>
  293. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  294. <td class="table_cells" width="29%" ><code>friend</code></td>
  295. </tr>
  296. <tr>
  297. <td class="table_cells" width="40%" > <p>T_GOTO </p></td>
  298. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  299. <td class="table_cells" width="29%" ><code>goto</code></td>
  300. </tr>
  301. <tr>
  302. <td class="table_cells" width="40%" > <p>T_IF </p></td>
  303. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  304. <td class="table_cells" width="29%" ><code>if</code></td>
  305. </tr>
  306. <tr>
  307. <td class="table_cells" width="40%" > <p>T_INLINE </p></td>
  308. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  309. <td class="table_cells" width="29%" ><code>inline</code></td>
  310. </tr>
  311. <tr>
  312. <td class="table_cells" width="40%" > <p>T_INT </p></td>
  313. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  314. <td class="table_cells" width="29%" ><code>int</code></td>
  315. </tr>
  316. <tr>
  317. <td class="table_cells" width="40%" > <p>T_LONG </p></td>
  318. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  319. <td class="table_cells" width="29%" ><code>long</code></td>
  320. </tr>
  321. <tr>
  322. <td class="table_cells" width="40%" > <p>T_MUTABLE </p></td>
  323. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  324. <td class="table_cells" width="29%" ><code>mutable</code></td>
  325. </tr>
  326. <tr>
  327. <td class="table_cells" width="40%" > <p>T_NAMESPACE </p></td>
  328. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  329. <td class="table_cells" width="29%" ><code>namespace</code></td>
  330. </tr>
  331. <tr>
  332. <td class="table_cells" width="40%" > <p>T_NEW </p></td>
  333. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  334. <td class="table_cells" width="29%" ><code>new</code></td>
  335. </tr>
  336. <tr>
  337. <td class="table_cells" width="40%" > <p>T_OPERATOR </p></td>
  338. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  339. <td class="table_cells" width="29%" ><code>operator</code></td>
  340. </tr>
  341. <tr>
  342. <td class="table_cells" width="40%" > <p>T_PRIVATE </p></td>
  343. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  344. <td class="table_cells" width="29%" ><code>private</code></td>
  345. </tr>
  346. <tr>
  347. <td class="table_cells" width="40%" > <p>T_PROTECTED </p></td>
  348. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  349. <td class="table_cells" width="29%" ><code>protected</code></td>
  350. </tr>
  351. <tr>
  352. <td class="table_cells" width="40%" > <p>T_PUBLIC </p></td>
  353. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  354. <td class="table_cells" width="29%" ><code>public</code></td>
  355. </tr>
  356. <tr>
  357. <td class="table_cells" width="40%" > <p>T_REGISTER </p></td>
  358. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  359. <td class="table_cells" width="29%" ><code>register</code></td>
  360. </tr>
  361. <tr>
  362. <td class="table_cells" width="40%" > <p>T_REINTERPRETCAST </p></td>
  363. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  364. <td class="table_cells" width="29%" ><code>reinterpret_cast</code></td>
  365. </tr>
  366. <tr>
  367. <td class="table_cells" width="40%" > <p>T_RETURN </p></td>
  368. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  369. <td class="table_cells" width="29%" ><code>return</code></td>
  370. </tr>
  371. <tr>
  372. <td class="table_cells" width="40%" > <p>T_SHORT </p></td>
  373. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  374. <td class="table_cells" width="29%" ><code>short</code></td>
  375. </tr>
  376. <tr>
  377. <td class="table_cells" width="40%" > <p>T_SIGNED </p></td>
  378. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  379. <td class="table_cells" width="29%" ><code>signed</code></td>
  380. </tr>
  381. <tr>
  382. <td class="table_cells" width="40%" > <p>T_SIZEOF </p></td>
  383. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  384. <td class="table_cells" width="29%" ><code>sizeof</code></td>
  385. </tr>
  386. <tr>
  387. <td class="table_cells" width="40%" > <p>T_STATIC </p></td>
  388. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  389. <td class="table_cells" width="29%" ><code>static</code></td>
  390. </tr>
  391. <tr>
  392. <td class="table_cells" width="40%" > <p>T_STATICCAST </p></td>
  393. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  394. <td class="table_cells" width="29%" ><code>static_cast</code></td>
  395. </tr>
  396. <tr>
  397. <td class="table_cells" width="40%" > <p>T_STRUCT </p></td>
  398. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  399. <td class="table_cells" width="29%" ><code>struct</code></td>
  400. </tr>
  401. <tr>
  402. <td class="table_cells" width="40%" > <p>T_SWITCH </p></td>
  403. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  404. <td class="table_cells" width="29%" ><code>switch</code></td>
  405. </tr>
  406. <tr>
  407. <td class="table_cells" width="40%" > <p>T_TEMPLATE </p></td>
  408. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  409. <td class="table_cells" width="29%" ><code>template</code></td>
  410. </tr>
  411. <tr>
  412. <td class="table_cells" width="40%" > <p>T_THIS </p></td>
  413. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  414. <td class="table_cells" width="29%" ><code>this</code></td>
  415. </tr>
  416. <tr>
  417. <td class="table_cells" width="40%" > <p>T_THROW </p></td>
  418. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  419. <td class="table_cells" width="29%" ><code>throw</code></td>
  420. </tr>
  421. <tr>
  422. <td class="table_cells" width="40%" > <p>T_TRY </p></td>
  423. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  424. <td class="table_cells" width="29%" ><code>try</code></td>
  425. </tr>
  426. <tr>
  427. <td class="table_cells" width="40%" > <p>T_TYPEDEF </p></td>
  428. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  429. <td class="table_cells" width="29%" ><code>typedef</code></td>
  430. </tr>
  431. <tr>
  432. <td class="table_cells" width="40%" > <p>T_TYPEID </p></td>
  433. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  434. <td class="table_cells" width="29%" ><code>typeid</code></td>
  435. </tr>
  436. <tr>
  437. <td class="table_cells" width="40%" > <p>T_TYPENAME </p></td>
  438. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  439. <td class="table_cells" width="29%" ><code>typename</code></td>
  440. </tr>
  441. <tr>
  442. <td class="table_cells" width="40%" > <p>T_UNION </p></td>
  443. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  444. <td class="table_cells" width="29%" ><code>union</code></td>
  445. </tr>
  446. <tr>
  447. <td class="table_cells" width="40%" > <p>T_UNSIGNED </p></td>
  448. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  449. <td class="table_cells" width="29%" ><code>unsigned</code></td>
  450. </tr>
  451. <tr>
  452. <td class="table_cells" width="40%" > <p>T_USING </p></td>
  453. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  454. <td class="table_cells" width="29%" ><code>using</code></td>
  455. </tr>
  456. <tr>
  457. <td class="table_cells" width="40%" > <p>T_VIRTUAL </p></td>
  458. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  459. <td class="table_cells" width="29%" ><code>virtual</code></td>
  460. </tr>
  461. <tr>
  462. <td class="table_cells" width="40%" > <p>T_VOID </p></td>
  463. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  464. <td class="table_cells" width="29%" ><code>void</code></td>
  465. </tr>
  466. <tr>
  467. <td class="table_cells" width="40%" > <p>T_VOLATILE </p></td>
  468. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  469. <td class="table_cells" width="29%" ><code>volatile</code></td>
  470. </tr>
  471. <tr>
  472. <td class="table_cells" width="40%" > <p>T_WCHART </p></td>
  473. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  474. <td class="table_cells" width="29%" ><code>wchar_t</code></td>
  475. </tr>
  476. <tr>
  477. <td class="table_cells" width="40%" > <p>T_WHILE </p></td>
  478. <td class="table_cells" width="31%" > <p>KeywordTokenType</p></td>
  479. <td class="table_cells" width="29%" ><code>while</code></td>
  480. </tr>
  481. </table>
  482. <br>
  483. <a name="operator_tokens"></a>
  484. <table width="70%" border="0" align="center">
  485. <tr>
  486. <td colspan="3"> <p class="table_title">List of operator token id's</p></td>
  487. </tr>
  488. <tr>
  489. <td> <p class="toc_title" width="36%" >Token identifier</p></td>
  490. <td> <p class="toc_title" width="28%" >Token category</p></td>
  491. <td> <p class="toc_title" width="36%" >Token value</p></td>
  492. </tr>
  493. <tr>
  494. <td class="table_cells" width="40%" > <p>T_AND </p></td>
  495. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  496. <td class="table_cells" width="29%" ><code>&amp;</code></td>
  497. </tr>
  498. <tr>
  499. <td class="table_cells" width="40%" > <p>T_ANDAND </p></td>
  500. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  501. <td class="table_cells" width="29%" ><code>&amp;&amp;</code></td>
  502. </tr>
  503. <tr>
  504. <td class="table_cells" width="40%" > <p>T_ASSIGN </p></td>
  505. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  506. <td class="table_cells" width="29%" ><code>=</code></td>
  507. </tr>
  508. <tr>
  509. <td class="table_cells" width="40%" > <p>T_ANDASSIGN </p></td>
  510. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  511. <td class="table_cells" width="29%" ><code>&amp;=</code></td>
  512. </tr>
  513. <tr>
  514. <td class="table_cells" width="40%" > <p>T_OR </p></td>
  515. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  516. <td class="table_cells" width="29%" ><code>|</code></td>
  517. </tr>
  518. <tr>
  519. <td class="table_cells" width="40%" > <p>T_ORASSIGN </p></td>
  520. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  521. <td class="table_cells" width="29%" ><code>|=</code></td>
  522. </tr>
  523. <tr>
  524. <td class="table_cells" width="40%" > <p>T_XOR </p></td>
  525. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  526. <td class="table_cells" width="29%" ><code>^</code></td>
  527. </tr>
  528. <tr>
  529. <td class="table_cells" width="40%" > <p>T_XORASSIGN </p></td>
  530. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  531. <td class="table_cells" width="29%" ><code>^=</code></td>
  532. </tr>
  533. <tr>
  534. <td class="table_cells" width="40%" > <p>T_COMMA </p></td>
  535. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  536. <td class="table_cells" width="29%" ><code>,</code></td>
  537. </tr>
  538. <tr>
  539. <td class="table_cells" width="40%" > <p>T_COLON </p></td>
  540. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  541. <td class="table_cells" width="29%" ><code>:</code></td>
  542. </tr>
  543. <tr>
  544. <td class="table_cells" width="40%" > <p>T_DIVIDE </p></td>
  545. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  546. <td class="table_cells" width="29%" ><code>/</code></td>
  547. </tr>
  548. <tr>
  549. <td class="table_cells" width="40%" > <p>T_DIVIDEASSIGN </p></td>
  550. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  551. <td class="table_cells" width="29%" ><code>/=</code></td>
  552. </tr>
  553. <tr>
  554. <td class="table_cells" width="40%" > <p>T_DOT </p></td>
  555. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  556. <td class="table_cells" width="29%" ><code>.</code></td>
  557. </tr>
  558. <tr>
  559. <td class="table_cells" width="40%" > <p>T_DOTSTAR </p></td>
  560. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  561. <td class="table_cells" width="29%" ><code>.*</code></td>
  562. </tr>
  563. <tr>
  564. <td class="table_cells" width="40%" > <p>T_ELLIPSIS </p></td>
  565. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  566. <td class="table_cells" width="29%" ><code>...</code></td>
  567. </tr>
  568. <tr>
  569. <td class="table_cells" width="40%" > <p>T_EQUAL </p></td>
  570. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  571. <td class="table_cells" width="29%" ><code>==</code></td>
  572. </tr>
  573. <tr>
  574. <td class="table_cells" width="40%" > <p>T_GREATER </p></td>
  575. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  576. <td class="table_cells" width="29%" ><code>&gt;</code></td>
  577. </tr>
  578. <tr>
  579. <td class="table_cells" width="40%" > <p>T_GREATEREQUAL </p></td>
  580. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  581. <td class="table_cells" width="29%" ><code>&gt;=</code></td>
  582. </tr>
  583. <tr>
  584. <td class="table_cells" width="40%" > <p>T_LEFTBRACE </p></td>
  585. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  586. <td class="table_cells" width="29%" ><code>{</code></td>
  587. </tr>
  588. <tr>
  589. <td class="table_cells" width="40%" > <p>T_LESS </p></td>
  590. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  591. <td class="table_cells" width="29%" ><code>&lt;</code></td>
  592. </tr>
  593. <tr>
  594. <td class="table_cells" width="40%" > <p>T_LESSEQUAL </p></td>
  595. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  596. <td class="table_cells" width="29%" ><code>&lt;=</code></td>
  597. </tr>
  598. <tr>
  599. <td class="table_cells" width="40%" > <p>T_LEFTPAREN </p></td>
  600. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  601. <td class="table_cells" width="29%" ><code>(</code></td>
  602. </tr>
  603. <tr>
  604. <td class="table_cells" width="40%" > <p>T_LEFTBRACKET </p></td>
  605. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  606. <td class="table_cells" width="29%" ><code>[</code></td>
  607. </tr>
  608. <tr>
  609. <td class="table_cells" width="40%" > <p>T_MINUS </p></td>
  610. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  611. <td class="table_cells" width="29%" ><code>-</code></td>
  612. </tr>
  613. <tr>
  614. <td class="table_cells" width="40%" > <p>T_MINUSASSIGN </p></td>
  615. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  616. <td class="table_cells" width="29%" ><code>-=</code></td>
  617. </tr>
  618. <tr>
  619. <td class="table_cells" width="40%" > <p>T_MINUSMINUS </p></td>
  620. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  621. <td class="table_cells" width="29%" ><code>--</code></td>
  622. </tr>
  623. <tr>
  624. <td class="table_cells" width="40%" > <p>T_PERCENT </p></td>
  625. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  626. <td class="table_cells" width="29%" ><code>%</code></td>
  627. </tr>
  628. <tr>
  629. <td class="table_cells" width="40%" > <p>T_PERCENTASSIGN </p></td>
  630. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  631. <td class="table_cells" width="29%" ><code>%=</code></td>
  632. </tr>
  633. <tr>
  634. <td class="table_cells" width="40%" > <p>T_NOT </p></td>
  635. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  636. <td class="table_cells" width="29%" ><code>!</code></td>
  637. </tr>
  638. <tr>
  639. <td class="table_cells" width="40%" > <p>T_NOTEQUAL </p></td>
  640. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  641. <td class="table_cells" width="29%" ><code>!=</code></td>
  642. </tr>
  643. <tr>
  644. <td class="table_cells" width="40%" > <p>T_OROR </p></td>
  645. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  646. <td class="table_cells" width="29%" ><code>||</code></td>
  647. </tr>
  648. <tr>
  649. <td class="table_cells" width="40%" > <p>T_PLUS </p></td>
  650. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  651. <td class="table_cells" width="29%" ><code>+</code></td>
  652. </tr>
  653. <tr>
  654. <td class="table_cells" width="40%" > <p>T_PLUSASSIGN </p></td>
  655. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  656. <td class="table_cells" width="29%" ><code>+=</code></td>
  657. </tr>
  658. <tr>
  659. <td class="table_cells" width="40%" > <p>T_PLUSPLUS </p></td>
  660. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  661. <td class="table_cells" width="29%" ><code>++</code></td>
  662. </tr>
  663. <tr>
  664. <td class="table_cells" width="40%" > <p>T_ARROW </p></td>
  665. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  666. <td class="table_cells" width="29%" ><code>-&gt;</code></td>
  667. </tr>
  668. <tr>
  669. <td class="table_cells" width="40%" > <p>T_ARROWSTAR </p></td>
  670. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  671. <td class="table_cells" width="29%" ><code>-&gt;*</code></td>
  672. </tr>
  673. <tr>
  674. <td class="table_cells" width="40%" > <p>T_QUESTION_MARK </p></td>
  675. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  676. <td class="table_cells" width="29%" ><code>?</code></td>
  677. </tr>
  678. <tr>
  679. <td class="table_cells" width="40%" > <p>T_RIGHTBRACE </p></td>
  680. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  681. <td class="table_cells" width="29%" ><code>}</code></td>
  682. </tr>
  683. <tr>
  684. <td class="table_cells" width="40%" > <p>T_RIGHTPAREN </p></td>
  685. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  686. <td class="table_cells" width="29%" ><code>)</code></td>
  687. </tr>
  688. <tr>
  689. <td class="table_cells" width="40%" > <p>T_RIGHTBRACKET </p></td>
  690. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  691. <td class="table_cells" width="29%" ><code>]</code></td>
  692. </tr>
  693. <tr>
  694. <td class="table_cells" width="40%" > <p>T_COLON_COLON </p></td>
  695. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  696. <td class="table_cells" width="29%" ><code>::</code></td>
  697. </tr>
  698. <tr>
  699. <td class="table_cells" width="40%" > <p>T_SEMICOLON </p></td>
  700. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  701. <td class="table_cells" width="29%" ><code>;</code></td>
  702. </tr>
  703. <tr>
  704. <td class="table_cells" width="40%" > <p>T_SHIFTLEFT </p></td>
  705. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  706. <td class="table_cells" width="29%" ><code>&lt;&lt;</code></td>
  707. </tr>
  708. <tr>
  709. <td class="table_cells" width="40%" > <p>T_SHIFTLEFTASSIGN </p></td>
  710. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  711. <td class="table_cells" width="29%" ><code>&lt;&lt;=</code></td>
  712. </tr>
  713. <tr>
  714. <td class="table_cells" width="40%" > <p>T_SHIFTRIGHT </p></td>
  715. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  716. <td class="table_cells" width="29%" ><code>&gt;&gt;</code></td>
  717. </tr>
  718. <tr>
  719. <td class="table_cells" width="40%" > <p>T_SHIFTRIGHTASSIGN </p></td>
  720. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  721. <td class="table_cells" width="29%" ><code>&gt;&gt;=</code></td>
  722. </tr>
  723. <tr>
  724. <td class="table_cells" width="40%" > <p>T_STAR </p></td>
  725. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  726. <td class="table_cells" width="29%" ><code>*</code></td>
  727. </tr>
  728. <tr>
  729. <td class="table_cells" width="40%" > <p>T_COMPL </p></td>
  730. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  731. <td class="table_cells" width="29%" ><code>~</code></td>
  732. </tr>
  733. <tr>
  734. <td class="table_cells" width="40%" > <p>T_STARASSIGN </p></td>
  735. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  736. <td class="table_cells" width="29%" ><code>*=</code></td>
  737. </tr>
  738. <tr>
  739. <td class="table_cells" width="40%" > <p>T_POUND_POUND </p></td>
  740. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  741. <td class="table_cells" width="29%" ><code>##</code></td>
  742. </tr>
  743. <tr>
  744. <td class="table_cells" width="40%" > <p>T_POUND </p></td>
  745. <td class="table_cells" width="31%" > <p>OperatorTokenType</p></td>
  746. <td class="table_cells" width="29%" ><code>#</code></td>
  747. </tr>
  748. <tr>
  749. <td class="table_cells" width="40%" > <p>T_AND_ALT </p></td>
  750. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  751. <td class="table_cells" width="29%" ><code>bitand</code></td>
  752. </tr>
  753. <tr>
  754. <td class="table_cells" width="40%" > <p>T_ANDASSIGN_ALT </p></td>
  755. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  756. <td class="table_cells" width="29%" ><code>and_eq</code></td>
  757. </tr>
  758. <tr>
  759. <td class="table_cells" width="40%" > <p>T_OR_ALT </p></td>
  760. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  761. <td class="table_cells" width="29%" ><code>or</code></td>
  762. </tr>
  763. <tr>
  764. <td class="table_cells" width="40%" > <p>T_ORASSIGN_ALT </p></td>
  765. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  766. <td class="table_cells" width="29%" ><code>or_eq</code></td>
  767. </tr>
  768. <tr>
  769. <td class="table_cells" width="40%" > <p>T_XOR_ALT </p></td>
  770. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  771. <td class="table_cells" width="29%" ><code>xor</code></td>
  772. </tr>
  773. <tr>
  774. <td class="table_cells" width="40%" > <p>T_XORASSIGN_ALT </p></td>
  775. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  776. <td class="table_cells" width="29%" ><code>xor_eq</code></td>
  777. </tr>
  778. <tr>
  779. <td class="table_cells" width="40%" > <p>T_LEFTBRACE_ALT </p></td>
  780. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  781. <td class="table_cells" width="29%" ><code>&lt;%</code></td>
  782. </tr>
  783. <tr>
  784. <td class="table_cells" width="40%" > <p>T_LEFTBRACKET_ALT </p></td>
  785. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  786. <td class="table_cells" width="29%" ><code>&lt;:</code></td>
  787. </tr>
  788. <tr>
  789. <td class="table_cells" width="40%" > <p>T_NOT_ALT </p></td>
  790. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  791. <td class="table_cells" width="29%" ><code>not</code></td>
  792. </tr>
  793. <tr>
  794. <td class="table_cells" width="40%" > <p>T_NOTEQUAL_ALT </p></td>
  795. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  796. <td class="table_cells" width="29%" ><code>not_eq</code></td>
  797. </tr>
  798. <tr>
  799. <td class="table_cells" width="40%" > <p>T_RIGHTBRACE_ALT </p></td>
  800. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  801. <td class="table_cells" width="29%" ><code>%&gt;</code></td>
  802. </tr>
  803. <tr>
  804. <td class="table_cells" width="40%" > <p>T_RIGHTBRACKET_ALT </p></td>
  805. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  806. <td class="table_cells" width="29%" ><code>:&gt;</code></td>
  807. </tr>
  808. <tr>
  809. <td class="table_cells" width="40%" > <p>T_COMPL_ALT </p></td>
  810. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  811. <td class="table_cells" width="29%" ><code>compl</code></td>
  812. </tr>
  813. <tr>
  814. <td class="table_cells" width="40%" > <p>T_POUND_POUND_ALT </p></td>
  815. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  816. <td class="table_cells" width="29%" ><code>%:%:</code></td>
  817. </tr>
  818. <tr>
  819. <td class="table_cells" width="40%" > <p>T_POUND_ALT </p></td>
  820. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| AltTokenType</p></td>
  821. <td class="table_cells" width="29%" ><code>%:</code></td>
  822. </tr>
  823. <tr>
  824. <td class="table_cells" width="40%" > <p>T_OR_TRIGRAPH </p></td>
  825. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  826. <td class="table_cells" width="29%" ><code>??!</code></td>
  827. </tr>
  828. <tr>
  829. <td class="table_cells" width="40%" > <p>T_XOR_TRIGRAPH </p></td>
  830. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  831. <td class="table_cells" width="29%" ><code>??'</code></td>
  832. </tr>
  833. <tr>
  834. <td class="table_cells" width="40%" > <p>T_LEFTBRACE_TRIGRAPH </p></td>
  835. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  836. <td class="table_cells" width="29%" ><code>??&lt;</code></td>
  837. </tr>
  838. <tr>
  839. <td class="table_cells" width="40%" > <p>T_LEFTBRACKET_TRIGRAPH </p></td>
  840. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  841. <td class="table_cells" width="29%" ><code>??(</code></td>
  842. </tr>
  843. <tr>
  844. <td class="table_cells" width="40%" > <p>T_RIGHTBRACE_TRIGRAPH </p></td>
  845. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  846. <td class="table_cells" width="29%" ><code>??&gt;</code></td>
  847. </tr>
  848. <tr>
  849. <td class="table_cells" width="40%" > <p>T_RIGHTBRACKET_TRIGRAPH </p></td>
  850. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  851. <td class="table_cells" width="29%" ><code>??)</code></td>
  852. </tr>
  853. <tr>
  854. <td class="table_cells" width="40%" > <p>T_COMPL_TRIGRAPH </p></td>
  855. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  856. <td class="table_cells" width="29%" ><code>??-</code></td>
  857. </tr>
  858. <tr>
  859. <td class="table_cells" width="40%" > <p>T_POUND_POUND_TRIGRAPH </p></td>
  860. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  861. <td class="table_cells" width="29%" ><code>??=??=</code></td>
  862. </tr>
  863. <tr>
  864. <td class="table_cells" width="40%" > <p>T_POUND_TRIGRAPH </p></td>
  865. <td class="table_cells" width="31%" > <p>OperatorTokenType&nbsp;| TriGraphTokenType</p></td>
  866. <td class="table_cells" width="29%" ><code>??=</code></td>
  867. </tr>
  868. </table>
  869. <p><br>
  870. <a name="preprocessor_tokens"></a> The preprocessor tokens listet in the following
  871. table are returned by the C++ lexer only. The preprocessor naturally acts on
  872. these tokens and they are not returned by dereferencing the preprocessing iterators.</p>
  873. <table width="70%" border="0" align="center">
  874. <tr>
  875. <td colspan="3"> <p class="table_title">List of preprocessor token id's</p></td>
  876. </tr>
  877. <tr>
  878. <td> <p class="toc_title" width="36%" >Token identifier</p></td>
  879. <td> <p class="toc_title" width="28%" >Token category</p></td>
  880. <td> <p class="toc_title" width="36%" >Token value</p></td>
  881. </tr>
  882. <tr>
  883. <td class="table_cells" width="40%" > <p>T_PP_DEFINE </p></td>
  884. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  885. <td class="table_cells" width="29%" ><code>#define</code></td>
  886. </tr>
  887. <tr>
  888. <td class="table_cells" width="40%" > <p>T_PP_IF </p></td>
  889. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  890. <td class="table_cells" width="29%" ><code>#if</code></td>
  891. </tr>
  892. <tr>
  893. <td class="table_cells" width="40%" > <p>T_PP_IFDEF </p></td>
  894. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  895. <td class="table_cells" width="29%" ><code>#ifdef</code></td>
  896. </tr>
  897. <tr>
  898. <td class="table_cells" width="40%" > <p>T_PP_IFNDEF </p></td>
  899. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  900. <td class="table_cells" width="29%" ><code>#ifndef</code></td>
  901. </tr>
  902. <tr>
  903. <td class="table_cells" width="40%" > <p>T_PP_ELSE </p></td>
  904. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  905. <td class="table_cells" width="29%" ><code>#else</code></td>
  906. </tr>
  907. <tr>
  908. <td class="table_cells" width="40%" > <p>T_PP_ELIF </p></td>
  909. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  910. <td class="table_cells" width="29%" ><code>#elif</code></td>
  911. </tr>
  912. <tr>
  913. <td class="table_cells" width="40%" > <p>T_PP_ENDIF </p></td>
  914. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  915. <td class="table_cells" width="29%" ><code>#endif</code></td>
  916. </tr>
  917. <tr>
  918. <td class="table_cells" width="40%" > <p>T_PP_ERROR </p></td>
  919. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  920. <td class="table_cells" width="29%" ><code>#error</code></td>
  921. </tr>
  922. <tr>
  923. <td class="table_cells" width="40%" > <p>T_PP_LINE </p></td>
  924. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  925. <td class="table_cells" width="29%" ><code>#line</code></td>
  926. </tr>
  927. <tr>
  928. <td class="table_cells" width="40%" > <p>T_PP_PRAGMA </p></td>
  929. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  930. <td class="table_cells" width="29%" ><code>#pragma</code></td>
  931. </tr>
  932. <tr>
  933. <td class="table_cells" width="40%" > <p>T_PP_UNDEF </p></td>
  934. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  935. <td class="table_cells" width="29%" ><code>#undef</code></td>
  936. </tr>
  937. <tr>
  938. <td class="table_cells" width="40%" > <p>T_PP_WARNING </p></td>
  939. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  940. <td class="table_cells" width="29%" ><code>#warning</code></td>
  941. </tr>
  942. <tr>
  943. <td class="table_cells" width="40%" > <p>T_PP_INCLUDE </p></td>
  944. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  945. <td class="table_cells" width="29%" ><code>#include &quot;...&quot;</code></td>
  946. </tr>
  947. <tr>
  948. <td class="table_cells" width="40%" > <p>T_PP_QHEADER </p></td>
  949. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  950. <td class="table_cells" width="29%" ><code>#include &lt;...&gt;</code></td>
  951. </tr>
  952. <tr>
  953. <td class="table_cells" width="40%" > <p>T_PP_HHEADER </p></td>
  954. <td class="table_cells" width="31%" > <p>PPTokenType</p></td>
  955. <td class="table_cells" width="29%" ><code>#include ...</code></td>
  956. </tr>
  957. </table>
  958. <br>
  959. <table border="0">
  960. <tr>
  961. <td width="10"></td>
  962. <td width="30"><a href="../index.html"><img src="theme/u_arr.gif" border="0"></a></td>
  963. <td width="30"><a href="class_reference_tokentype.html"><img src="theme/l_arr.gif" width="20" height="19" border="0"></a></td>
  964. <td width="30"><a href="class_reference_filepos.html"><img src="theme/r_arr.gif" width="20" height="19" border="0"></a></td>
  965. </tr>
  966. </table>
  967. <hr size="1">
  968. <p class="copyright">Copyright &copy; 2003-2011 Hartmut Kaiser<br>
  969. <br>
  970. <font size="2">Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) </font> </p>
  971. <span class="updated"></span>
  972. <p class="copyright"><span class="updated">Last updated:
  973. <!-- #BeginDate format:fcAm1m -->Friday, January 18, 2008 11:35<!-- #EndDate -->
  974. </span></p>
  975. </body>
  976. </html>