reference.qbk 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. [#reference]
  2. [section Reference]
  3. [section Parsers and combinators provided by the library]
  4. [#parsers]
  5. [section Parsers]
  6. [section Character]
  7. * [link alphanum alphanum]
  8. * [link digit digit]
  9. * [link letter letter]
  10. * [link lit lit]
  11. * [link lit_c lit_c]
  12. * [link one_char one_char]
  13. * [link one_char_except one_char_except]
  14. * [link one_char_except_c one_char_except_c]
  15. * [link range range]
  16. * [link range_c range_c]
  17. * [link space space]
  18. [endsect]
  19. [section Numeric]
  20. * [link digit_val digit_val]
  21. * [link int_ int_]
  22. [endsect]
  23. [section Whitespace]
  24. * [link space space]
  25. * [link spaces spaces]
  26. [endsect]
  27. [section Validation and error reporting]
  28. * [link empty empty]
  29. * [link fail fail]
  30. [endsect]
  31. [section Miscellaneous]
  32. * [link keyword keyword]
  33. * [link return_ return_]
  34. [endsect]
  35. [endsect]
  36. [#combinators]
  37. [section Combinators]
  38. [section Validation and error reporting]
  39. * [link accept_when accept_when]
  40. * [link change_error_message change_error_message]
  41. * [link entire_input entire_input]
  42. * [link except except]
  43. * [link fail_at_first_char_expected fail_at_first_char_expected]
  44. * [link transform_error transform_error]
  45. * [link transform_error_message transform_error_message]
  46. [endsect]
  47. [section Repetition]
  48. See the [link repetition Repetition] section of the
  49. [link manual User Manual] for a detailed comparison of the most common
  50. repetition combinators.
  51. [link finding-the-right-folding-parser-combinator Cheat-sheet] for
  52. choosing among the `fold*` parsers.
  53. * [link foldl foldl]
  54. * [link foldl1 foldl1]
  55. * [link foldl_reject_incomplete foldl_reject_incomplete]
  56. * [link foldl_reject_incomplete1 foldl_reject_incomplete1]
  57. * [link foldl_reject_incomplete_start_with_parser foldl_reject_incomplete_start_with_parser]
  58. * [link foldl_start_with_parser foldl_start_with_parser]
  59. * [link foldr foldr]
  60. * [link foldr1 foldr1]
  61. * [link foldr_reject_incomplete foldr_reject_incomplete]
  62. * [link foldr_reject_incomplete1 foldr_reject_incomplete1]
  63. * [link foldr_start_with_parser foldr_start_with_parser]
  64. * [link iterate iterate]
  65. * [link iterate_c iterate_c]
  66. * [link repeated repeated]
  67. * [link repeated1 repeated1]
  68. * [link repeated_reject_incomplete repeated_reject_incomplete]
  69. * [link repeated_reject_incomplete1 repeated_reject_incomplete1]
  70. * [link repeated_one_of repeated_one_of]
  71. * [link repeated_one_of1 repeated_one_of1]
  72. [endsect]
  73. [section Selection]
  74. * [link if_ if_]
  75. * [link one_of one_of]
  76. * [link one_of_c one_of_c]
  77. * [link optional optional]
  78. * [link repeated_one_of repeated_one_of]
  79. * [link repeated_one_of1 repeated_one_of1]
  80. [endsect]
  81. [section Sequence]
  82. * [link first_of first_of]
  83. * [link last_of last_of]
  84. * [link middle_of middle_of]
  85. * [link nth_of nth_of]
  86. * [link nth_of_c nth_of_c]
  87. * [link sequence sequence]
  88. * [link sequence_apply sequence_apply]
  89. [endsect]
  90. [section Result transformation (semantic actions)]
  91. * [link always always]
  92. * [link always_c always_c]
  93. * [link transform transform]
  94. [endsect]
  95. [section Miscellaneous]
  96. * [link grammar grammar]
  97. * [link look_ahead look_ahead]
  98. * [link token token]
  99. [endsect]
  100. [endsect]
  101. [endsect]
  102. [section Compile-time data structures and values]
  103. [section Result of parsing]
  104. * [link accept accept]
  105. * [link get_message get_message]
  106. * [link get_position get_position]
  107. * [link get_remaining get_remaining]
  108. * [link get_result get_result]
  109. * [link is_error is_error]
  110. * [link reject reject]
  111. [endsect]
  112. [section Source position]
  113. * [link get_col get_col]
  114. * [link get_line get_line]
  115. * [link get_prev_char get_prev_char]
  116. * [link next_char next_char]
  117. * [link next_line next_line]
  118. * [link source_position source_position]
  119. * [link source_position_tag source_position_tag]
  120. * [link start start]
  121. [endsect]
  122. [endsect]
  123. [#ref-string]
  124. [section String]
  125. * [link string string]
  126. * [link string_tag string_tag]
  127. * [link BOOST_METAPARSE_STRING BOOST_METAPARSE_STRING]
  128. [endsect]
  129. [section Errors]
  130. * [link digit_expected digit_expected]
  131. * [link end_of_input_expected end_of_input_expected]
  132. * [link expected_to_fail expected_to_fail]
  133. * [link index_out_of_range index_out_of_range]
  134. * [link letter_expected letter_expected]
  135. * [link literal_expected literal_expected]
  136. * [link none_of_the_expected_cases_found none_of_the_expected_cases_found]
  137. * [link unexpected_character unexpected_character]
  138. * [link unexpected_end_of_input unexpected_end_of_input]
  139. * [link unpaired unpaired]
  140. * [link whitespace_expected whitespace_expected]
  141. [endsect]
  142. [section Tags]
  143. * [link accept_tag accept_tag]
  144. * [link fail_tag fail_tag]
  145. * [link source_position_tag source_position_tag]
  146. [endsect]
  147. [section Utilities]
  148. * [link build_parser build_parser]
  149. * [link debug_parsing_error debug_parsing_error]
  150. * [link BOOST_METAPARSE_DEFINE_ERROR BOOST_METAPARSE_DEFINE_ERROR]
  151. * [link BOOST_METAPARSE_VERSION BOOST_METAPARSE_VERSION]
  152. * [link unless_error unless_error]
  153. Metaparse uses a number of general purpose metafunctions and metafunction
  154. classes.
  155. * [link digit_to_int digit_to_int]
  156. * [link digit_to_int_c digit_to_int_c]
  157. * [link int_to_digit int_to_digit]
  158. * [link int_to_digit_c int_to_digit_c]
  159. * [link in_range in_range]
  160. * [link in_range_c in_range_c]
  161. * [link is_digit is_digit]
  162. * [link is_lcase_letter is_lcase_letter]
  163. * [link is_letter is_letter]
  164. * [link is_ucase_letter is_ucase_letter]
  165. * [link is_whitespace is_whitespace]
  166. * [link is_whitespace_c is_whitespace_c]
  167. [endsect]
  168. [section Terms used by the library]
  169. * [link boxed_value boxed value]
  170. * [link currying currying]
  171. * [link lazy_metafunction lazy template metafunction]
  172. * [link nullary_metafunction nullary template metafunction]
  173. * [link parser parser]
  174. * [link parser_combinator parser combinator]
  175. * [link parsing_error_message parsing error message]
  176. * [link predicate predicate]
  177. * [link tag tag]
  178. * [link metafunction template metafunction]
  179. * [link metafunction_class template metafunction class]
  180. * [link metaprogramming_value template metaprogramming value]
  181. [endsect]
  182. [section Alphabetical]
  183. [include accept.qbk]
  184. [include accept_tag.qbk]
  185. [include accept_when.qbk]
  186. [include alphanum.qbk]
  187. [include always_c.qbk]
  188. [include always.qbk]
  189. [include BOOST_METAPARSE_DEFINE_ERROR.qbk]
  190. [include BOOST_METAPARSE_STRING.qbk]
  191. [include BOOST_METAPARSE_VERSION.qbk]
  192. [include boxed_value.qbk]
  193. [include build_parser.qbk]
  194. [include change_error_message.qbk]
  195. [include currying.qbk]
  196. [include debug_parsing_error.qbk]
  197. [include digit_expected.qbk]
  198. [include digit.qbk]
  199. [include digit_to_int_c.qbk]
  200. [include digit_to_int.qbk]
  201. [include digit_val.qbk]
  202. [include empty.qbk]
  203. [include end_of_input_expected.qbk]
  204. [include entire_input.qbk]
  205. [include except.qbk]
  206. [include expected_to_fail.qbk]
  207. [include fail_at_first_char_expected.qbk]
  208. [include fail.qbk]
  209. [include fail_tag.qbk]
  210. [include first_of.qbk]
  211. [include foldl1.qbk]
  212. [include foldl_reject_incomplete.qbk]
  213. [include foldl_reject_incomplete1.qbk]
  214. [include foldl_reject_incomplete_start_with_parser.qbk]
  215. [include foldl_start_with_parser.qbk]
  216. [include foldl.qbk]
  217. [include foldr1.qbk]
  218. [include foldr_reject_incomplete.qbk]
  219. [include foldr_reject_incomplete1.qbk]
  220. [include foldr_start_with_parser.qbk]
  221. [include foldr.qbk]
  222. [include get_col.qbk]
  223. [include get_line.qbk]
  224. [include get_message.qbk]
  225. [include get_position.qbk]
  226. [include get_prev_char.qbk]
  227. [include get_remaining.qbk]
  228. [include get_result.qbk]
  229. [include grammar.qbk]
  230. [include if_.qbk]
  231. [include index_out_of_range.qbk]
  232. [include in_range_c.qbk]
  233. [include in_range.qbk]
  234. [include int_.qbk]
  235. [include int_to_digit_c.qbk]
  236. [include int_to_digit.qbk]
  237. [include is_digit.qbk]
  238. [include is_error.qbk]
  239. [include is_lcase_letter.qbk]
  240. [include is_letter.qbk]
  241. [include is_ucase_letter.qbk]
  242. [include is_whitespace_c.qbk]
  243. [include is_whitespace.qbk]
  244. [include iterate_c.qbk]
  245. [include iterate.qbk]
  246. [include keyword.qbk]
  247. [include last_of.qbk]
  248. [include lazy_metafunction.qbk]
  249. [include letter_expected.qbk]
  250. [include letter.qbk]
  251. [include lit_c.qbk]
  252. [include literal_expected.qbk]
  253. [include lit.qbk]
  254. [include look_ahead.qbk]
  255. [include metafunction_class.qbk]
  256. [include metafunction.qbk]
  257. [include metaprogramming_value.qbk]
  258. [include middle_of.qbk]
  259. [include next_char.qbk]
  260. [include next_line.qbk]
  261. [include none_of_the_expected_cases_found.qbk]
  262. [include nth_of_c.qbk]
  263. [include nth_of.qbk]
  264. [include nullary_metafunction.qbk]
  265. [include one_char_except_c.qbk]
  266. [include one_char_except.qbk]
  267. [include one_char.qbk]
  268. [include one_of_c.qbk]
  269. [include one_of.qbk]
  270. [include optional.qbk]
  271. [include parser_combinator.qbk]
  272. [include parser.qbk]
  273. [include parsing_error_message.qbk]
  274. [include predicate.qbk]
  275. [include range_c.qbk]
  276. [include range.qbk]
  277. [include reject.qbk]
  278. [include repeated1.qbk]
  279. [include repeated_reject_incomplete1.qbk]
  280. [include repeated_reject_incomplete.qbk]
  281. [include repeated_one_of1.qbk]
  282. [include repeated_one_of.qbk]
  283. [include repeated.qbk]
  284. [include return_.qbk]
  285. [include sequence.qbk]
  286. [include sequence_apply.qbk]
  287. [include source_position.qbk]
  288. [include source_position_tag.qbk]
  289. [include space.qbk]
  290. [include spaces.qbk]
  291. [include start.qbk]
  292. [include string.qbk]
  293. [include string_tag.qbk]
  294. [include tag.qbk]
  295. [include token.qbk]
  296. [include transform_error_message.qbk]
  297. [include transform_error.qbk]
  298. [include transform.qbk]
  299. [include unexpected_character.qbk]
  300. [include unexpected_end_of_input.qbk]
  301. [include unless_error.qbk]
  302. [include unpaired.qbk]
  303. [include whitespace_expected.qbk]
  304. [endsect]
  305. [endsect]