mirror of
https://github.com/boostorg/parser.git
synced 2026-01-19 04:22:13 +00:00
Update docs.
This commit is contained in:
@@ -4,18 +4,18 @@
|
||||
<title>Macro BOOST_PARSER_ALGO_CONSTEXPR</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_TRAC_idm29988.html" title="Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT">
|
||||
<link rel="prev" href="BOOST_PARSER_TRACE_TO_id32.html" title="Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT">
|
||||
<link rel="next" href="BOOST_PARSER_USE_CONCEPTS.html" title="Macro BOOST_PARSER_USE_CONCEPTS">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_TRAC_idm29988.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_CONCEPTS.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_TRACE_TO_id32.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_CONCEPTS.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_ALGO_idm29993"></a><div class="titlepage"></div>
|
||||
<a name="BOOST_PARSER_ALGO_CON_id33"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Macro BOOST_PARSER_ALGO_CONSTEXPR</span></h2>
|
||||
<p>BOOST_PARSER_ALGO_CONSTEXPR</p>
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_TRAC_idm29988.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_CONCEPTS.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_TRACE_TO_id32.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_CONCEPTS.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Macro BOOST_PARSER_ASSERT</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_NO_R_idm29955.html" title="Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS">
|
||||
<link rel="next" href="BOOST_PARSER_DISA_idm29970.html" title="Macro BOOST_PARSER_DISABLE_CONCEPTS">
|
||||
<link rel="prev" href="BOOST_PARSER_NO_RUNTI_id29.html" title="Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS">
|
||||
<link rel="next" href="BOOST_PARSER_DISABLE__id30.html" title="Macro BOOST_PARSER_DISABLE_CONCEPTS">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_NO_R_idm29955.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_DISA_idm29970.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_NO_RUNTI_id29.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_DISABLE__id30.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_ASSERT"></a><div class="titlepage"></div>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_ASSERT(condition)</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27902"></a><h2>Description</h2>
|
||||
<a name="id29145"></a><h2>Description</h2>
|
||||
<p>Asserts that the given condition is true. If <code class="computeroutput">BOOST_PARSER_NO_RUNTIME_ASSERTIONS</code> macro is defined by the user, <code class="computeroutput">BOOST_PARSER_ASSERT</code> expends to a compile-time <code class="computeroutput">static_assert()</code>. Otherwise, it expands to a run-time <code class="computeroutput">BOOST_ASSERT()</code>. Note that defining <code class="computeroutput">BOOST_DISABLE_ASSERTS</code> disables the use of C <code class="computeroutput">assert</code>, even when <code class="computeroutput">BOOST_ASSERT</code> is unavailble. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_NO_R_idm29955.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_DISA_idm29970.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_NO_RUNTI_id29.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_DISABLE__id30.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Macro BOOST_PARSER_CONSTEXPR</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_USE_STD_TUPLE.html" title="Macro BOOST_PARSER_USE_STD_TUPLE">
|
||||
<link rel="next" href="BOOST_PARSER_TRACE_OSTREAM.html" title="Macro BOOST_PARSER_TRACE_OSTREAM">
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Macro BOOST_PARSER_DEFINE_RULES</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="boost/parser/callback_parse_idm32948.html" title="Function template callback_parse">
|
||||
<link rel="prev" href="boost/parser/callback_parse_id7.html" title="Function template callback_parse">
|
||||
<link rel="next" href="header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="boost/parser/callback_parse_idm32948.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/parser_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/boost/parser/parser_fwd_hpp.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="boost/parser/callback_parse_id7.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/parser_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/boost/parser/parser_fwd_hpp.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_DEFINE_RULES"></a><div class="titlepage"></div>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_DEFINE_RULES(...)</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm39689"></a><h2>Description</h2>
|
||||
<a name="id39538"></a><h2>Description</h2>
|
||||
<p>For each given token <code class="computeroutput">t</code>, defines a pair of <code class="computeroutput">parse_rule()</code> overloads, used internally within Boost.Parser. Each such pair implements the parsing behavior rule <code class="computeroutput">t</code>, using the parser <code class="computeroutput">t_def</code>. This implementation is in the form of a pair of function templates. You should therefore write this macro only at namespace scope. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="boost/parser/callback_parse_idm32948.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/parser_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/boost/parser/parser_fwd_hpp.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="boost/parser/callback_parse_id7.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/parser_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/boost/parser/parser_fwd_hpp.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Macro BOOST_PARSER_DISABLE_CONCEPTS</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_ASSERT.html" title="Macro BOOST_PARSER_ASSERT">
|
||||
<link rel="next" href="BOOST_PARSER_USE__idm29974.html" title="Macro BOOST_PARSER_USE_HANA_TUPLE">
|
||||
<link rel="next" href="BOOST_PARSER_USE_HANA_id31.html" title="Macro BOOST_PARSER_USE_HANA_TUPLE">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_ASSERT.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE__idm29974.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_ASSERT.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_HANA_id31.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_DISA_idm29970"></a><div class="titlepage"></div>
|
||||
<a name="BOOST_PARSER_DISABLE__id30"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Macro BOOST_PARSER_DISABLE_CONCEPTS</span></h2>
|
||||
<p>BOOST_PARSER_DISABLE_CONCEPTS</p>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_DISABLE_CONCEPTS</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27923"></a><h2>Description</h2>
|
||||
<a name="id29165"></a><h2>Description</h2>
|
||||
<p>Boost.Parser will automatically use concepts to constrain templates when building in C++20 mode, if the compiler defines <code class="computeroutput">__cpp_lib_concepts</code>. To disable the use of concepts, define this macro. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_ASSERT.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE__idm29974.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_ASSERT.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_HANA_id31.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Macro BOOST_PARSER_MAX_AGGREGATE_SIZE</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_USE__idm29974.html" title="Macro BOOST_PARSER_USE_HANA_TUPLE">
|
||||
<link rel="prev" href="BOOST_PARSER_USE_HANA_id31.html" title="Macro BOOST_PARSER_USE_HANA_TUPLE">
|
||||
<link rel="next" href="BOOST_PARSER_SUBRANGE.html" title="Macro BOOST_PARSER_SUBRANGE">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_USE__idm29974.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_SUBRANGE.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_USE_HANA_id31.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_SUBRANGE.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_MAX__idm29979"></a><div class="titlepage"></div>
|
||||
<a name="BOOST_PARSER_MAX_AGGRE_id8"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Macro BOOST_PARSER_MAX_AGGREGATE_SIZE</span></h2>
|
||||
<p>BOOST_PARSER_MAX_AGGREGATE_SIZE</p>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_MAX_AGGREGATE_SIZE</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27954"></a><h2>Description</h2>
|
||||
<a name="id29194"></a><h2>Description</h2>
|
||||
<p>Boost.Parser automatically treats aggregate structs as if they were tuples. It uses some metaprogramming to do this. The technique used has a hard limit on the number of data members a struct can have. Re-define this macro to change the hard limit. Note that large values may increase compile times. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_USE__idm29974.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_SUBRANGE.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_USE_HANA_id31.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_SUBRANGE.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="next" href="BOOST_PARSER_ASSERT.html" title="Macro BOOST_PARSER_ASSERT">
|
||||
@@ -15,7 +15,7 @@
|
||||
<a accesskey="p" href="header/boost/parser/config_hpp.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_ASSERT.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_NO_R_idm29955"></a><div class="titlepage"></div>
|
||||
<a name="BOOST_PARSER_NO_RUNTI_id29"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS</span></h2>
|
||||
<p>BOOST_PARSER_NO_RUNTIME_ASSERTIONS</p>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_NO_RUNTIME_ASSERTIONS</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27887"></a><h2>Description</h2>
|
||||
<a name="id29131"></a><h2>Description</h2>
|
||||
<p>Boost.Parser uses assertions (<code class="computeroutput">BOOST_ASSERT()</code>) in several places to indicate that your use of the library has an error in it. All of those places could heve instead been ill-formed code, caught at compile time. It is far quicker and easier to determine exactly where in your code such an error is located if this is a runtime failure; you can just look at the stack in your favorite debugger. However, if you want to make thes kinds of errors always ill-formed code, define this macro. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Macro BOOST_PARSER_SUBRANGE</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_MAX__idm29979.html" title="Macro BOOST_PARSER_MAX_AGGREGATE_SIZE">
|
||||
<link rel="next" href="BOOST_PARSER_TRAC_idm29988.html" title="Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT">
|
||||
<link rel="prev" href="BOOST_PARSER_MAX_AGGRE_id8.html" title="Macro BOOST_PARSER_MAX_AGGREGATE_SIZE">
|
||||
<link rel="next" href="BOOST_PARSER_TRACE_TO_id32.html" title="Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_MAX__idm29979.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_TRAC_idm29988.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_MAX_AGGRE_id8.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_TRACE_TO_id32.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_SUBRANGE"></a><div class="titlepage"></div>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_SUBRANGE</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27968"></a><h2>Description</h2>
|
||||
<a name="id29207"></a><h2>Description</h2>
|
||||
<p>The subrange template that is used throughout Boost.Parser. This will be <code class="computeroutput"><a class="link" href="boost/parser/subrange.html" title="Struct template subrange">boost::parser::subrange</a></code> in C++17 builds, and <code class="computeroutput">std::ranges::subrange</code> in all other builds. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_MAX__idm29979.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_TRAC_idm29988.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_MAX_AGGRE_id8.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_TRACE_TO_id32.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Macro BOOST_PARSER_TRACE_OSTREAM</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_CONSTEXPR.html" title="Macro BOOST_PARSER_CONSTEXPR">
|
||||
<link rel="next" href="header/boost/parser/error_handling_hpp.html" title="Header <boost/parser/error_handling.hpp>">
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_SUBRANGE.html" title="Macro BOOST_PARSER_SUBRANGE">
|
||||
<link rel="next" href="BOOST_PARSER_ALGO_idm29993.html" title="Macro BOOST_PARSER_ALGO_CONSTEXPR">
|
||||
<link rel="next" href="BOOST_PARSER_ALGO_CON_id33.html" title="Macro BOOST_PARSER_ALGO_CONSTEXPR">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_SUBRANGE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_ALGO_idm29993.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_SUBRANGE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_ALGO_CON_id33.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_TRAC_idm29988"></a><div class="titlepage"></div>
|
||||
<a name="BOOST_PARSER_TRACE_TO_id32"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT</span></h2>
|
||||
<p>BOOST_PARSER_TRACE_TO_VS_OUTPUT</p>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_TRACE_TO_VS_OUTPUT</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27985"></a><h2>Description</h2>
|
||||
<a name="id29223"></a><h2>Description</h2>
|
||||
<p>If you are using Visual Studio to run your program, and don't have a terminal in which to observe the output when parsing with <code class="computeroutput">trace::on</code>, define this macro and you'll see the trace output in the Visual Studio debugger's output panel. This macro has no effect when <code class="computeroutput">_MSC_VER</code> is not also defined. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_SUBRANGE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_ALGO_idm29993.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_SUBRANGE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_ALGO_CON_id33.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Macro BOOST_PARSER_USE_CONCEPTS</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_ALGO_idm29993.html" title="Macro BOOST_PARSER_ALGO_CONSTEXPR">
|
||||
<link rel="prev" href="BOOST_PARSER_ALGO_CON_id33.html" title="Macro BOOST_PARSER_ALGO_CONSTEXPR">
|
||||
<link rel="next" href="BOOST_PARSER_USE_STD_TUPLE.html" title="Macro BOOST_PARSER_USE_STD_TUPLE">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_ALGO_idm29993.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_STD_TUPLE.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_ALGO_CON_id33.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_STD_TUPLE.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_USE_CONCEPTS"></a><div class="titlepage"></div>
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_ALGO_idm29993.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_STD_TUPLE.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_ALGO_CON_id33.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_USE_STD_TUPLE.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Macro BOOST_PARSER_USE_HANA_TUPLE</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_DISA_idm29970.html" title="Macro BOOST_PARSER_DISABLE_CONCEPTS">
|
||||
<link rel="next" href="BOOST_PARSER_MAX__idm29979.html" title="Macro BOOST_PARSER_MAX_AGGREGATE_SIZE">
|
||||
<link rel="prev" href="BOOST_PARSER_DISABLE__id30.html" title="Macro BOOST_PARSER_DISABLE_CONCEPTS">
|
||||
<link rel="next" href="BOOST_PARSER_MAX_AGGRE_id8.html" title="Macro BOOST_PARSER_MAX_AGGREGATE_SIZE">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_DISA_idm29970.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_MAX__idm29979.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_DISABLE__id30.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_MAX_AGGRE_id8.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="BOOST_PARSER_USE__idm29974"></a><div class="titlepage"></div>
|
||||
<a name="BOOST_PARSER_USE_HANA_id31"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Macro BOOST_PARSER_USE_HANA_TUPLE</span></h2>
|
||||
<p>BOOST_PARSER_USE_HANA_TUPLE</p>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span>BOOST_PARSER_USE_HANA_TUPLE</pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm27938"></a><h2>Description</h2>
|
||||
<a name="id29179"></a><h2>Description</h2>
|
||||
<p>Define this macro to use <code class="computeroutput">boost::hana::tuple</code> instead of <code class="computeroutput">std::tuple</code> throughout Boost.Parser. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="BOOST_PARSER_DISA_idm29970.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_MAX__idm29979.html"><img src="images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="BOOST_PARSER_DISABLE__id30.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_MAX_AGGRE_id8.html"><img src="images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Macro BOOST_PARSER_USE_STD_TUPLE</title>
|
||||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||||
<link rel="prev" href="BOOST_PARSER_USE_CONCEPTS.html" title="Macro BOOST_PARSER_USE_CONCEPTS">
|
||||
<link rel="next" href="BOOST_PARSER_CONSTEXPR.html" title="Macro BOOST_PARSER_CONSTEXPR">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global Inf</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="_p.html" title="Global _p">
|
||||
<link rel="next" href="omit.html" title="Global omit">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="identifier">int64_t</span> <span class="keyword">const</span> Inf<span class="special">;</span></pre></div>
|
||||
</span>int64_t const Inf<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm36856"></a><h2>Description</h2>
|
||||
<a name="id37039"></a><h2>Description</h2>
|
||||
<p>A very large sentinel value used to represent pseudo-infinity. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _attr</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_val.html" title="Function _val">
|
||||
<link rel="next" href="_where.html" title="Function template _where">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_attr</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_attr</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41277"></a><h2>Description</h2>
|
||||
<a name="id41049"></a><h2>Description</h2>
|
||||
<p>Returns a reference to the attribute or attributes already produced by the bottommost parser; multiple attributes will be stored within a <code class="computeroutput">parser::tuple</code>. Returns <code class="computeroutput">none</code> if the bottommost parser does produce an attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _begin</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_where.html" title="Function template _where">
|
||||
<link rel="next" href="_end.html" title="Function template _end">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_begin</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_begin</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41338"></a><h2>Description</h2>
|
||||
<a name="id41100"></a><h2>Description</h2>
|
||||
<p>Returns an iterator to the beginning of the entire sequence being parsed. The effect of calling this within a semantic action associated with a skip-parser is undefined </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _end</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_begin.html" title="Function template _begin">
|
||||
<link rel="next" href="_pass.html" title="Function template _pass">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_end</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_end</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41367"></a><h2>Description</h2>
|
||||
<a name="id41124"></a><h2>Description</h2>
|
||||
<p>Returns an iterator to the end of the entire sequence being parsed. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Function template _error_handler</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_globals.html" title="Function template _globals">
|
||||
<link rel="next" href="report_error_idm33470.html" title="Function template _report_error">
|
||||
<link rel="next" href="report_error_id25.html" title="Function template _report_error">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="_globals.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="report_error_idm33470.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="_globals.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="report_error_id25.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser._error_handler"></a><div class="titlepage"></div>
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span>
|
||||
<span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_error_handler</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_error_handler</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41522"></a><h2>Description</h2>
|
||||
<a name="id41254"></a><h2>Description</h2>
|
||||
<p>Returns a reference to the error handler object associated with the top-level parser. Returns <code class="computeroutput">none</code> if there is no associated error handler. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="_globals.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="report_error_idm33470.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="_globals.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="report_error_id25.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _globals</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_params.html" title="Function template _params">
|
||||
<link rel="next" href="_error_handler.html" title="Function template _error_handler">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_globals</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_globals</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41492"></a><h2>Description</h2>
|
||||
<a name="id41229"></a><h2>Description</h2>
|
||||
<p>Returns a reference to the globals object associated with the top-level parser. Returns <code class="computeroutput">none</code> if there is no associated globals object. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _locals</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_pass.html" title="Function template _pass">
|
||||
<link rel="next" href="_params.html" title="Function template _params">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_locals</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_locals</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41427"></a><h2>Description</h2>
|
||||
<a name="id41174"></a><h2>Description</h2>
|
||||
<p>Returns a reference to one or more local values that the bottommost rule is declared to have; multiple values will be stored within a <code class="computeroutput">parser::tuple</code>. Returns <code class="computeroutput">none</code> if there is no bottommost rule, or if that rule has no locals. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global _p</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="trace.html" title="Type trace">
|
||||
<link rel="next" href="Inf.html" title="Global Inf">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> _p<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm36838"></a><h2>Description</h2>
|
||||
<a name="id37024"></a><h2>Description</h2>
|
||||
<p>An invocable that returns the <code class="computeroutput">I</code>th parameter to the bottommost rule. This is useful for forwarding parameters to sub-rules. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _params</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_locals.html" title="Function template _locals">
|
||||
<link rel="next" href="_globals.html" title="Function template _globals">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_params</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_params</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41458"></a><h2>Description</h2>
|
||||
<a name="id41200"></a><h2>Description</h2>
|
||||
<p>Returns a reference to one or more parameters passed to the bottommost rule <code class="computeroutput">r</code>, by using <code class="computeroutput">r</code> as <code class="computeroutput">r.with(param0, param1, ... paramN)</code>; multiple values will be stored within a <code class="computeroutput">parser::tuple</code>. Returns <code class="computeroutput">none</code> if there is no bottommost rule, or if that rule was not given any parameters. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _pass</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_end.html" title="Function template _end">
|
||||
<link rel="next" href="_locals.html" title="Function template _locals">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_pass</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_pass</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41396"></a><h2>Description</h2>
|
||||
<a name="id41148"></a><h2>Description</h2>
|
||||
<p>Returns a reference to a <code class="computeroutput">bool</code> that represents the success or failure of the bottommost parser. You can assign <code class="computeroutput">false</code> to this within a semantic action to force a parser to fail its parse. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Function _val</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="sorted.html" title="Global sorted">
|
||||
<link rel="prev" href="null_term.html" title="Function template null_term">
|
||||
<link rel="next" href="_attr.html" title="Function template _attr">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="sorted.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="_attr.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="null_term.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="_attr.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser._val"></a><div class="titlepage"></div>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_val</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_val</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41246"></a><h2>Description</h2>
|
||||
<a name="id41023"></a><h2>Description</h2>
|
||||
<p>Returns a reference to the attribute(s) (i.e. return value) of the bottommost parser; multiple attributes will be stored within a <code class="computeroutput">parser::tuple</code>. You may write to this value in a semantic action to control what attribute value(s) the associated parser produces. Returns <code class="computeroutput">none</code> if the bottommost parser does produce an attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="sorted.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="_attr.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="null_term.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="_attr.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template _where</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="_attr.html" title="Function template _attr">
|
||||
<link rel="next" href="_begin.html" title="Function template _begin">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_where</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span> decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_where</span><span class="special">(</span>Context const <span class="special">&</span> context<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41308"></a><h2>Description</h2>
|
||||
<a name="id41075"></a><h2>Description</h2>
|
||||
<p>Returns a <code class="computeroutput">subrange</code> that describes the matched range of the bottommost parser. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template action_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="next" href="attr_parser.html" title="Struct template attr_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="action_parser.html" title="Struct template action_parser">action_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40299"></a><h2>Description</h2>
|
||||
<a name="id40096"></a><h2>Description</h2>
|
||||
<p>Applies the given parser <code class="computeroutput">p</code> of type <code class="computeroutput">Parser</code> and an invocable <code class="computeroutput">a</code> of type <code class="computeroutput">Action</code>. <code class="computeroutput">Action</code> shall model <code class="computeroutput">semantic_action</code>, and <code class="computeroutput">a</code> will only be invoked if <code class="computeroutput">p</code> succeeds. The parse succeeds iff <code class="computeroutput">p</code> succeeds. Produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global as_utf16</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/transcode_view_hpp.html" title="Header <boost/parser/transcode_view.hpp>">
|
||||
<link rel="prev" href="as_utf8.html" title="Global as_utf8">
|
||||
<link rel="next" href="as_utf32.html" title="Global as_utf32">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/transcode_view_hpp.html" title="Header <boost/parser/transcode_view.hpp>">boost/parser/transcode_view.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <span class="keyword">auto</span> as_utf16<span class="special">;</span></pre></div>
|
||||
</span>constexpr auto as_utf16<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm45109"></a><h2>Description</h2>
|
||||
<a name="id44533"></a><h2>Description</h2>
|
||||
<p>A view adaptor that produces a <code class="computeroutput"><a class="link" href="utf16_view.html" title="Class template utf16_view">utf16_view</a></code> of the given view. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global as_utf32</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/transcode_view_hpp.html" title="Header <boost/parser/transcode_view.hpp>">
|
||||
<link rel="prev" href="as_utf16.html" title="Global as_utf16">
|
||||
<link rel="next" href="../../header/boost/parser/transform_replace_hpp.html" title="Header <boost/parser/transform_replace.hpp>">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/transcode_view_hpp.html" title="Header <boost/parser/transcode_view.hpp>">boost/parser/transcode_view.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <span class="keyword">auto</span> as_utf32<span class="special">;</span></pre></div>
|
||||
</span>constexpr auto as_utf32<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm45128"></a><h2>Description</h2>
|
||||
<a name="id44549"></a><h2>Description</h2>
|
||||
<p>A view adaptor that produces a <code class="computeroutput"><a class="link" href="utf32_view.html" title="Class template utf32_view">utf32_view</a></code> of the given view. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global as_utf8</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/transcode_view_hpp.html" title="Header <boost/parser/transcode_view.hpp>">
|
||||
<link rel="prev" href="utf8_view.html" title="Class template utf8_view">
|
||||
<link rel="next" href="as_utf16.html" title="Global as_utf16">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/transcode_view_hpp.html" title="Header <boost/parser/transcode_view.hpp>">boost/parser/transcode_view.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <span class="keyword">auto</span> as_utf8<span class="special">;</span></pre></div>
|
||||
</span>constexpr auto as_utf8<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm45090"></a><h2>Description</h2>
|
||||
<a name="id44517"></a><h2>Description</h2>
|
||||
<p>A view adaptor that produces a <code class="computeroutput"><a class="link" href="utf8_view.html" title="Class template utf8_view">utf8_view</a></code> of the given view. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Function template attr</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="transform.html" title="Function template transform">
|
||||
<link rel="next" href="lit_idm32280.html" title="Function lit">
|
||||
<link rel="next" href="lit_id9.html" title="Function lit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="transform.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_idm32280.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="transform.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_id9.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.attr"></a><div class="titlepage"></div>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Attribute<span class="special">></span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">attr</span><span class="special">(</span><span class="identifier">Attribute</span> a<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Attribute<span class="special">></span> constexpr auto <span class="identifier">attr</span><span class="special">(</span>Attribute a<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37996"></a><h2>Description</h2>
|
||||
<a name="id38057"></a><h2>Description</h2>
|
||||
<p>Returns an <code class="computeroutput"><code class="computeroutput"><a class="link" href="attr_parser.html" title="Struct template attr_parser">attr_parser</a></code></code> which matches anything, and consumes no input, and which produces <code class="computeroutput">a</code> as its attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="transform.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_idm32280.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="transform.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_id9.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template attr_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="action_parser.html" title="Struct template action_parser">
|
||||
<link rel="next" href="callback_rule.html" title="Struct template callback_rule">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="attr_parser.html" title="Struct template attr_parser">attr_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40331"></a><h2>Description</h2>
|
||||
<a name="id40127"></a><h2>Description</h2>
|
||||
<p>Matches anything, consumes no input, and produces an attribute of type <code class="computeroutput">RESOLVE(Attribute)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Struct template attribute</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="literals/operator_p_idm31812.html" title='Function operator""_p'>
|
||||
<link rel="prev" href="literals/operator_p_id96.html" title='Function operator""_p'>
|
||||
<link rel="next" href="delimited_seq_parser.html" title="Struct template delimited_seq_parser">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="literals/operator_p_idm31812.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="delimited_seq_parser.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="literals/operator_p_id96.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="delimited_seq_parser.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.attribute"></a><div class="titlepage"></div>
|
||||
@@ -30,7 +30,7 @@
|
||||
<span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.parser.attribute.type"></a><span class="identifier">type</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31983"></a><h2>Description</h2>
|
||||
<a name="id32689"></a><h2>Description</h2>
|
||||
<p>A type trait that evaluates to the attribute type for parser <code class="computeroutput">Parser</code> used to parse range <code class="computeroutput">R</code>, as if by calling <code class="computeroutput">parse(r, parser)</code>, using some <code class="computeroutput">R r</code> and <code class="computeroutput">Parser parser</code>. Note that this implies that pointers to null-terminated strings are supported types for <code class="computeroutput">R</code>. The result is not wrapped in a <code class="computeroutput">std::optional</code> like the result of a call to <code class="computeroutput">parse()</code> would be. If <code class="computeroutput">Parser</code> produces no attribute, the result is the no-attribute sentinel type <code class="computeroutput">none</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="literals/operator_p_idm31812.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="delimited_seq_parser.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="literals/operator_p_id96.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="delimited_seq_parser.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Type definition attribute_t</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="null_sentinel_t.html" title="Type definition null_sentinel_t">
|
||||
<link rel="next" href="enable_optional.html" title="Global enable_optional">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="link" href="attribute.html" title="Struct template attribute">attribute</a><span class="special"><</span> <span class="identifier">R</span><span class="special">,</span> <span class="identifier">Parser</span> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">attribute_t</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">typedef</span> typename <a class="link" href="attribute.html" title="Struct template attribute">attribute</a><span class="special"><</span> R<span class="special">,</span> Parser <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">attribute_t</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41170"></a><h2>Description</h2>
|
||||
<a name="id40936"></a><h2>Description</h2>
|
||||
<p>An alias for <code class="computeroutput">typename attribute<R, Parser>::type</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global bin</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="bool_.html" title="Global bool_">
|
||||
<link rel="next" href="oct.html" title="Global oct">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="uint_parser.html" title="Struct template uint_parser">uint_parser</a><span class="special"><</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="number">2</span> <span class="special">></span> <span class="special">></span> bin<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="uint_parser.html" title="Struct template uint_parser">uint_parser</a><span class="special"><</span> unsigned int<span class="special">,</span> <span class="number">2</span> <span class="special">></span> <span class="special">></span> bin<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37437"></a><h2>Description</h2>
|
||||
<a name="id37568"></a><h2>Description</h2>
|
||||
<p>The binary unsigned integer parser. Produces an <code class="computeroutput">unsigned int</code> attribute. To parse a particular value <code class="computeroutput">x</code>, use <code class="computeroutput">bin(x)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global blank</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="ws.html" title="Global ws">
|
||||
<link rel="next" href="digit.html" title="Global digit">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="ws_parser.html" title="Struct template ws_parser">ws_parser</a><span class="special"><</span> <span class="keyword">false</span><span class="special">,</span> <span class="keyword">true</span> <span class="special">></span> <span class="special">></span> blank<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="ws_parser.html" title="Struct template ws_parser">ws_parser</a><span class="special"><</span> false<span class="special">,</span> true <span class="special">></span> <span class="special">></span> blank<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37282"></a><h2>Description</h2>
|
||||
<a name="id37428"></a><h2>Description</h2>
|
||||
<p>The whitespace parser that does not match end-of-line. This matches any one of the Unicode code points with the White_Space property, as defined in <a href="https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt" target="_top">https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt</a>, except for the ones matched by <code class="computeroutput">eol</code>. Produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global bool_</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="upper.html" title="Global upper">
|
||||
<link rel="next" href="bin.html" title="Global bin">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">bool_parser</span> <span class="special">></span> bool_<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> bool_parser <span class="special">></span> bool_<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37409"></a><h2>Description</h2>
|
||||
<a name="id37544"></a><h2>Description</h2>
|
||||
<p>The Boolean parser. Parses "true" and "false", producing attributes <code class="computeroutput">true</code> and <code class="computeroutput">false</code>, respectively, and fails on any other input. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct callback_error_handler</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_hpp.html" title="Header <boost/parser/error_handling.hpp>">
|
||||
<link rel="prev" href="../../header/boost/parser/error_handling_hpp.html" title="Header <boost/parser/error_handling.hpp>">
|
||||
<link rel="next" href="rethrow_error_handler.html" title="Struct rethrow_error_handler">
|
||||
@@ -26,24 +26,24 @@
|
||||
</span>
|
||||
<span class="keyword">struct</span> <a class="link" href="callback_error_handler.html" title="Struct callback_error_handler">callback_error_handler</a> <span class="special">{</span>
|
||||
<span class="comment">// types</span>
|
||||
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">function</span><span class="special"><</span> <span class="keyword">void</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">></span> <a name="boost.parser.callback_error_handler.callback_type"></a><span class="identifier">callback_type</span><span class="special">;</span>
|
||||
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">function</span><span class="special"><</span> void<span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> const <span class="special">&</span><span class="special">)</span><span class="special">></span> <a name="boost.parser.callback_error_handler.callback_type"></a><span class="identifier">callback_type</span><span class="special">;</span>
|
||||
|
||||
<span class="comment">// <a class="link" href="callback_error_handler.html#boost.parser.callback_error_handlerconstruct-copy-destruct">construct/copy/destruct</a></span>
|
||||
<a class="link" href="callback_error_handler.html#idm30048-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
|
||||
<a class="link" href="callback_error_handler.html#idm30049-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="identifier">callback_type</span><span class="special">,</span> <span class="identifier">callback_type</span> <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
|
||||
<a class="link" href="callback_error_handler.html#idm30055-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">callback_type</span><span class="special">,</span>
|
||||
<a class="link" href="callback_error_handler.html#id36-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
|
||||
<a class="link" href="callback_error_handler.html#id37-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="identifier">callback_type</span><span class="special">,</span> <span class="identifier">callback_type</span> <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
|
||||
<a class="link" href="callback_error_handler.html#id38-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">callback_type</span><span class="special">,</span>
|
||||
<span class="identifier">callback_type</span> <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
|
||||
<a class="link" href="callback_error_handler.html#idm30063-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring_view</span><span class="special">,</span> <span class="identifier">callback_type</span><span class="special">,</span>
|
||||
<a class="link" href="callback_error_handler.html#id39-bb"><span class="identifier">callback_error_handler</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring_view</span><span class="special">,</span> <span class="identifier">callback_type</span><span class="special">,</span>
|
||||
<span class="identifier">callback_type</span> <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
|
||||
|
||||
<span class="comment">// <a class="link" href="callback_error_handler.html#idm30012-bb">public member functions</a></span>
|
||||
<span class="comment">// <a class="link" href="callback_error_handler.html#id40-bb">public member functions</a></span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">></span>
|
||||
<span class="identifier">error_handler_result</span>
|
||||
<a class="link" href="callback_error_handler.html#idm30013-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">Iter</span><span class="special">,</span> <span class="identifier">Sentinel</span><span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> <span class="identifier">Iter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<a class="link" href="callback_error_handler.html#id41-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span>Iter<span class="special">,</span> Sentinel<span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> Iter <span class="special">></span> const <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">></span>
|
||||
<span class="keyword">void</span> <a class="link" href="callback_error_handler.html#idm30025-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Iter</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
void <a class="link" href="callback_error_handler.html#id42-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> Context const <span class="special">&</span><span class="special">,</span> Iter<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span>
|
||||
<span class="keyword">void</span> <a class="link" href="callback_error_handler.html#idm30038-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
void <a class="link" href="callback_error_handler.html#id43-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> Context const <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
|
||||
<span class="comment">// public data members</span>
|
||||
<span class="identifier">callback_type</span> <span class="identifier">error_</span><span class="special">;</span>
|
||||
@@ -51,39 +51,39 @@
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">filename_</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm28348"></a><h2>Description</h2>
|
||||
<a name="id29549"></a><h2>Description</h2>
|
||||
<p>An error handler that allows users to supply callbacks to handle the reporting of warnings and errors. The reporting of errors and/or warnings can be suppressed by supplying one or both default-constructed callbacks. </p>
|
||||
<div class="refsect2">
|
||||
<a name="idm28351"></a><h3>
|
||||
<a name="id29552"></a><h3>
|
||||
<a name="boost.parser.callback_error_handlerconstruct-copy-destruct"></a><code class="computeroutput">callback_error_handler</code>
|
||||
public
|
||||
construct/copy/destruct</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1">
|
||||
<li class="listitem"><pre class="literallayout"><a name="idm30048-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
|
||||
<li class="listitem"><pre class="literallayout"><a name="idm30049-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="identifier">callback_type</span> error<span class="special">,</span>
|
||||
<li class="listitem"><pre class="literallayout"><a name="id36-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
|
||||
<li class="listitem"><pre class="literallayout"><a name="id37-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="identifier">callback_type</span> error<span class="special">,</span>
|
||||
<span class="identifier">callback_type</span> warning <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></li>
|
||||
<li class="listitem"><pre class="literallayout"><a name="idm30055-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> filename<span class="special">,</span> <span class="identifier">callback_type</span> error<span class="special">,</span>
|
||||
<li class="listitem"><pre class="literallayout"><a name="id38-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> filename<span class="special">,</span> <span class="identifier">callback_type</span> error<span class="special">,</span>
|
||||
<span class="identifier">callback_type</span> warning <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></li>
|
||||
<li class="listitem">
|
||||
<pre class="literallayout"><a name="idm30063-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring_view</span> filename<span class="special">,</span> <span class="identifier">callback_type</span> error<span class="special">,</span>
|
||||
<pre class="literallayout"><a name="id39-bb"></a><span class="identifier">callback_error_handler</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring_view</span> filename<span class="special">,</span> <span class="identifier">callback_type</span> error<span class="special">,</span>
|
||||
<span class="identifier">callback_type</span> warning <span class="special">=</span> <span class="identifier">callback_type</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre>
|
||||
<p>This overload is Windows-only. </p>
|
||||
</li>
|
||||
</ol></div>
|
||||
</div>
|
||||
<div class="refsect2">
|
||||
<a name="idm28418"></a><h3>
|
||||
<a name="idm30012-bb"></a><code class="computeroutput">callback_error_handler</code> public member functions</h3>
|
||||
<a name="id29619"></a><h3>
|
||||
<a name="id40-bb"></a><code class="computeroutput">callback_error_handler</code> public member functions</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1">
|
||||
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">></span>
|
||||
<span class="identifier">error_handler_result</span>
|
||||
<a name="idm30013-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">Iter</span> first<span class="special">,</span> <span class="identifier">Sentinel</span> last<span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> <span class="identifier">Iter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> e<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
|
||||
<a name="id41-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span>Iter first<span class="special">,</span> Sentinel last<span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> Iter <span class="special">></span> const <span class="special">&</span> e<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
|
||||
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">></span>
|
||||
<span class="keyword">void</span> <a name="idm30025-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">,</span> <span class="identifier">Iter</span> it<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
|
||||
void <a name="id42-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
Context const <span class="special">&</span> context<span class="special">,</span> Iter it<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
|
||||
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span>
|
||||
<span class="keyword">void</span> <a name="idm30038-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
|
||||
void <a name="id43-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
Context const <span class="special">&</span> context<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
|
||||
</ol></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function template callback_parse</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="callback_prefix_p_idm32821.html" title="Function template callback_prefix_parse">
|
||||
<link rel="next" href="callback_prefix_p_idm32903.html" title="Function template callback_prefix_parse">
|
||||
<link rel="prev" href="callback_prefix_parse_id19.html" title="Function template callback_prefix_parse">
|
||||
<link rel="next" href="callback_prefix_parse_id20.html" title="Function template callback_prefix_parse">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="callback_prefix_p_idm32821.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_prefix_p_idm32903.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="callback_prefix_parse_id19.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_prefix_parse_id20.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.callback_parse_idm32861"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.callback_parse_id6"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function template callback_parse</span></h2>
|
||||
<p>boost::parser::callback_parse</p>
|
||||
@@ -24,14 +24,14 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_range_like</span> R<span class="special">,</span> <span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">typename</span> GlobalState<span class="special">,</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_range</span> R<span class="special">,</span> <span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">typename</span> GlobalState<span class="special">,</span>
|
||||
<span class="keyword">typename</span> ErrorHandler<span class="special">,</span> <span class="keyword">typename</span> Callbacks<span class="special">></span>
|
||||
<span class="keyword">bool</span> <span class="identifier">callback_parse</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span> <span class="special">&</span> r<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> parser<span class="special">,</span>
|
||||
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
bool <span class="identifier">callback_parse</span><span class="special">(</span>R const <span class="special">&</span> r<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">></span> const <span class="special">&</span> parser<span class="special">,</span>
|
||||
Callbacks const <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
<span class="identifier">trace</span> trace_mode <span class="special">=</span> <span class="identifier">trace</span><span class="special">::</span><span class="identifier">off</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm39458"></a><h2>Description</h2>
|
||||
<a name="id39330"></a><h2>Description</h2>
|
||||
<p>Parses <code class="computeroutput">r</code> using <code class="computeroutput">parser</code>, and returns whether the parse was successful. The entire input range <code class="computeroutput">r</code> must be consumed for the parse to be considered successful. When a callback rule <code class="computeroutput">r</code> is successful during the parse, one of two things happens: 1) if <code class="computeroutput">r</code> has an attribute, <code class="computeroutput">callbacks(tag, x)</code> will be called (where <code class="computeroutput">tag</code> is <code class="computeroutput">decltype(r)::tag_type{}</code>, and <code class="computeroutput">x</code> is the attribute produced by <code class="computeroutput">r</code>); or 2) if <code class="computeroutput">r</code> has no attribute, <code class="computeroutput">callbacks(tag)</code> will be called. <code class="computeroutput">Callbacks</code> is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If <code class="computeroutput">trace_mode == trace::on</code>, a verbose trace of the parse will be streamed to <code class="computeroutput">std::cout</code>.</p>
|
||||
<p>
|
||||
</p>
|
||||
@@ -63,7 +63,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="callback_prefix_p_idm32821.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_prefix_p_idm32903.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="callback_prefix_parse_id19.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_prefix_parse_id20.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function template callback_parse</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="callback_prefix_p_idm32903.html" title="Function template callback_prefix_parse">
|
||||
<link rel="prev" href="callback_prefix_parse_id20.html" title="Function template callback_prefix_parse">
|
||||
<link rel="next" href="../../BOOST_PARSER_DEFINE_RULES.html" title="Macro BOOST_PARSER_DEFINE_RULES">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="callback_prefix_p_idm32903.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_PARSER_DEFINE_RULES.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="callback_prefix_parse_id20.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_PARSER_DEFINE_RULES.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.callback_parse_idm32948"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.callback_parse_id7"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function template callback_parse</span></h2>
|
||||
<p>boost::parser::callback_parse</p>
|
||||
@@ -24,15 +24,15 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_range_like</span> R<span class="special">,</span> <span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">typename</span> GlobalState<span class="special">,</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_range</span> R<span class="special">,</span> <span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">typename</span> GlobalState<span class="special">,</span>
|
||||
<span class="keyword">typename</span> ErrorHandler<span class="special">,</span> <span class="keyword">typename</span> SkipParser<span class="special">,</span> <span class="keyword">typename</span> Callbacks<span class="special">></span>
|
||||
<span class="keyword">bool</span> <span class="identifier">callback_parse</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span> <span class="special">&</span> r<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> parser<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">SkipParser</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> skip<span class="special">,</span>
|
||||
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
bool <span class="identifier">callback_parse</span><span class="special">(</span>R const <span class="special">&</span> r<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">></span> const <span class="special">&</span> parser<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> SkipParser <span class="special">></span> const <span class="special">&</span> skip<span class="special">,</span>
|
||||
Callbacks const <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
<span class="identifier">trace</span> trace_mode <span class="special">=</span> <span class="identifier">trace</span><span class="special">::</span><span class="identifier">off</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm39645"></a><h2>Description</h2>
|
||||
<a name="id39495"></a><h2>Description</h2>
|
||||
<p>Parses <code class="computeroutput">r</code> using <code class="computeroutput">parser</code>, skipping all input recognized by <code class="computeroutput">skip</code> between the application of any two parsers, and returns whether the parse was successful. The entire input range <code class="computeroutput">r</code> must be consumed for the parse to be considered successful. When a callback rule <code class="computeroutput">r</code> is successful during the parse, one of two things happens: 1) if <code class="computeroutput">r</code> has an attribute, <code class="computeroutput">callbacks(tag, x)</code> will be called (where <code class="computeroutput">tag</code> is <code class="computeroutput">decltype(r)::tag_type{}</code>, and <code class="computeroutput">x</code> is the attribute produced by <code class="computeroutput">r</code>); or 2) if <code class="computeroutput">r</code> has no attribute, <code class="computeroutput">callbacks(tag)</code> will be called. <code class="computeroutput">Callbacks</code> is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If <code class="computeroutput">trace_mode == trace::on</code>, a verbose trace of the parse will be streamed to <code class="computeroutput">std::cout</code>.</p>
|
||||
<p>
|
||||
</p>
|
||||
@@ -64,7 +64,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="callback_prefix_p_idm32903.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_PARSER_DEFINE_RULES.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="callback_prefix_parse_id20.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_PARSER_DEFINE_RULES.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function template callback_prefix_parse</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="parse_idm32784.html" title="Function template parse">
|
||||
<link rel="next" href="callback_parse_idm32861.html" title="Function template callback_parse">
|
||||
<link rel="prev" href="parse_id5.html" title="Function template parse">
|
||||
<link rel="next" href="callback_parse_id6.html" title="Function template callback_parse">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="parse_idm32784.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_idm32861.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="parse_id5.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_id6.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.callback_prefix_p_idm32821"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.callback_prefix_parse_id19"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function template callback_prefix_parse</span></h2>
|
||||
<p>boost::parser::callback_prefix_parse</p>
|
||||
@@ -27,12 +27,12 @@
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_iter</span> I<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">sentinel_for</span><span class="special"><</span> <span class="identifier">I</span> <span class="special">></span> S<span class="special">,</span> <span class="keyword">typename</span> Parser<span class="special">,</span>
|
||||
<span class="keyword">typename</span> GlobalState<span class="special">,</span>
|
||||
<span class="identifier">error_handler</span><span class="special"><</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">S</span><span class="special">,</span> <span class="identifier">GlobalState</span> <span class="special">></span> ErrorHandler<span class="special">,</span> <span class="keyword">typename</span> Callbacks<span class="special">></span>
|
||||
<span class="keyword">bool</span> <span class="identifier">callback_prefix_parse</span><span class="special">(</span><span class="identifier">I</span> <span class="special">&</span> first<span class="special">,</span> <span class="identifier">S</span> last<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> parser<span class="special">,</span>
|
||||
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
bool <span class="identifier">callback_prefix_parse</span><span class="special">(</span><span class="identifier">I</span> <span class="special">&</span> first<span class="special">,</span> <span class="identifier">S</span> last<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">></span> const <span class="special">&</span> parser<span class="special">,</span>
|
||||
Callbacks const <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
<span class="identifier">trace</span> trace_mode <span class="special">=</span> <span class="identifier">trace</span><span class="special">::</span><span class="identifier">off</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm39389"></a><h2>Description</h2>
|
||||
<a name="id39271"></a><h2>Description</h2>
|
||||
<p>Parses <code class="computeroutput">[first, last)</code> using <code class="computeroutput">parser</code>, and returns whether the parse was successful. When a callback rule <code class="computeroutput">r</code> is successful during the parse, one of two things happens: 1) if <code class="computeroutput">r</code> has an attribute, <code class="computeroutput">callbacks(tag, x)</code> will be called (where <code class="computeroutput">tag</code> is <code class="computeroutput">decltype(r)::tag_type{}</code>, and <code class="computeroutput">x</code> is the attribute produced by <code class="computeroutput">r</code>); or 2) if <code class="computeroutput">r</code> has no attribute, <code class="computeroutput">callbacks(tag)</code> will be called. <code class="computeroutput">Callbacks</code> is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If <code class="computeroutput">trace_mode == trace::on</code>, a verbose trace of the parse will be streamed to <code class="computeroutput">std::cout</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="parse_idm32784.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_idm32861.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="parse_id5.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_id6.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function template callback_prefix_parse</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="callback_parse_idm32861.html" title="Function template callback_parse">
|
||||
<link rel="next" href="callback_parse_idm32948.html" title="Function template callback_parse">
|
||||
<link rel="prev" href="callback_parse_id6.html" title="Function template callback_parse">
|
||||
<link rel="next" href="callback_parse_id7.html" title="Function template callback_parse">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="callback_parse_idm32861.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_idm32948.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="callback_parse_id6.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_id7.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.callback_prefix_p_idm32903"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.callback_prefix_parse_id20"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function template callback_prefix_parse</span></h2>
|
||||
<p>boost::parser::callback_prefix_parse</p>
|
||||
@@ -28,13 +28,13 @@
|
||||
<span class="keyword">typename</span> GlobalState<span class="special">,</span>
|
||||
<span class="identifier">error_handler</span><span class="special"><</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">S</span><span class="special">,</span> <span class="identifier">GlobalState</span> <span class="special">></span> ErrorHandler<span class="special">,</span> <span class="keyword">typename</span> SkipParser<span class="special">,</span>
|
||||
<span class="keyword">typename</span> Callbacks<span class="special">></span>
|
||||
<span class="keyword">bool</span> <span class="identifier">callback_prefix_parse</span><span class="special">(</span><span class="identifier">I</span> <span class="special">&</span> first<span class="special">,</span> <span class="identifier">S</span> last<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> parser<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">SkipParser</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> skip<span class="special">,</span>
|
||||
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
bool <span class="identifier">callback_prefix_parse</span><span class="special">(</span><span class="identifier">I</span> <span class="special">&</span> first<span class="special">,</span> <span class="identifier">S</span> last<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">></span> const <span class="special">&</span> parser<span class="special">,</span>
|
||||
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> SkipParser <span class="special">></span> const <span class="special">&</span> skip<span class="special">,</span>
|
||||
Callbacks const <span class="special">&</span> callbacks<span class="special">,</span>
|
||||
<span class="identifier">trace</span> trace_mode <span class="special">=</span> <span class="identifier">trace</span><span class="special">::</span><span class="identifier">off</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm39566"></a><h2>Description</h2>
|
||||
<a name="id39428"></a><h2>Description</h2>
|
||||
<p>Parses <code class="computeroutput">[first, last)</code> using <code class="computeroutput">parser</code>, skipping all input recognized by <code class="computeroutput">skip</code> between the application of any two parsers, and returns whether the parse was successful. When a callback rule <code class="computeroutput">r</code> is successful during the parse, one of two things happens: 1) if <code class="computeroutput">r</code> has an attribute, <code class="computeroutput">callbacks(tag, x)</code> will be called (where <code class="computeroutput">tag</code> is <code class="computeroutput">decltype(r)::tag_type{}</code>, and <code class="computeroutput">x</code> is the attribute produced by <code class="computeroutput">r</code>); or 2) if <code class="computeroutput">r</code> has no attribute, <code class="computeroutput">callbacks(tag)</code> will be called. <code class="computeroutput">Callbacks</code> is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If <code class="computeroutput">trace_mode == trace::on</code>, a verbose trace of the parse will be streamed to <code class="computeroutput">std::cout</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="callback_parse_idm32861.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_idm32948.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="callback_parse_id6.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="callback_parse_id7.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template callback_rule</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="attr_parser.html" title="Struct template attr_parser">
|
||||
<link rel="next" href="char_parser.html" title="Struct template char_parser">
|
||||
@@ -29,7 +29,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="callback_rule.html" title="Struct template callback_rule">callback_rule</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40367"></a><h2>Description</h2>
|
||||
<a name="id40162"></a><h2>Description</h2>
|
||||
<p>A type used to declare named parsing rules that support reporting of attributes via callback. The <code class="computeroutput">TagType</code> template parameter is used to associate a particular <code class="computeroutput">rule</code> with the <code class="computeroutput"><a class="link" href="rule_parser.html" title="Struct template rule_parser">rule_parser</a></code> used during parsing. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global char_</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="eoi.html" title="Global eoi">
|
||||
<link rel="next" href="cp.html" title="Global cp">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> char_<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37133"></a><h2>Description</h2>
|
||||
<a name="id37295"></a><h2>Description</h2>
|
||||
<p>The single-character parser. The produced attribute is the type of the matched code point (<code class="computeroutput">char</code> or <code class="computeroutput">char32_t</code>). Used as-is, <code class="computeroutput">char_</code> matches any code point. <code class="computeroutput">char_</code> can also can be used to create code point parsers that match one or more specific code point values, by calling it with: a single value comparable to a code point; a closed range of code point values <code class="computeroutput">[lo, hi]</code>, or a set of code point values passed as a range. When calling with a range, only the iterators that bound the range are stored. Make sure the range you pass outlives the use of the resulting parser. Note that a string literal is a range, and that it outlives any parser it is used to construct. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template char_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="callback_rule.html" title="Struct template callback_rule">
|
||||
<link rel="next" href="char_set_parser.html" title="Struct template char_set_parser">
|
||||
@@ -23,11 +23,11 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Expected<span class="special">,</span> <span class="keyword">typename</span> AttributeType <span class="special">=</span> <span class="keyword">void</span><span class="special">></span>
|
||||
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Expected<span class="special">,</span> <span class="keyword">typename</span> AttributeType <span class="special">=</span> <a class="link" href="parse_error.html" title="Struct template parse_error">void</a><span class="special">></span>
|
||||
<span class="keyword">struct</span> <a class="link" href="char_parser.html" title="Struct template char_parser">char_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40398"></a><h2>Description</h2>
|
||||
<a name="id40192"></a><h2>Description</h2>
|
||||
<p>Matches a single code point. If <code class="computeroutput">AttributeType</code> is not <code class="computeroutput">void</code>, <code class="computeroutput">AttributeType</code> is the attribute type produced; otherwise, the attribute type is the decayed type of the matched code point. The parse fails only if the parser is constructed with a specific set of expected code point values that does not include the matched code point. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template char_set_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="char_parser.html" title="Struct template char_parser">
|
||||
<link rel="next" href="char_subrange_parser.html" title="Struct template char_subrange_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="char_set_parser.html" title="Struct template char_set_parser">char_set_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40424"></a><h2>Description</h2>
|
||||
<a name="id40217"></a><h2>Description</h2>
|
||||
<p>Matches a single code point that is equal to one of the code points associated with tag type <code class="computeroutput">Tag</code>. This is used to create sets of characters for matching Unicode character classes like punctuation or lower case. Attribute type is the attribute type of the character being matched. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template char_subrange_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="char_set_parser.html" title="Struct template char_set_parser">
|
||||
<link rel="next" href="eps_parser.html" title="Struct template eps_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="char_subrange_parser.html" title="Struct template char_subrange_parser">char_subrange_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40448"></a><h2>Description</h2>
|
||||
<a name="id40240"></a><h2>Description</h2>
|
||||
<p>Matches a single code point that falls into one of the subranges of code points associated with tag type <code class="computeroutput">Tag</code>. This is used to create sets of characters for matching Unicode character classes like hex digits or control characters. Attribute type is the attribute type of the character being matched. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global control</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="hex_digit.html" title="Global hex_digit">
|
||||
<link rel="next" href="punct.html" title="Global punct">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> control<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37338"></a><h2>Description</h2>
|
||||
<a name="id37479"></a><h2>Description</h2>
|
||||
<p>The control character parser. Matches the all Unicode code points with the "Cc" ("control character") character property. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global cp</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="char_.html" title="Global char_">
|
||||
<link rel="next" href="cu.html" title="Global cu">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> cp<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37155"></a><h2>Description</h2>
|
||||
<a name="id37316"></a><h2>Description</h2>
|
||||
<p>The code point parser. It produces a <code class="computeroutput">char32_t</code> attribute. Used as-is, <code class="computeroutput">cp</code> matches any code point. <code class="computeroutput">cp</code> can also can be used to create code point parsers that match one or more specific code point values, by calling it with: a single value comparable to a code point; a closed range of code point values <code class="computeroutput">[lo, hi]</code>, or a set of code point values passed as a range. When calling with a range, only the iterators that bound the range are stored. Make sure the range you pass outlives the use of the resulting parser. Note that a string literal is a range, and that it outlives any parser it is used to construct. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global cu</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="cp.html" title="Global cp">
|
||||
<link rel="next" href="quoted_string.html" title="Global quoted_string">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> cu<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37176"></a><h2>Description</h2>
|
||||
<a name="id37336"></a><h2>Description</h2>
|
||||
<p>The code unit parser. It produces a <code class="computeroutput">char</code> attribute. Used as-is, <code class="computeroutput">cu</code> matches any code point. <code class="computeroutput">cu</code> can also can be used to create code point parsers that match one or more specific code point values, by calling it with: a single value comparable to a code point; a closed range of code point values <code class="computeroutput">[lo, hi]</code>, or a set of code point values passed as a range. When calling with a range, only the iterators that bound the range are stored. Make sure the range you pass outlives the use of the resulting parser. Note that a string literal is a range, and that it outlives any parser it is used to construct. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct default_error_handler</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header <boost/parser/error_handling_fwd.hpp>">
|
||||
<link rel="prev" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header <boost/parser/error_handling_fwd.hpp>">
|
||||
<link rel="next" href="line_position.html" title="Struct template line_position">
|
||||
@@ -26,47 +26,47 @@
|
||||
</span>
|
||||
<span class="keyword">struct</span> <a class="link" href="default_error_handler.html" title="Struct default_error_handler">default_error_handler</a> <span class="special">{</span>
|
||||
<span class="comment">// <a class="link" href="default_error_handler.html#boost.parser.default_error_handlerconstruct-copy-destruct">construct/copy/destruct</a></span>
|
||||
<a class="link" href="default_error_handler.html#idm30264-bb"><span class="identifier">default_error_handler</span></a><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
|
||||
<a class="link" href="default_error_handler.html#id53-bb"><span class="identifier">default_error_handler</span></a><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
|
||||
|
||||
<span class="comment">// <a class="link" href="default_error_handler.html#idm30211-bb">public member functions</a></span>
|
||||
<span class="comment">// <a class="link" href="default_error_handler.html#id54-bb">public member functions</a></span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">></span>
|
||||
<span class="identifier">error_handler_result</span>
|
||||
<a class="link" href="default_error_handler.html#idm30212-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">Iter</span><span class="special">,</span> <span class="identifier">Sentinel</span><span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> <span class="identifier">Iter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<a class="link" href="default_error_handler.html#id55-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span>Iter<span class="special">,</span> Sentinel<span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> Iter <span class="special">></span> const <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">></span>
|
||||
<span class="keyword">void</span> <a class="link" href="default_error_handler.html#idm30230-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Iter</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
void <a class="link" href="default_error_handler.html#id56-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> Context const <span class="special">&</span><span class="special">,</span> Iter<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span>
|
||||
<span class="keyword">void</span> <a class="link" href="default_error_handler.html#idm30249-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
void <a class="link" href="default_error_handler.html#id57-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> Context const <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm29151"></a><h2>Description</h2>
|
||||
<a name="id30272"></a><h2>Description</h2>
|
||||
<p>The error handler used when the user does not specify a custom one. This error handler prints warnings and errors to <code class="computeroutput">std::cerr</code>, and does not have an associcated filename. </p>
|
||||
<div class="refsect2">
|
||||
<a name="idm29155"></a><h3>
|
||||
<a name="id30276"></a><h3>
|
||||
<a name="boost.parser.default_error_handlerconstruct-copy-destruct"></a><code class="computeroutput">default_error_handler</code>
|
||||
public
|
||||
construct/copy/destruct</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="idm30264-bb"></a><span class="identifier">default_error_handler</span><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li></ol></div>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="id53-bb"></a><span class="identifier">default_error_handler</span><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li></ol></div>
|
||||
</div>
|
||||
<div class="refsect2">
|
||||
<a name="idm29170"></a><h3>
|
||||
<a name="idm30211-bb"></a><code class="computeroutput">default_error_handler</code> public member functions</h3>
|
||||
<a name="id30291"></a><h3>
|
||||
<a name="id54-bb"></a><code class="computeroutput">default_error_handler</code> public member functions</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1">
|
||||
<li class="listitem">
|
||||
<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">></span>
|
||||
<span class="identifier">error_handler_result</span>
|
||||
<a name="idm30212-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">Iter</span> first<span class="special">,</span> <span class="identifier">Sentinel</span> last<span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> <span class="identifier">Iter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> e<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
|
||||
<a name="id55-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span>Iter first<span class="special">,</span> Sentinel last<span class="special">,</span> <a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a><span class="special"><</span> Iter <span class="special">></span> const <span class="special">&</span> e<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
|
||||
<p>Handles a <code class="computeroutput"><code class="computeroutput"><a class="link" href="parse_error.html" title="Struct template parse_error">parse_error</a></code></code> exception thrown during parsing. A formatted parse-expectation failure is printed to <code class="computeroutput">std::cerr</code>. Always returns <code class="computeroutput">error_handler_result::fail</code>. </p>
|
||||
</li>
|
||||
<li class="listitem">
|
||||
<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">></span>
|
||||
<span class="keyword">void</span> <a name="idm30230-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">,</span> <span class="identifier">Iter</span> it<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
|
||||
void <a name="id56-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
Context const <span class="special">&</span> context<span class="special">,</span> Iter it<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
|
||||
<p>Prints <code class="computeroutput">message</code> to <code class="computeroutput">std::cerr</code>. The diagnostic is printed with the given <code class="computeroutput">kind</code>, indicating the location as being at <code class="computeroutput">it</code>. This must be called within a parser semantic action, providing the parse context. </p>
|
||||
</li>
|
||||
<li class="listitem">
|
||||
<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Context<span class="special">></span>
|
||||
<span class="keyword">void</span> <a name="idm30249-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&</span> context<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
|
||||
void <a name="id57-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
|
||||
Context const <span class="special">&</span> context<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
|
||||
<p>Prints <code class="computeroutput">message</code> to <code class="computeroutput">std::cerr</code>. The diagnostic is printed with the given <code class="computeroutput">kind</code>, at no particular location. This must be called within a parser semantic action, providing the parse context. </p>
|
||||
</li>
|
||||
</ol></div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template delimited_seq_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="attribute.html" title="Struct template attribute">
|
||||
<link rel="next" href="directive.html" title="Struct template directive">
|
||||
@@ -28,17 +28,17 @@
|
||||
<span class="keyword">public</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parser</span><span class="special">::</span><span class="identifier">repeat_parser</span><span class="special"><</span> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">DelimiterParser</span> <span class="special">></span>
|
||||
<span class="special">{</span>
|
||||
<span class="comment">// <a class="link" href="delimited_seq_parser.html#boost.parser.delimited_seq_parserconstruct-copy-destruct">construct/copy/destruct</a></span>
|
||||
<a class="link" href="delimited_seq_parser.html#idm30503-bb"><span class="identifier">delimited_seq_parser</span></a><span class="special">(</span><span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">DelimiterParser</span><span class="special">)</span><span class="special">;</span>
|
||||
<a class="link" href="delimited_seq_parser.html#id97-bb"><span class="identifier">delimited_seq_parser</span></a><span class="special">(</span>Parser<span class="special">,</span> DelimiterParser<span class="special">)</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm32040"></a><h2>Description</h2>
|
||||
<a name="id32743"></a><h2>Description</h2>
|
||||
<p>Repeats the application of another parser <code class="computeroutput">p</code> of type <code class="computeroutput">Parser</code>, <code class="computeroutput">[1, Inf)</code> times, applying a parser <code class="computeroutput">d</code> of type <code class="computeroutput">DelimiterParser</code> in between each pair of applications of <code class="computeroutput">p</code>. The parse succeeds iff <code class="computeroutput">p</code> succeeds at least once, and <code class="computeroutput">d</code> succeeds each time it is applied. The attribute produced is a sequence of the type of attribute produced by <code class="computeroutput">Parser</code>. </p>
|
||||
<div class="refsect2">
|
||||
<a name="idm32052"></a><h3>
|
||||
<a name="id32755"></a><h3>
|
||||
<a name="boost.parser.delimited_seq_parserconstruct-copy-destruct"></a><code class="computeroutput">delimited_seq_parser</code>
|
||||
public
|
||||
construct/copy/destruct</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="idm30503-bb"></a><span class="identifier">delimited_seq_parser</span><span class="special">(</span><span class="identifier">Parser</span> parser<span class="special">,</span> <span class="identifier">DelimiterParser</span> delimiter_parser<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="id97-bb"></a><span class="identifier">delimited_seq_parser</span><span class="special">(</span>Parser parser<span class="special">,</span> DelimiterParser delimiter_parser<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Type diagnostic_kind</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header <boost/parser/error_handling_fwd.hpp>">
|
||||
<link rel="prev" href="error_handler_result.html" title="Type error_handler_result">
|
||||
<link rel="next" href="write_formatted_m_idm30410.html" title="Function template write_formatted_message">
|
||||
<link rel="next" href="write_formatted_messa_id51.html" title="Function template write_formatted_message">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="error_handler_result.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="write_formatted_m_idm30410.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="error_handler_result.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="write_formatted_messa_id51.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.diagnostic_kind"></a><div class="titlepage"></div>
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<span class="keyword">enum</span> <span class="identifier">diagnostic_kind</span> <span class="special">{</span> error, <a class="link" href="diagnostic_kind.html#boost.parser.diagnostic_kind.warning">warning</a> <span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm29807"></a><h2>Description</h2>
|
||||
<a name="id30882"></a><h2>Description</h2>
|
||||
<p>The kinds of diagnostics that can be handled by an error handler. </p>
|
||||
<div class="variablelist"><dl class="variablelist compact">
|
||||
<dt><span class="term"><code class="computeroutput">warning</code><a name="boost.parser.diagnostic_kind.warning"></a></span></dt>
|
||||
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="error_handler_result.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="write_formatted_m_idm30410.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="error_handler_result.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_fwd_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="write_formatted_messa_id51.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global digit</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="blank.html" title="Global blank">
|
||||
<link rel="next" href="hex_digit.html" title="Global hex_digit">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">digit_parser</span> <span class="special">></span> digit<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> digit_parser <span class="special">></span> digit<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37304"></a><h2>Description</h2>
|
||||
<a name="id37447"></a><h2>Description</h2>
|
||||
<p>The decimal digit parser. Matches the full set of Unicode decimal digits; in other words, all Unicode code points with the "Nd" character property. Note that this covers all Unicode scripts, only a few of which are Latin. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template directive</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="delimited_seq_parser.html" title="Struct template delimited_seq_parser">
|
||||
<link rel="next" href="if_directive.html" title="Struct template if_directive">
|
||||
@@ -26,18 +26,18 @@
|
||||
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">template</span><span class="special"><</span> <span class="keyword">class</span> <span class="special">></span> <span class="keyword">class</span> Parser<span class="special">></span>
|
||||
<span class="keyword">struct</span> <a class="link" href="directive.html" title="Struct template directive">directive</a> <span class="special">{</span>
|
||||
|
||||
<span class="comment">// <a class="link" href="directive.html#idm30517-bb">public member functions</a></span>
|
||||
<span class="comment">// <a class="link" href="directive.html#id98-bb">public member functions</a></span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Parser2<span class="special">></span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="directive.html#idm30518-bb"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser2</span> <span class="special">></span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
|
||||
constexpr auto <a class="link" href="directive.html#id99-bb"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser2 <span class="special">></span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm32113"></a><h2>Description</h2>
|
||||
<a name="id32810"></a><h2>Description</h2>
|
||||
<p>Represents a unparameterized higher-order parser (e.g. <code class="computeroutput"><a class="link" href="omit_parser.html" title="Struct template omit_parser">omit_parser</a></code>) as a directive (e.g. <code class="computeroutput">omit[other_parser]</code>). </p>
|
||||
<div class="refsect2">
|
||||
<a name="idm32119"></a><h3>
|
||||
<a name="idm30517-bb"></a><code class="computeroutput">directive</code> public member functions</h3>
|
||||
<a name="id32816"></a><h3>
|
||||
<a name="id98-bb"></a><code class="computeroutput">directive</code> public member functions</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Parser2<span class="special">></span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="idm30518-bb"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser2</span> <span class="special">></span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div>
|
||||
constexpr auto <a name="id99-bb"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser2 <span class="special">></span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global double_</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="float_.html" title="Global float_">
|
||||
<link rel="next" href="with_globals.html" title="Function template with_globals">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a><span class="special"><</span> <span class="keyword">double</span> <span class="special">></span> <span class="special">></span> double_<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a><span class="special"><</span> double <span class="special">></span> <span class="special">></span> double_<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37768"></a><h2>Description</h2>
|
||||
<a name="id37855"></a><h2>Description</h2>
|
||||
<p>The <code class="computeroutput">double</code> parser. Produces a <code class="computeroutput">double</code> attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global enable_optional</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="attribute_t.html" title="Type definition attribute_t">
|
||||
<link rel="next" href="enable_variant.html" title="Global enable_variant">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <span class="keyword">bool</span> enable_optional<span class="special">;</span></pre></div>
|
||||
</span>constexpr bool enable_optional<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41188"></a><h2>Description</h2>
|
||||
<a name="id40951"></a><h2>Description</h2>
|
||||
<p>A variable template that indicates that type <code class="computeroutput">T</code> is an optional-like type. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global enable_variant</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="enable_optional.html" title="Global enable_optional">
|
||||
<link rel="next" href="sorted.html" title="Global sorted">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">boost/parser/parser_fwd.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <span class="keyword">bool</span> enable_variant<span class="special">;</span></pre></div>
|
||||
</span>constexpr bool enable_variant<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm41206"></a><h2>Description</h2>
|
||||
<a name="id40966"></a><h2>Description</h2>
|
||||
<p>A variable template that indicates that type <code class="computeroutput">T</code> is an variant-like type. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global eoi</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="eps.html" title="Global eps">
|
||||
<link rel="next" href="char_.html" title="Global char_">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">eoi_parser</span> <span class="special">></span> eoi<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> eoi_parser <span class="special">></span> eoi<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37116"></a><h2>Description</h2>
|
||||
<a name="id37279"></a><h2>Description</h2>
|
||||
<p>The end-of-input parser. It matches only the end of input. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global eol</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="quoted_string.html" title="Global quoted_string">
|
||||
<link rel="next" href="ws.html" title="Global ws">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="ws_parser.html" title="Struct template ws_parser">ws_parser</a><span class="special"><</span> <span class="keyword">true</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">></span> <span class="special">></span> eol<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="ws_parser.html" title="Struct template ws_parser">ws_parser</a><span class="special"><</span> true<span class="special">,</span> false <span class="special">></span> <span class="special">></span> eol<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37230"></a><h2>Description</h2>
|
||||
<a name="id37384"></a><h2>Description</h2>
|
||||
<p>The end-of-line parser. This matches "\r\n", or any one of the line break code points from the Unicode Line Break Algorithm, described in <a href="https://unicode.org/reports/tr14" target="_top">https://unicode.org/reports/tr14</a>. Produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global eps</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="separate.html" title="Global separate">
|
||||
<link rel="next" href="eoi.html" title="Global eoi">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> eps<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37093"></a><h2>Description</h2>
|
||||
<a name="id37259"></a><h2>Description</h2>
|
||||
<p>The epsilon parser. This matches anything, and consumes no input. If used with an optional predicate, like <code class="computeroutput">eps(pred)</code>, it matches iff <code class="computeroutput">pred(ctx)</code> evaluates to true, where <code class="computeroutput">ctx</code> is the parser context. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template eps_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="char_subrange_parser.html" title="Struct template char_subrange_parser">
|
||||
<link rel="next" href="expect_parser.html" title="Struct template expect_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="eps_parser.html" title="Struct template eps_parser">eps_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40472"></a><h2>Description</h2>
|
||||
<a name="id40263"></a><h2>Description</h2>
|
||||
<p>Matches anything, and consumes no input. If <code class="computeroutput">Predicate</code> is anything other than <code class="computeroutput">detail::nope</code> (which it is by default), and <code class="computeroutput">pred_(ctx)</code> evaluates to false, where <code class="computeroutput">ctx</code> is the parser context, the parse fails. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Type error_handler_result</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header <boost/parser/error_handling_fwd.hpp>">
|
||||
<link rel="prev" href="stream_error_handler.html" title="Struct stream_error_handler">
|
||||
<link rel="next" href="diagnostic_kind.html" title="Type diagnostic_kind">
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<span class="keyword">enum</span> <span class="identifier">error_handler_result</span> <span class="special">{</span> fail, <a class="link" href="error_handler_result.html#boost.parser.error_handler_result.rethrow">rethrow</a> <span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm29780"></a><h2>Description</h2>
|
||||
<a name="id30856"></a><h2>Description</h2>
|
||||
<p>The possible actions to take when a parse error is handled by an error handler. </p>
|
||||
<div class="variablelist"><dl class="variablelist compact">
|
||||
<dt><span class="term"><code class="computeroutput">rethrow</code><a name="boost.parser.error_handler_result.rethrow"></a></span></dt>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template expect_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="eps_parser.html" title="Struct template eps_parser">
|
||||
<link rel="next" href="float_parser.html" title="Struct template float_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="expect_parser.html" title="Struct template expect_parser">expect_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40501"></a><h2>Description</h2>
|
||||
<a name="id40291"></a><h2>Description</h2>
|
||||
<p>Applies the given parser <code class="computeroutput">p</code> of type <code class="computeroutput">Parser</code>, producing no attributes and consuming no input. The parse succeeds iff <code class="computeroutput">p</code>'s success is unequal to <code class="computeroutput">FailOnMatch</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template find_line_end</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_hpp.html" title="Header <boost/parser/error_handling.hpp>">
|
||||
<link rel="prev" href="find_line_position.html" title="Function template find_line_position">
|
||||
<link rel="next" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header <boost/parser/error_handling_fwd.hpp>">
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">></span>
|
||||
<span class="identifier">Iter</span> <span class="identifier">find_line_end</span><span class="special">(</span><span class="identifier">Iter</span> it<span class="special">,</span> <span class="identifier">Sentinel</span> last<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
Iter <span class="identifier">find_line_end</span><span class="special">(</span>Iter it<span class="special">,</span> Sentinel last<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm28929"></a><h2>Description</h2>
|
||||
<a name="id30074"></a><h2>Description</h2>
|
||||
<p>Returns the iterator to the end of the line in which <code class="computeroutput">it</code> is found. <br>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Function template find_line_position</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_hpp.html" title="Header <boost/parser/error_handling.hpp>">
|
||||
<link rel="prev" href="write_formatted_e_idm30151.html" title="Function template write_formatted_expectation_failure_error_message">
|
||||
<link rel="prev" href="write_formatted_expec_id35.html" title="Function template write_formatted_expectation_failure_error_message">
|
||||
<link rel="next" href="find_line_end.html" title="Function template find_line_end">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="write_formatted_e_idm30151.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="find_line_end.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="write_formatted_expec_id35.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="find_line_end.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.find_line_position"></a><div class="titlepage"></div>
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Iter<span class="special">></span>
|
||||
<a class="link" href="line_position.html" title="Struct template line_position">line_position</a><span class="special"><</span> <span class="identifier">Iter</span> <span class="special">></span> <span class="identifier">find_line_position</span><span class="special">(</span><span class="identifier">Iter</span> first<span class="special">,</span> <span class="identifier">Iter</span> it<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<a class="link" href="line_position.html" title="Struct template line_position">line_position</a><span class="special"><</span> Iter <span class="special">></span> <span class="identifier">find_line_position</span><span class="special">(</span>Iter first<span class="special">,</span> Iter it<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm28896"></a><h2>Description</h2>
|
||||
<a name="id30045"></a><h2>Description</h2>
|
||||
<p>Returns the <code class="computeroutput"><code class="computeroutput"><a class="link" href="line_position.html" title="Struct template line_position">line_position</a></code></code> for <code class="computeroutput">it</code>, counting lines from the beginning of the input <code class="computeroutput">first</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="write_formatted_e_idm30151.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="find_line_end.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="write_formatted_expec_id35.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/error_handling_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="find_line_end.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global float_</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="long_long.html" title="Global long_long">
|
||||
<link rel="next" href="double_.html" title="Global double_">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a><span class="special"><</span> <span class="keyword">float</span> <span class="special">></span> <span class="special">></span> float_<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a><span class="special"><</span> float <span class="special">></span> <span class="special">></span> float_<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37743"></a><h2>Description</h2>
|
||||
<a name="id37833"></a><h2>Description</h2>
|
||||
<p>The <code class="computeroutput">float</code> parser. Produces a <code class="computeroutput">float</code> attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template float_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="expect_parser.html" title="Struct template expect_parser">
|
||||
<link rel="next" href="int_parser.html" title="Struct template int_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40528"></a><h2>Description</h2>
|
||||
<a name="id40317"></a><h2>Description</h2>
|
||||
<p>Matches a floating point number, producing an attribute of type <code class="computeroutput">T</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Function template get</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/tuple_hpp.html" title="Header <boost/parser/tuple.hpp>">
|
||||
<link rel="prev" href="llong.html" title="Type definition llong">
|
||||
<link rel="next" href="../../boost_parser__proposed_/rationale.html" title="Rationale">
|
||||
<link rel="next" href="../../boost_parser/rationale.html" title="Rationale">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="llong.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/tuple_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../boost_parser__proposed_/rationale.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="llong.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/tuple_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../boost_parser/rationale.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.get"></a><div class="titlepage"></div>
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> U<span class="special">,</span> <span class="identifier">U</span> I<span class="special">></span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">get</span><span class="special">(</span><span class="identifier">T</span> <span class="special">&&</span> x<span class="special">,</span> <span class="identifier">integral_constant</span><span class="special"><</span> <span class="identifier">U</span><span class="special">,</span> <span class="identifier">I</span> <span class="special">></span> i<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">get</span><span class="special">(</span>T <span class="special">&&</span> x<span class="special">,</span> <span class="identifier">integral_constant</span><span class="special"><</span> U<span class="special">,</span> <span class="identifier">I</span> <span class="special">></span> i<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm46170"></a><h2>Description</h2>
|
||||
<a name="id45496"></a><h2>Description</h2>
|
||||
<p>An accessor that returns a reference to the <code class="computeroutput">I</code>-th data member of an aggregate struct or <code class="computeroutput">boost::parser::tuple</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="llong.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/tuple_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../boost_parser__proposed_/rationale.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="llong.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/tuple_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../boost_parser/rationale.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global hex</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="oct.html" title="Global oct">
|
||||
<link rel="next" href="ushort_.html" title="Global ushort_">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="uint_parser.html" title="Struct template uint_parser">uint_parser</a><span class="special"><</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">,</span> <span class="number">16</span> <span class="special">></span> <span class="special">></span> hex<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="uint_parser.html" title="Struct template uint_parser">uint_parser</a><span class="special"><</span> unsigned int<span class="special">,</span> <span class="number">16</span> <span class="special">></span> <span class="special">></span> hex<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37495"></a><h2>Description</h2>
|
||||
<a name="id37618"></a><h2>Description</h2>
|
||||
<p>The hexadecimal unsigned integer parser. Produces an <code class="computeroutput">unsigned int</code> attribute. To parse a particular value <code class="computeroutput">x</code>, use <code class="computeroutput">hex(x)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global hex_digit</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="digit.html" title="Global digit">
|
||||
<link rel="next" href="control.html" title="Global control">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> hex_digit<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37321"></a><h2>Description</h2>
|
||||
<a name="id37463"></a><h2>Description</h2>
|
||||
<p>The hexidecimal digit parser. Matches the full set of Unicode hexidecimal digits (upper or lower case); in other words, all Unicode code points with the "Hex_Digit" character property. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<title>Function template if_</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="lit_idm32308.html" title="Function template lit">
|
||||
<link rel="prev" href="lit_id12.html" title="Function template lit">
|
||||
<link rel="next" href="switch_.html" title="Function template switch_">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="lit_idm32308.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="switch_.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="lit_id12.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="switch_.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.if_"></a><div class="titlepage"></div>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Predicate<span class="special">></span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">if_</span><span class="special">(</span><span class="identifier">Predicate</span> pred<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Predicate<span class="special">></span> constexpr auto <span class="identifier">if_</span><span class="special">(</span>Predicate pred<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm38142"></a><h2>Description</h2>
|
||||
<a name="id38179"></a><h2>Description</h2>
|
||||
<p>Returns an <code class="computeroutput"><code class="computeroutput"><a class="link" href="if_directive.html" title="Struct template if_directive">if_directive</a></code></code> that fails if the given predicate <code class="computeroutput">pred</code> is <code class="computeroutput">false</code>, and otherwise, applies another parser. For instance, in <code class="computeroutput">if_(pred)[p]</code>, <code class="computeroutput">p</code> is only applied if <code class="computeroutput">pred</code> is true. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="lit_idm32308.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="switch_.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="lit_id12.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="switch_.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template if_directive</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="directive.html" title="Struct template directive">
|
||||
<link rel="next" href="merge_directive.html" title="Struct merge_directive">
|
||||
@@ -26,21 +26,21 @@
|
||||
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Predicate<span class="special">></span>
|
||||
<span class="keyword">struct</span> <a class="link" href="if_directive.html" title="Struct template if_directive">if_directive</a> <span class="special">{</span>
|
||||
|
||||
<span class="comment">// <a class="link" href="if_directive.html#idm30534-bb">public member functions</a></span>
|
||||
<span class="comment">// <a class="link" href="if_directive.html#id100-bb">public member functions</a></span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Parser2<span class="special">></span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="if_directive.html#idm30535-bb"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser2</span> <span class="special">></span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
|
||||
constexpr auto <a class="link" href="if_directive.html#id101-bb"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser2 <span class="special">></span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
|
||||
|
||||
<span class="comment">// public data members</span>
|
||||
<span class="identifier">Predicate</span> <span class="identifier">pred_</span><span class="special">;</span>
|
||||
Predicate <span class="identifier">pred_</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm32191"></a><h2>Description</h2>
|
||||
<a name="id32880"></a><h2>Description</h2>
|
||||
<p>Represents a sequence parser, the first parser of which is an <code class="computeroutput">epsilon_parser</code> with predicate, as a directive (e.g. <code class="computeroutput">if_(pred)[p]</code>). </p>
|
||||
<div class="refsect2">
|
||||
<a name="idm32196"></a><h3>
|
||||
<a name="idm30534-bb"></a><code class="computeroutput">if_directive</code> public member functions</h3>
|
||||
<a name="id32885"></a><h3>
|
||||
<a name="id100-bb"></a><code class="computeroutput">if_directive</code> public member functions</h3>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Parser2<span class="special">></span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="idm30535-bb"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <span class="identifier">Parser2</span> <span class="special">></span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div>
|
||||
constexpr auto <a name="id101-bb"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> Parser2 <span class="special">></span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global int_</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="short_.html" title="Global short_">
|
||||
<link rel="next" href="long_.html" title="Global long_">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="int_parser.html" title="Struct template int_parser">int_parser</a><span class="special"><</span> <span class="keyword">int</span> <span class="special">></span> <span class="special">></span> int_<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special"><</span> <a class="link" href="int_parser.html" title="Struct template int_parser">int_parser</a><span class="special"><</span> int <span class="special">></span> <span class="special">></span> int_<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm37661"></a><h2>Description</h2>
|
||||
<a name="id37761"></a><h2>Description</h2>
|
||||
<p>The <code class="computeroutput">int</code> parser. Produces an <code class="computeroutput">int</code> attribute. To parse a particular value <code class="computeroutput">x</code>, use <code class="computeroutput">int_(x)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template int_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="float_parser.html" title="Struct template float_parser">
|
||||
<link rel="next" href="lexeme_parser.html" title="Struct template lexeme_parser">
|
||||
@@ -28,7 +28,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="int_parser.html" title="Struct template int_parser">int_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40568"></a><h2>Description</h2>
|
||||
<a name="id40356"></a><h2>Description</h2>
|
||||
<p>Matches a signed number of radix <code class="computeroutput">Radix</code>, of at least <code class="computeroutput">MinDigits</code> and at most <code class="computeroutput">MaxDigits</code>, producing an attribute of type <code class="computeroutput">T</code>. Fails on any other input. The parse will also fail if <code class="computeroutput">Expected</code> is anything but <code class="computeroutput">detail::nope</code> (which it is by default), and the produced attribute is not equal to <code class="computeroutput">expected_</code>. <code class="computeroutput">Radix</code> must be one of <code class="computeroutput">2</code>, <code class="computeroutput">8</code>, <code class="computeroutput">10</code>, or <code class="computeroutput">16</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Type definition integral_constant</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/tuple_hpp.html" title="Header <boost/parser/tuple.hpp>">
|
||||
<link rel="prev" href="tuple.html" title="Type definition tuple">
|
||||
<link rel="next" href="llong.html" title="Type definition llong">
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/tuple_hpp.html" title="Header <boost/parser/tuple.hpp>">boost/parser/tuple.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">typedef</span> <span class="identifier">hana</span><span class="special">::</span><span class="identifier">integral_constant</span><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">I</span> <span class="special">></span> <span class="identifier">integral_constant</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">typedef</span> <span class="identifier">hana</span><span class="special">::</span><span class="identifier">integral_constant</span><span class="special"><</span> T<span class="special">,</span> <span class="identifier">I</span> <span class="special">></span> <span class="identifier">integral_constant</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm46100"></a><h2>Description</h2>
|
||||
<a name="id45435"></a><h2>Description</h2>
|
||||
<p>A template alias that is <code class="computeroutput">boost::hana::integral_constant<T, I></code> if <code class="computeroutput">BOOST_PARSER_USE_HANA_TUPLE</code> is defined, and <code class="computeroutput">std::integral_constant<T, I></code> otherwise. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Global lexeme</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="string_view.html" title="Global string_view">
|
||||
<link rel="next" href="no_case.html" title="Global no_case">
|
||||
@@ -23,9 +23,9 @@
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span><span class="keyword">constexpr</span> <a class="link" href="directive.html" title="Struct template directive">directive</a><span class="special"><</span> <a class="link" href="lexeme_parser.html" title="Struct template lexeme_parser">lexeme_parser</a> <span class="special">></span> lexeme<span class="special">;</span></pre></div>
|
||||
</span>constexpr <a class="link" href="directive.html" title="Struct template directive">directive</a><span class="special"><</span> <a class="link" href="lexeme_parser.html" title="Struct template lexeme_parser">lexeme_parser</a> <span class="special">></span> lexeme<span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm36957"></a><h2>Description</h2>
|
||||
<a name="id37132"></a><h2>Description</h2>
|
||||
<p>The <code class="computeroutput">lexeme</code> directive, whose <code class="computeroutput">operator[]</code> returns a <code class="computeroutput"><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><<a class="link" href="lexeme_parser.html" title="Struct template lexeme_parser">lexeme_parser</a><P>></code> from a given parser of type <code class="computeroutput"><a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><P></code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template lexeme_parser</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header <boost/parser/parser_fwd.hpp>">
|
||||
<link rel="prev" href="int_parser.html" title="Struct template int_parser">
|
||||
<link rel="next" href="no_case_parser.html" title="Struct template no_case_parser">
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="lexeme_parser.html" title="Struct template lexeme_parser">lexeme_parser</a> <span class="special">{</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm40603"></a><h2>Description</h2>
|
||||
<a name="id40390"></a><h2>Description</h2>
|
||||
<p>Applies the given parser <code class="computeroutput">p</code> of type <code class="computeroutput">Parser</code>, disabling the current skipper in use, if any. The parse succeeds iff <code class="computeroutput">p</code> succeeds. The attribute produced is the type of attribute produced by <code class="computeroutput">Parser</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Struct template line_position</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header <boost/parser/error_handling_fwd.hpp>">
|
||||
<link rel="prev" href="default_error_handler.html" title="Struct default_error_handler">
|
||||
<link rel="next" href="parse_error.html" title="Struct template parse_error">
|
||||
@@ -27,12 +27,12 @@
|
||||
<span class="keyword">struct</span> <a class="link" href="line_position.html" title="Struct template line_position">line_position</a> <span class="special">{</span>
|
||||
|
||||
<span class="comment">// public data members</span>
|
||||
<span class="identifier">Iter</span> <span class="identifier">line_start</span><span class="special">;</span>
|
||||
<span class="identifier">int64_t</span> <span class="identifier">line_number</span><span class="special">;</span>
|
||||
<span class="identifier">int64_t</span> <span class="identifier">column_number</span><span class="special">;</span>
|
||||
Iter <span class="identifier">line_start</span><span class="special">;</span>
|
||||
int64_t <span class="identifier">line_number</span><span class="special">;</span>
|
||||
int64_t <span class="identifier">column_number</span><span class="special">;</span>
|
||||
<span class="special">}</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm29298"></a><h2>Description</h2>
|
||||
<a name="id30404"></a><h2>Description</h2>
|
||||
<p>A position within a line, consisting of an iterator to the start of the line, the line number, and the column number. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function lit</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="lit_idm32280.html" title="Function lit">
|
||||
<link rel="next" href="lit_idm32292.html" title="Function lit">
|
||||
<link rel="prev" href="lit_id9.html" title="Function lit">
|
||||
<link rel="next" href="lit_id11.html" title="Function lit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="lit_idm32280.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_idm32292.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="lit_id9.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_id11.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.lit_idm32286"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.lit_id10"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function lit</span></h2>
|
||||
<p>boost::parser::lit</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="identifier">char8_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="identifier">lit</span><span class="special">(</span>char8_t c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm38042"></a><h2>Description</h2>
|
||||
<a name="id38095"></a><h2>Description</h2>
|
||||
<p>Returns a literal code point parser that produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="lit_idm32280.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_idm32292.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="lit_id9.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_id11.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function lit</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="lit_idm32286.html" title="Function lit">
|
||||
<link rel="prev" href="lit_id10.html" title="Function lit">
|
||||
<link rel="next" href="string.html" title="Function template string">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="lit_idm32286.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="string.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="lit_id10.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="string.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.lit_idm32292"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.lit_id11"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function lit</span></h2>
|
||||
<p>boost::parser::lit</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="keyword">char32_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="identifier">lit</span><span class="special">(</span>char32_t c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm38063"></a><h2>Description</h2>
|
||||
<a name="id38112"></a><h2>Description</h2>
|
||||
<p>Returns a literal code point parser that produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="lit_idm32286.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="string.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="lit_id10.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="string.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template lit</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="string.html" title="Function template string">
|
||||
<link rel="next" href="if_.html" title="Function template if_">
|
||||
@@ -15,7 +15,7 @@
|
||||
<a accesskey="p" href="string.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="if_.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.lit_idm32308"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.lit_id12"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function template lit</span></h2>
|
||||
<p>boost::parser::lit</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_range_like</span> R<span class="special">></span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="identifier">R</span> <span class="special">&&</span> str<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="identifier">parsable_range_like</span> R<span class="special">></span> constexpr auto <span class="identifier">lit</span><span class="special">(</span>R <span class="special">&&</span> str<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm38116"></a><h2>Description</h2>
|
||||
<a name="id38157"></a><h2>Description</h2>
|
||||
<p>Returns a parser that matches <code class="computeroutput">str</code> that produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function lit</title>
|
||||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="attr.html" title="Function template attr">
|
||||
<link rel="next" href="lit_idm32286.html" title="Function lit">
|
||||
<link rel="next" href="lit_id10.html" title="Function lit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="attr.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_idm32286.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="attr.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_id10.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.lit_idm32280"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.lit_id9"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function lit</span></h2>
|
||||
<p>boost::parser::lit</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="keyword">char</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="identifier">lit</span><span class="special">(</span>char c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm38021"></a><h2>Description</h2>
|
||||
<a name="id38078"></a><h2>Description</h2>
|
||||
<p>Returns a literal code point parser that produces no attribute. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="attr.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_idm32286.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="attr.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/parser_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="lit_id10.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Function template operator""_c</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/tuple_hpp.html" title="Header <boost/parser/tuple.hpp>">
|
||||
<link rel="prev" href="../../../header/boost/parser/tuple_hpp.html" title="Header <boost/parser/tuple.hpp>">
|
||||
<link rel="next" href="../tuple.html" title="Type definition tuple">
|
||||
@@ -15,7 +15,7 @@
|
||||
<a accesskey="p" href="../../../header/boost/parser/tuple_hpp.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/tuple_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../tuple.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_c_idm34489"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_c_id324"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function template operator""_c</span></h2>
|
||||
<p>boost::parser::literals::operator""_c</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/tuple_hpp.html" title="Header <boost/parser/tuple.hpp>">boost/parser/tuple.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">char</span><span class="special">...</span> chars<span class="special">></span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_c</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<span class="keyword">template</span><span class="special"><</span><span class="keyword">char</span><span class="special">...</span> chars<span class="special">></span> constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_c</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm46047"></a><h2>Description</h2>
|
||||
<a name="id45385"></a><h2>Description</h2>
|
||||
<p>A literal that can be used to concisely name <code class="computeroutput">parser::llong</code> integral constants. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="next" href="operator_l_idm31732.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_id86.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31732.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id86.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_idm31725"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_l_id85"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span>char c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31644"></a><h2>Description</h2>
|
||||
<a name="id32401"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(c)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31732.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id86.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_idm31732.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_idm31746.html" title='Function operator""_l'>
|
||||
<link rel="prev" href="operator_l_id85.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_id87.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31732.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31746.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_l_id85.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id87.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_idm31739"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_l_id86"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char32_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span>char8_t c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31692"></a><h2>Description</h2>
|
||||
<a name="id32421"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(c)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31732.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31746.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_l_id85.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id87.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_idm31725.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_idm31739.html" title='Function operator""_l'>
|
||||
<link rel="prev" href="operator_l_id86.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_id88.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31725.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31739.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_l_id86.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id88.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_idm31732"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_l_id87"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="identifier">char8_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span>char32_t c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31668"></a><h2>Description</h2>
|
||||
<a name="id32441"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(c)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31725.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31739.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_l_id86.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id88.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
doc/html/boost/parser/literals/operator_l_id88.html
Normal file
43
doc/html/boost/parser/literals/operator_l_id88.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_id87.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_id89.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_id87.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id89.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_id88"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span>char const <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="id32466"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_id87.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id89.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
doc/html/boost/parser/literals/operator_l_id89.html
Normal file
43
doc/html/boost/parser/literals/operator_l_id89.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_id88.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_id90.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_id88.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id90.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_id89"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span>char8_t const <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="id32491"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_id88.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_id90.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
doc/html/boost/parser/literals/operator_l_id90.html
Normal file
43
doc/html/boost/parser/literals/operator_l_id90.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_id89.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_p_id91.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_id89.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id91.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_id90"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span>char32_t const <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="id32516"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_id89.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id91.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,43 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_idm31739.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_idm31755.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31739.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31755.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_idm31746"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31722"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31739.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31755.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,43 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_idm31746.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_l_idm31764.html" title='Function operator""_l'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31746.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31764.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_idm31755"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="identifier">char8_t</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31752"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31746.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_l_idm31764.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,43 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_l</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_idm31755.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_p_idm31773.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31755.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31773.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_l_idm31764"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_l</span></h2>
|
||||
<p>boost::parser::literals::operator""_l</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char32_t</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31782"></a><h2>Description</h2>
|
||||
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31755.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31773.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_l_idm31764.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_p_idm31780.html" title='Function operator""_p'>
|
||||
<link rel="prev" href="operator_l_id90.html" title='Function operator""_l'>
|
||||
<link rel="next" href="operator_p_id92.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31764.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31780.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_l_id90.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id92.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_idm31773"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_p_id91"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span><span class="keyword">char</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span>char c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31806"></a><h2>Description</h2>
|
||||
<a name="id32536"></a><h2>Description</h2>
|
||||
<p>Returns a character parser equivalent to <code class="computeroutput">char_(c)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_l_idm31764.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31780.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_l_id90.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id92.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_idm31773.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_idm31787.html" title='Function operator""_p'>
|
||||
<link rel="prev" href="operator_p_id91.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_id93.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31773.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31787.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_p_id91.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id93.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_idm31780"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_p_id92"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span><span class="identifier">char8_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span>char8_t c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31830"></a><h2>Description</h2>
|
||||
<a name="id32556"></a><h2>Description</h2>
|
||||
<p>Returns a character parser equivalent to <code class="computeroutput">char_(c)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31773.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31787.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_p_id91.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id93.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_idm31780.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_idm31794.html" title='Function operator""_p'>
|
||||
<link rel="prev" href="operator_p_id92.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_id94.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31780.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31794.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_p_id92.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id94.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_idm31787"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_p_id93"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span><span class="keyword">char32_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span>char32_t c<span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31854"></a><h2>Description</h2>
|
||||
<a name="id32576"></a><h2>Description</h2>
|
||||
<p>Returns a character parser equivalent to <code class="computeroutput">char_(c)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31780.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31794.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_p_id92.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id94.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
doc/html/boost/parser/literals/operator_p_id94.html
Normal file
43
doc/html/boost/parser/literals/operator_p_id94.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_id93.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_id95.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_id93.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id95.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_id94"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span>char const <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="id32601"></a><h2>Description</h2>
|
||||
<p>Returns a string parser equivalent to <code class="computeroutput">string(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_id93.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id95.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
doc/html/boost/parser/literals/operator_p_id95.html
Normal file
43
doc/html/boost/parser/literals/operator_p_id95.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_id94.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_id96.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_id94.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id96.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_id95"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span>char8_t const <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="id32626"></a><h2>Description</h2>
|
||||
<p>Returns a string parser equivalent to <code class="computeroutput">string(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_id94.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_id96.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,18 +4,18 @@
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_idm31803.html" title='Function operator""_p'>
|
||||
<link rel="prev" href="operator_p_id95.html" title='Function operator""_p'>
|
||||
<link rel="next" href="../attribute.html" title="Struct template attribute">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31803.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../attribute.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_p_id95.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../attribute.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_idm31812"></a><div class="titlepage"></div>
|
||||
<a name="boost.parser.literals.operator_p_id96"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span><span class="keyword">char32_t</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
constexpr auto <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span>char32_t const <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31944"></a><h2>Description</h2>
|
||||
<a name="id32651"></a><h2>Description</h2>
|
||||
<p>Returns a string parser equivalent to <code class="computeroutput">string(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31803.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../attribute.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="operator_p_id95.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../attribute.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,43 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_idm31787.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_idm31803.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31787.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31803.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_idm31794"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31884"></a><h2>Description</h2>
|
||||
<p>Returns a string parser equivalent to <code class="computeroutput">string(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31787.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31803.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,43 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Function operator""_p</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||||
<link rel="up" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">
|
||||
<link rel="prev" href="operator_p_idm31794.html" title='Function operator""_p'>
|
||||
<link rel="next" href="operator_p_idm31812.html" title='Function operator""_p'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31794.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31812.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="refentry">
|
||||
<a name="boost.parser.literals.operator_p_idm31803"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv">
|
||||
<h2><span class="refentrytitle">Function operator""_p</span></h2>
|
||||
<p>boost::parser::literals::operator""_p</p>
|
||||
</div>
|
||||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header <boost/parser/parser.hpp>">boost/parser/parser.hpp</a>>
|
||||
|
||||
</span>
|
||||
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_p</span><span class="special">(</span><span class="identifier">char8_t</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
|
||||
<div class="refsect1">
|
||||
<a name="idm31914"></a><h2>Description</h2>
|
||||
<p>Returns a string parser equivalent to <code class="computeroutput">string(str)</code>. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_p_idm31794.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/parser/parser_hpp.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operator_p_idm31812.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user