PageRenderTime 53ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 1ms

/documentation/htdocs/options_NewLines.html

http://github.com/bengardner/uncrustify
HTML | 467 lines | 459 code | 8 blank | 0 comment | 0 complexity | 4cf3fcc8686db62c9436ffae7ef34c74 MD5 | raw file
Possible License(s): GPL-2.0
  1. <html>
  2. <head>
  3. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  4. <title>Uncrustify: where do the New Lines options work</title>
  5. </head>
  6. <body lang="en-US">
  7. <h1><a href="https://github.com/gmaurel/uncrustify4Qt">Uncrustify4Qt</a>:
  8. Where do the options work?</h1>
  9. <h2>New lines</h2>
  10. <p>
  11. </p>
  12. <hr>
  13. <a name="nl_remove_extra_newlines"></a>
  14. <pre>
  15. <a title="nl_remove_extra_newlines"><strong><font color="red">^</font></strong></a><a name="nl_start_of_file"></a>
  16. <a title="nl_start_of_file"><strong><font color="red"><strong><font color="red">^</font></strong></font></strong></a>
  17. void bar_0(); // function definition<a name="nl_func_paren"></a><a name="nl_func_def_empty"></a>
  18. <a title="nl_func_paren"><strong><font color="red"> ^</a><a title="nl_func_def_empty">^</font></strong></a>
  19. void bar_0() // function declaration<a name="nl_func_def_paren"></a><a name="nl_func_decl_empty"></a>
  20. <a title="nl_func_def_paren"><strong><font color="red"> ^</a><a title="nl_func_decl_empty">^</font></strong></a>
  21. void A::bar_1(int a);<a name="nl_func_scope_name"></a><a name="nl_func_def_start"></a><a name="nl_func_def_end_single"></a>
  22. <a title="nl_func_scope_name"><strong><font color="red"> ^</a><a title="nl_func_def_start"> ^</a><a title="nl_func_def_end_single"> ^</font></strong></a><a name="nl_fdef_brace"></a>
  23. void bar_2(int a) <a title="nl_fdef_brace"><strong><font color="red">^</font></strong></a><a name="nl_func_type_name"></a><a name="nl_func_decl_start"></a><a name="nl_func_decl_end"></a>
  24. <a title="nl_func_type_name"><strong><font color="red"> ^</a><a title="nl_func_decl_start"> ^</a><a title="nl_func_decl_end"> ^</font></strong></a><a name="nl_func_decl_start_single"></a><a name="nl_func_decl_end_single"></a>
  25. <a title="nl_func_decl_start_single"><strong><font color="red"> ^</a><a title="nl_func_decl_end_single"> ^</font></strong></a><a name="nl_collapse_empty_body"></a>
  26. {<a title="nl_collapse_empty_body"><strong><font color="red">^</font></strong></a>
  27. }<a name="nl_after_func_body"></a>
  28. <a title="nl_after_func_body"><strong><font color="red">^</font></strong></a>
  29. void bar_3(int x,
  30. int y)<a name="nl_func_def_args"></a><a name="nl_func_decl_end"></a>
  31. <a title="nl_func_def_args"><strong><font color="red"> ^</a><a title="nl_func_decl_end"> ^</font></strong></a>
  32. {<a name="nl_after_semicolon"></a>
  33. int a = 5;<a title="nl_after_semicolon"><strong><font color="red"> ^</font></strong></a>
  34. int b = 7;<a name="nl_func_var_def_blk"></a>
  35. <a title="nl_func_var_def_blk "><strong><font color="red"> ^</font></strong></a>
  36. a = 135;
  37. list_for_each(item, list) {<a name="nl_fcall_brace"></a>
  38. <a title="nl_fcall_brace"><strong><font color="red"> ^</font></strong></a>
  39. }<a name="nl_before_block_comment"></a>
  40. <a title="nl_before_block_comment "><strong><font color="red"> ^</font></strong></a>
  41. /* c1
  42. * c2
  43. */<a name="nl_max"></a>
  44. <a title="nl_max "><strong><font color="red"> ^</font></strong></a>
  45. int x2;<a name="nl_before_c_comment"></a>
  46. <a title="nl_before_c_comment "><strong><font color="red"> ^</font></strong></a>
  47. /* single comment */<a name="nl_before_cpp_comment"></a>
  48. <a title="nl_before_cpp_comment "><strong><font color="red"> ^</font></strong></a>
  49. // cpp comment
  50. std::for_each(a, b, [] (int& b) -> foo {<a name="nl_cpp_ldef_brace"></a>
  51. <a title="nl_cpp_ldef_brace"><strong><font color="red"> ^</font></strong></a>
  52. b+=3; return(b);
  53. }<a name="nl_end_of_file"></a>
  54. <a title="nl_end_of_file"><strong><font color="red">^</font></strong></a>
  55. <hr><a name="nl_class_colon"></a><a name="nl_class_brace"></a>
  56. class foo : public my_Class<a title="nl_class_brace"><strong><font color="red"> ^</font></strong></a>
  57. <a title="nl_class_colon"><strong><font color="red"> ^</font></strong></a>
  58. {<a name="nl_constr_colon"></a>
  59. void bar_c(int t, int u)<a title="nl_constr_colon"><strong><font color="red"> ^</font></strong></a><a name="nl_func_type_name_class"></a><a name="nl_func_decl_args"></a>
  60. <a title="nl_func_type_name_class, nl_func_proto_type_name"><strong><font color="red"> ^</a><a title="nl_func_decl_args"> ^</font></strong></a>
  61. : t(222)
  62. , u(88)<a name="nl_constr_init_args"></a>
  63. <a title="nl_constr_init_args, pos_constr_comma"><strong><font color="red"> ^</font></strong></a>
  64. {<a name="nl_typedef_blk_start"></a>
  65. <a title="nl_typedef_blk_start "><strong><font color="red"> ^</font></strong></a>
  66. typedef char CHAR;<a name="nl_typedef_blk_end"></a><a name="nl_var_def_blk_start"></a>
  67. <a title="nl_typedef_blk_end "><strong><font color="red"> ^</a><a title="nl_var_def_blk_start "> ^</font></strong></a>
  68. CHAR c;
  69. int a;
  70. int b;<a name="nl_var_def_blk_end"></a>
  71. <a title="nl_var_def_blk_end "><strong><font color="red"> ^</font></strong></a>
  72. c = 'a';<a name="nl_before_switch"></a>
  73. <a title="nl_before_switch"><strong><font color="red"> ^</font></strong></a>
  74. switch (a) {<a name="nl_switch_brace"></a>
  75. <a title="nl_switch_brace"><strong><font color="red"> ^</font></strong></a>
  76. case 0:
  77. b = 1;
  78. break;<a name="nl_before_case"></a>
  79. <a title="nl_before_case"><strong><font color="red"> ^</font></strong></a>
  80. case 1: b = 5; break;<a name="nl_after_case"></a>
  81. <a title="nl_after_case"><strong><font color="red"> ^</font></strong></a>
  82. case 13: {<a name="nl_case_colon_brace"></a>
  83. <a title="nl_case_colon_brace"><strong><font color="red"> ^</font></strong></a>
  84. b = 15;
  85. break;
  86. }
  87. }<a name="nl_after_switch"></a><a name="nl_before_do"></a>
  88. <a title="nl_after_switch"><strong><font color="red"> ^</a><a title="nl_before_do"> ^</font></strong></a><a name="nl_do_brace"></a>
  89. do { <a title="nl_do_brace"><strong><font color="red">^</font></strong></a>
  90. do_something();
  91. } while (!d.isEmpty());<a name="nl_brace_while"></a><a name="nl_after_do"></a><a name="nl_before_if"></a>
  92. <a title="nl_brace_while"><strong><font color="red"> ^</a><a title="nl_after_do">^</a><a title="nl_before_if"> ^</font></strong></a><a name="nl_if_brace"></a>
  93. if (a) { <a title="nl_if_brace"><strong><font color="red">^</font></strong></a>
  94. b = 1;
  95. } else if (c) {<a name="nl_brace_else"></a><a name="nl_else_if"></a><a name="nl_elseif_brace"></a>
  96. <a title="nl_brace_else"><strong><font color="red"> ^</a><a title="nl_else_if"> ^</a><a title="nl_elseif_brace"> ^</font></strong></a>
  97. b ;
  98. } else {<a name="nl_else_brace"></a>
  99. <a title="nl_else_brace"><strong><font color="red"> ^</font></strong></a>
  100. b = 3;
  101. }<a name="nl_after_if"></a><a name="nl_before_for"></a>
  102. <a title="nl_after_if"><strong><font color="red"> ^</a><a title="nl_before_for"> ^</font></strong></a>
  103. for (a = 1; a < 5; a++) {<a name="nl_for_brace"></a>
  104. <a title="nl_for_brace"><strong><font color="red"> ^</font></strong></a>
  105. b = b + a;
  106. }<a name="nl_after_for"></a>
  107. <a title="nl_after_for"><strong><font color="red"> ^</font></strong></a>
  108. for (int a = 1; a < 5;
  109. a++) {<a name="nl_multi_line_cond"></a>
  110. <a title="nl_multi_line_cond"><strong><font color="red"> ^</font></strong></a>
  111. b = a + 4;
  112. }
  113. try {<a name="nl_try_brace"></a>
  114. <a title="nl_try_brace"><strong><font color="red"> ^</font></strong></a>
  115. b = 1;
  116. if (err) {<a name="nl_before_throw"></a>
  117. <a title="nl_before_throw"><strong><font color="red"> ^</font></strong></a>
  118. throw std::runtime_error(std::string("nextKey: ") + err.asString());
  119. }
  120. } catch (const std::exception &exc) {<a name="nl_brace_catch"></a><a name="nl_catch_brace"></a>
  121. <a title="nl_brace_catch"><strong><font color="red"> ^</a><a title="nl_catch_brace"> ^</font></strong></a>
  122. b = 3;
  123. }<a name="nl_before_while"></a>
  124. <a title="nl_before_while"><strong><font color="red"> ^</font></strong></a>
  125. while (c) {<a name="nl_while_brace"></a>
  126. <a title="nl_while_brace"><strong><font color="red"> ^</font></strong></a>
  127. b ;
  128. }<a name="nl_after_while"></a>
  129. <a title="nl_after_while"><strong><font color="red"> ^</font></strong></a>
  130. }
  131. enum CaseOfOne {<a name="nl_enum_brace"></a>
  132. <a title="nl_enum_brace"><strong><font color="red"> ^</font></strong></a>
  133. a1,
  134. b1,<a name="nl_ds_struct_enum_cmt"></a>
  135. <a title="nl_ds_struct_enum_cmt"><strong><font color="red"> ^</font></strong></a>
  136. // comment
  137. c1,<a name="nl_ds_struct_enum_close_brace"></a>
  138. <a title="nl_ds_struct_enum_close_brace"><strong><font color="red"> ^</font></strong></a>
  139. };<a name="nl_struct_brace"></a>
  140. struct indent_ptr_t <a title="nl_struct_brace"><strong><font color="red">^</font></strong></a>
  141. {
  142. chunk_t *ref;<a name="nl_ds_struct_enum_cmt"></a>
  143. <a title="nl_ds_struct_enum_cmt"><strong><font color="red"> ^</font></strong></a>
  144. // comment
  145. int delta;<a name="nl_ds_struct_enum_close_brace"></a>
  146. <a title="nl_ds_struct_enum_close_brace"><strong><font color="red"> ^</font></strong></a>
  147. } ipt;<a name="nl_brace_struct_var"></a>
  148. <a title="nl_brace_struct_var"><strong><font color="red"> ^</font></strong></a><a name="nl_after_struct"></a>
  149. <a title="nl_after_struct "><strong><font color="red"> ^</font></strong></a>
  150. union UnionOfOne {<a name="nl_union_brace"></a>
  151. <a title="nl_union_brace"><strong><font color="red"> ^</font></strong></a>
  152. a1,
  153. b1,<a name="nl_ds_struct_enum_cmt"></a>
  154. <a title="nl_ds_struct_enum_cmt"><strong><font color="red"> ^</font></strong></a>
  155. // comment
  156. c1,<a name="nl_ds_struct_enum_close_brace"></a>
  157. <a title="nl_ds_struct_enum_close_brace"><strong><font color="red"> ^</font></strong></a>
  158. };<a name="nl_before_access_spec"></a><a name="nl_after_func_body_class"></a>
  159. <a title="nl_before_access_spec "><strong><font color="red"> ^</a><a title="nl_after_func_body_class"> ^</font></strong></a>
  160. private: // same for protected:, signal: or slots: label<a name="nl_after_access_spec"></a>
  161. <a title="nl_after_access_spec "><strong><font color="red"> ^</font></strong></a>
  162. int ap;
  163. };<a name="nl_after_class"></a>
  164. <a title="nl_after_class "><strong><font color="red">^</font></strong></a>
  165. <hr><a name="nl_namespace_brace"></a>
  166. namespace foo {
  167. <a title="nl_namespace_brace"><strong><font color="red"> ^</font></strong></a>
  168. int foo()
  169. {
  170. if (foo) a++; return;<a name="nl_after_vbrace_open"></a><a name="nl_after_vbrace_close"></a>
  171. <a title="nl_after_vbrace_open"><strong><font color="red"> ^</a><a title="nl_after_vbrace_close"> ^</font></strong></a>
  172. if (a)
  173. return;<a name="nl_after_return"></a>
  174. <a title="nl_after_return"><strong><font color="red"> ^</font></strong></a><a name="nl_after_label_colon"></a>
  175. l123: <a title="nl_after_label_colon"><strong><font color="red">^</font></strong></a>
  176. int a = 5;
  177. <a title="nl_before_if"><strong><font color="red"> ^</font></strong></a>
  178. if (a > b) {
  179. c = 7;<a name="nl_before_return"></a>
  180. <a title="nl_before_return"><strong><font color="red"> ^</font></strong></a>
  181. return a + b;
  182. }
  183. std::for_each(a, b, [] (int& b)->foo{ b+=3; return(b); });<a name="nl_brace_fparen"></a>
  184. <a title="nl_brace_fparen"><strong><font color="red"> ^</font></strong></a>
  185. QUrl dxOffEagle("http://something/newpage.html?[{\"foo: bar\"}]", QUrl::TolerantMode);<a name="nl_brace_square"></a>
  186. <a title="nl_brace_square"><strong><font color="red"> ^</font></strong></a><a name="nl_before_return"></a>
  187. <a title="nl_before_return"><strong><font color="red"> ^</font></strong></a>
  188. return 0;<a name="nl_return_expr"></a>
  189. <a title="nl_return_expr"><strong><font color="red"> ^</font></strong></a>
  190. <hr>
  191. /* c1
  192. *
  193. */<a name="nl_comment_func_def"></a>
  194. <a title="nl_comment_func_def "><strong><font color="red">^</font></strong></a>
  195. void b();<a name="nl_after_func_proto"></a>
  196. <a title="nl_after_func_proto "><strong><font color="red">^</font></strong></a>
  197. void d();
  198. #define LOG_CONTTEXT() \<a name="nl_multi_line_define"></a>
  199. <a title="nl_multi_line_define"><strong><font color="red"> ^</font></strong></a>
  200. LOG_FMT(LCONTTEXT \
  201. ,"%s:%d set cont_text to '%s'\n" \
  202. ,__func__, __LINE__, cmt.cont_text.c_str())
  203. template &lt;class T&gt;<a name="nl_template_class"></a>
  204. <a title="nl_template_class"><strong><font color="red">^</font></strong></a>
  205. ItemJob<T>::ItemJob(PlatformDependent *internals, const QNetworkRequest &request)
  206. : GetJob(internals, request)
  207. typedef int ia;
  208. typedef int ib;<a name="nl_typedef_blk_in"></a>
  209. <a title="nl_typedef_blk_in "><strong><font color="red">^</font></strong></a>
  210. typedef int ic;
  211. typedef int id;
  212. </pre>
  213. <hr>
  214. <h1>Register</h1>
  215. <table>
  216. <tr>
  217. <td><a href="#nl_after_access_spec">nl_after_access_spec</a></td>
  218. <td><a href="#nl_after_case">nl_after_case</a></td>
  219. </tr>
  220. <tr>
  221. <td><a href="#nl_after_class">nl_after_class</a></td>
  222. <td><a href="#nl_after_do">nl_after_do</a></td>
  223. </tr>
  224. <tr>
  225. <td><a href="#nl_after_for">nl_after_for</a></td>
  226. <td><a href="#nl_after_func_body">nl_after_func_body</a></td>
  227. </tr>
  228. <tr>
  229. <td><a href="#nl_after_func_body_class">nl_after_func_body_class</a></td>
  230. <td><a href="#nl_after_func_proto">nl_after_func_proto</a></td>
  231. </tr>
  232. <tr>
  233. <td><a href="#nl_after_if">nl_after_if</a></td>
  234. <td><a href="#nl_after_label_colon">nl_after_label_colon</a></td>
  235. </tr>
  236. <tr>
  237. <td><a href="#nl_after_return">nl_after_return</a></td>
  238. <td><a href="#nl_after_semicolon">nl_after_semicolon</a></td>
  239. </tr>
  240. <tr>
  241. <td><a href="#nl_after_struct">nl_after_struct</a></td>
  242. <td><a href="#nl_after_switch">nl_after_switch</a></td>
  243. </tr>
  244. <tr>
  245. <td><a href="#nl_after_vbrace_close">nl_after_vbrace_close</a></td>
  246. <td><a href="#nl_after_vbrace_open">nl_after_vbrace_open</a></td>
  247. </tr>
  248. <tr>
  249. <td><a href="#nl_after_while">nl_after_while</a></td>
  250. <td><a href="#nl_before_access_spec">nl_before_access_spec</a></td>
  251. </tr>
  252. <tr>
  253. <td><a href="#nl_before_block_comment">nl_before_block_comment</a></td>
  254. <td><a href="#nl_before_c_comment">nl_before_c_comment</a></td>
  255. </tr>
  256. <tr>
  257. <td><a href="#nl_before_case">nl_before_case</a></td>
  258. <td><a href="#nl_before_cpp_comment">nl_before_cpp_comment</a></td>
  259. </tr>
  260. <tr>
  261. <td><a href="#nl_before_do">nl_before_do</a></td>
  262. <td><a href="#nl_before_for">nl_before_for</a></td>
  263. </tr>
  264. <tr>
  265. <td><a href="#nl_before_if">nl_before_if</a></td>
  266. <td><a href="#nl_before_return">nl_before_return</a></td>
  267. </tr>
  268. <tr>
  269. <td><a href="#nl_before_return">nl_before_return</a></td>
  270. <td><a href="#nl_before_switch">nl_before_switch</a></td>
  271. </tr>
  272. <tr>
  273. <td><a href="#nl_before_throw">nl_before_throw</a></td>
  274. <td><a href="#nl_before_while">nl_before_while</a></td>
  275. </tr>
  276. <tr>
  277. <td><a href="#nl_brace_catch">nl_brace_catch</a></td>
  278. <td><a href="#nl_brace_else">nl_brace_else</a></td>
  279. </tr>
  280. <tr>
  281. <td><a href="#nl_brace_fparen">nl_brace_fparen</a></td>
  282. <td><a href="#nl_brace_square">nl_brace_square</a></td>
  283. </tr>
  284. <tr>
  285. <td><a href="#nl_brace_struct_var">nl_brace_struct_var</a></td>
  286. <td><a href="#nl_brace_while">nl_brace_while</a></td>
  287. </tr>
  288. <tr>
  289. <td><a href="#nl_case_colon_brace">nl_case_colon_brace</a></td>
  290. <td><a href="#nl_catch_brace">nl_catch_brace</a></td>
  291. </tr>
  292. <tr>
  293. <td><a href="#nl_class_brace">nl_class_brace</a></td>
  294. <td><a href="#nl_class_colon">nl_class_colon</a></td>
  295. </tr>
  296. <tr>
  297. <td><a href="#nl_collapse_empty_body">nl_collapse_empty_body</a></td>
  298. <td><a href="#nl_comment_func_def">nl_comment_func_def</a></td>
  299. </tr>
  300. <tr>
  301. <td><a href="#nl_constr_colon">nl_constr_colon</a></td>
  302. <td><a href="#nl_constr_init_args">nl_constr_init_args</a></td>
  303. </tr>
  304. <tr>
  305. <td><a href="#nl_cpp_ldef_brace">nl_cpp_ldef_brace</a></td>
  306. <td><a href="#nl_do_brace">nl_do_brace</a></td>
  307. </tr>
  308. <tr>
  309. <td><a href="#nl_ds_struct_enum_close_brace">nl_ds_struct_enum_close_brace</a></td>
  310. <td><a href="#nl_ds_struct_enum_close_brace">nl_ds_struct_enum_close_brace</a></td>
  311. </tr>
  312. <tr>
  313. <td><a href="#nl_ds_struct_enum_close_brace">nl_ds_struct_enum_close_brace</a></td>
  314. <td><a href="#nl_ds_struct_enum_cmt">nl_ds_struct_enum_cmt</a></td>
  315. </tr>
  316. <tr>
  317. <td><a href="#nl_ds_struct_enum_cmt">nl_ds_struct_enum_cmt</a></td>
  318. <td><a href="#nl_ds_struct_enum_cmt">nl_ds_struct_enum_cmt</a></td>
  319. </tr>
  320. <tr>
  321. <td><a href="#nl_else_brace">nl_else_brace</a></td>
  322. <td><a href="#nl_else_if">nl_else_if</a></td>
  323. </tr>
  324. <tr>
  325. <td><a href="#nl_elseif_brace">nl_elseif_brace</a></td>
  326. <td><a href="#nl_end_of_file">nl_end_of_file</a></td>
  327. </tr>
  328. <tr>
  329. <td><a href="#nl_enum_brace">nl_enum_brace</a></td>
  330. <td><a href="#nl_fcall_brace">nl_fcall_brace</a></td>
  331. </tr>
  332. <tr>
  333. <td><a href="#nl_fdef_brace">nl_fdef_brace</a></td>
  334. <td><a href="#nl_for_brace">nl_for_brace</a></td>
  335. </tr>
  336. <tr>
  337. <td><a href="#nl_func_decl_args">nl_func_decl_args</a></td>
  338. <td><a href="#nl_func_decl_empty">nl_func_decl_empty</a></td>
  339. </tr>
  340. <tr>
  341. <td><a href="#nl_func_decl_end">nl_func_decl_end</a></td>
  342. <td><a href="#nl_func_decl_end">nl_func_decl_end</a></td>
  343. </tr>
  344. <tr>
  345. <td><a href="#nl_func_decl_end_single">nl_func_decl_end_single</a></td>
  346. <td><a href="#nl_func_decl_start">nl_func_decl_start</a></td>
  347. </tr>
  348. <tr>
  349. <td><a href="#nl_func_decl_start_single">nl_func_decl_start_single</a></td>
  350. <td><a href="#nl_func_def_args">nl_func_def_args</a></td>
  351. </tr>
  352. <tr>
  353. <td><a href="#nl_func_def_empty">nl_func_def_empty</a></td>
  354. <td><a href="#nl_func_def_end_single">nl_func_def_end_single</a></td>
  355. </tr>
  356. <tr>
  357. <td><a href="#nl_func_def_paren">nl_func_def_paren</a></td>
  358. <td><a href="#nl_func_def_start">nl_func_def_start</a></td>
  359. </tr>
  360. <tr>
  361. <td><a href="#nl_func_paren">nl_func_paren</a></td>
  362. <td><a href="#nl_func_scope_name">nl_func_scope_name</a></td>
  363. </tr>
  364. <tr>
  365. <td><a href="#nl_func_type_name">nl_func_type_name</a></td>
  366. <td><a href="#nl_func_type_name_class">nl_func_type_name_class</a></td>
  367. </tr>
  368. <tr>
  369. <td><a href="#nl_func_var_def_blk">nl_func_var_def_blk</a></td>
  370. <td><a href="#nl_if_brace">nl_if_brace</a></td>
  371. </tr>
  372. <tr>
  373. <td><a href="#nl_max">nl_max</a></td>
  374. <td><a href="#nl_multi_line_cond">nl_multi_line_cond</a></td>
  375. </tr>
  376. <tr>
  377. <td><a href="#nl_multi_line_define">nl_multi_line_define</a></td>
  378. <td><a href="#nl_namespace_brace">nl_namespace_brace</a></td>
  379. </tr>
  380. <tr>
  381. <td><a href="#nl_remove_extra_newlines">nl_remove_extra_newlines</a></td>
  382. <td><a href="#nl_return_expr">nl_return_expr</a></td>
  383. </tr>
  384. <tr>
  385. <td><a href="#nl_start_of_file">nl_start_of_file</a></td>
  386. <td><a href="#nl_struct_brace">nl_struct_brace</a></td>
  387. </tr>
  388. <tr>
  389. <td><a href="#nl_switch_brace">nl_switch_brace</a></td>
  390. <td><a href="#nl_template_class">nl_template_class</a></td>
  391. </tr>
  392. <tr>
  393. <td><a href="#nl_try_brace">nl_try_brace</a></td>
  394. <td><a href="#nl_typedef_blk_end">nl_typedef_blk_end</a></td>
  395. </tr>
  396. <tr>
  397. <td><a href="#nl_typedef_blk_in">nl_typedef_blk_in</a></td>
  398. <td><a href="#nl_typedef_blk_start">nl_typedef_blk_start</a></td>
  399. </tr>
  400. <tr>
  401. <td><a href="#nl_union_brace">nl_union_brace</a></td>
  402. <td><a href="#nl_var_def_blk_end">nl_var_def_blk_end</a></td>
  403. </tr>
  404. <tr>
  405. <td><a href="#nl_var_def_blk_in">nl_var_def_blk_in</a></td>
  406. <td><a href="#nl_var_def_blk_start">nl_var_def_blk_start</a></td>
  407. </tr>
  408. <tr>
  409. <td><a href="#nl_while_brace">nl_while_brace</a></td>
  410. <td></td>
  411. </tr>
  412. </table>
  413. <h2>only for Java</h2>
  414. nl_after_annotation<br>
  415. nl_between_annotation<br>
  416. nl_paren_dbrace_open<br>
  417. <h2>only for D</h2>
  418. nl_after_square_assign<br>
  419. nl_assign_square<br>
  420. nl_scope_brace<br>
  421. nl_unittest_brace<br>
  422. nl_version_brace<br>
  423. <h2>only for oc</h2>
  424. nl_oc_msg_args<br>
  425. nl_oc_msg_leave_one_liner<br>
  426. <h2>only for C#</h2>
  427. nl_around_cs_property<br>
  428. nl_between_get_set<br>
  429. nl_after_try_catch_finally<br>
  430. nl_brace_finally<br>
  431. nl_finally_brace<br>
  432. nl_getset_brace<br>
  433. nl_property_brace<br>
  434. <h2>not yet shown</h2>
  435. nl_after_brace_close<br>
  436. nl_after_brace_open<br>
  437. template<int i> class X { /* a */ };
  438. template<class T> class Y { /* ... */ };
  439. nl_after_brace_open_cmt<br>
  440. nl_after_func_body_one_liner<br>
  441. nl_after_func_proto_group<br>
  442. nl_after_multiline_comment<br>
  443. nl_after_vbrace_open_empty<br>
  444. nl_brace_brace<br>
  445. nl_class_init_args<br>
  446. nl_class_leave_one_liners<br>
  447. nl_cpp_lambda_leave_one_liners<br>
  448. nl_create_for_one_liner<br>
  449. nl_create_if_one_liner<br>
  450. nl_create_while_one_liner<br>
  451. nl_define_macro<br>
  452. nl_enum_leave_one_liners<br>
  453. nl_func_leave_one_liners<br>
  454. nl_getset_leave_one_liners<br>
  455. nl_if_leave_one_liners<br>
  456. nl_squeeze_ifdef<br>
  457. nl_using_brace<br>
  458. </body>
  459. </html>