2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-20 04:42:22 +00:00

102 Commits

Author SHA1 Message Date
Zach Laine
1cdf8a246a Update docs. 2024-10-03 20:09:21 -05:00
Zach Laine
4fc75eb97a Merge branch 'develop' into gh-pages 2024-10-03 20:07:51 -05:00
Zach Laine
554e7e3ae1 Update docs. 2024-03-31 20:19:48 -05:00
Zach Laine
35f2bcd02d Merge branch 'master' into gh-pages 2024-03-31 20:13:07 -05:00
Zach Laine
c7baa5f65a Update docs. 2024-03-24 22:54:37 -05:00
Zach Laine
9282349144 Revert "Add/update b2 build for docs and tests."
This reverts commit d34cc345bb.
2024-03-24 22:49:57 -05:00
Zach Laine
c31e81714c Merge branch 'master' into gh-pages 2024-03-24 22:49:18 -05:00
Zach Laine
669399ac2a Update docs. 2024-03-23 16:03:32 -05:00
Zach Laine
9052813304 Merge branch 'master' into gh-pages 2024-03-23 16:02:38 -05:00
Zach Laine
48f12beb7b Update docs. 2024-03-15 16:22:52 -05:00
Zach Laine
656638e53f Merge branch 'master' into gh-pages 2024-03-15 16:20:56 -05:00
Zach Laine
dc00670126 Add .nojekyll. 2024-02-23 21:03:14 -06:00
Zach Laine
93a13630eb Update docs. 2024-02-11 16:56:00 -06:00
Zach Laine
784a325f82 Merge branch 'master' into gh-pages 2024-02-11 16:55:38 -06:00
Zach Laine
99d194fece Merge branch 'master' into gh-pages 2024-02-04 16:17:21 -06:00
Zach Laine
e4cc4c3335 Update docs. 2024-01-31 20:53:22 -06:00
Zach Laine
6619e6bf76 Merge branch 'master' into gh-pages 2024-01-31 20:52:55 -06:00
Zach Laine
0072bd036c Update docs. 2024-01-30 17:44:40 -06:00
Zach Laine
328b8a7cc5 Merge branch 'master' into gh-pages 2024-01-30 17:44:13 -06:00
Zach Laine
da8a018134 Update docs. 2024-01-28 20:55:54 -06:00
Zach Laine
3f40a97608 Merge branch 'master' into gh-pages 2024-01-28 20:55:31 -06:00
Zach Laine
c40152afcc Update docs. 2024-01-28 16:40:27 -06:00
Zach Laine
0ce604ffba Merge branch 'master' into gh-pages 2024-01-28 16:40:05 -06:00
Zach Laine
8b52c00798 Update docs. 2024-01-22 21:52:17 -06:00
Zach Laine
bd95cdda44 Merge branch 'master' into gh-pages 2024-01-22 21:51:53 -06:00
Zach Laine
2ad78d479d Update docs. 2024-01-21 21:38:44 -06:00
Zach Laine
8ec480cb19 Merge branch 'master' into gh-pages 2024-01-21 21:38:20 -06:00
Zach Laine
ef6636166a Update docs. 2024-01-20 03:44:01 -06:00
Zach Laine
57df7a3f63 Merge branch 'master' into gh-pages 2024-01-20 03:43:29 -06:00
Zach Laine
9298cef3ef Update docs. 2024-01-19 21:19:01 -06:00
Zach Laine
1334d23875 Merge branch 'master' into gh-pages 2024-01-19 21:18:40 -06:00
Zach Laine
ff83e3170c Update docs. 2024-01-19 21:10:29 -06:00
Zach Laine
3f0781a40a Merge branch 'master' into gh-pages 2024-01-19 21:10:04 -06:00
Zach Laine
d7bdb4e08a Update docs. 2024-01-15 16:49:58 -06:00
Zach Laine
10650d782a Merge branch 'master' into gh-pages 2024-01-15 16:48:27 -06:00
Zach Laine
9494e5678a Update docs. 2024-01-15 16:45:55 -06:00
Zach Laine
bf0dd683be Merge branch 'master' into gh-pages 2024-01-15 16:45:31 -06:00
Zach Laine
66b93ab401 Add a note to the beginning of Attribute Generation about the assumption that
attribute types are semiregular.

Fixes #65.
2024-01-15 16:44:09 -06:00
Zach Laine
e15696ed90 Update docs. 2024-01-15 16:31:54 -06:00
Zach Laine
b195726911 Merge branch 'master' into gh-pages 2024-01-15 16:31:33 -06:00
Zach Laine
3879758d30 Update docs. 2024-01-15 02:29:54 -06:00
Zach Laine
eb75f29b5b Merge branch 'master' into gh-pages 2024-01-15 02:29:37 -06:00
Zach Laine
f5d8798ffd Update docs. 2024-01-14 20:59:31 -06:00
Zach Laine
170f1101c4 Merge branch 'master' into gh-pages 2024-01-14 20:58:59 -06:00
Zach Laine
959ff2f8cb Update docs. 2024-01-14 16:19:20 -06:00
Zach Laine
f097fbb3c7 Merge branch 'master' into gh-pages 2024-01-14 16:19:01 -06:00
Zach Laine
c406cf2ee1 Update docs. 2024-01-14 02:46:25 -06:00
Zach Laine
7bf7ea1993 Merge branch 'master' into gh-pages 2024-01-14 02:46:05 -06:00
Zach Laine
6ec9ca01e2 Update docs. 2024-01-11 19:27:23 -06:00
Zach Laine
b579644bf2 Merge branch 'master' into gh-pages 2024-01-11 19:26:59 -06:00
Zach Laine
663e3da450 Update docs. 2024-01-09 23:07:38 -06:00
Zach Laine
8865ebde9e Merge branch 'master' into gh-pages 2024-01-09 23:07:18 -06:00
Zach Laine
203c82c5c5 Update docs. 2024-01-07 22:55:53 -06:00
Zach Laine
3add8cb54d Merge branch 'master' into gh-pages 2024-01-07 22:55:36 -06:00
Zach Laine
877fb6433b Update docs. 2024-01-07 21:23:25 -06:00
Zach Laine
ca6e5a13df Merge branch 'master' into gh-pages 2024-01-07 21:22:46 -06:00
Zach Laine
89926ef65d html/Update docs. 2024-01-07 21:18:43 -06:00
Zach Laine
90063efa84 Merge branch 'master' into gh-pages 2024-01-07 21:18:06 -06:00
Zach Laine
121a5390b3 Merge branch 'master' into gh-pages 2024-01-07 20:48:23 -06:00
Zach Laine
64227fc441 Update docs. 2024-01-07 15:21:05 -06:00
Zach Laine
c8df813982 Merge branch 'master' into gh-pages 2024-01-07 15:20:44 -06:00
Zach Laine
426bfd236c Merge branch 'master' into gh-pages 2024-01-07 12:33:26 -06:00
Zach Laine
960e2eaf45 Update docs. 2024-01-07 01:16:38 -06:00
Zach Laine
ba2eacf34d Merge branch 'master' into gh-pages 2024-01-07 01:16:19 -06:00
Zach Laine
186a333f96 Update docs. 2024-01-07 00:54:15 -06:00
Zach Laine
946297f757 Merge branch 'master' into gh-pages 2024-01-07 00:53:45 -06:00
Zach Laine
9d9ca546cc Update docs. 2024-01-06 02:38:03 -06:00
Zach Laine
b8849c3eae Merge branch 'master' into gh-pages 2024-01-06 02:37:28 -06:00
Zach Laine
a2f02f1ab2 Update docs. 2024-01-03 23:50:46 -06:00
Zach Laine
c3d1e73092 Merge branch 'master' into gh-pages 2024-01-03 23:50:21 -06:00
Zach Laine
f2bf068f00 Update docs. 2024-01-03 02:05:49 -06:00
Zach Laine
de6584c663 Merge branch 'master' into gh-pages 2024-01-03 02:05:24 -06:00
Zach Laine
4f26a25db7 Update docs. 2024-01-01 15:37:49 -06:00
Zach Laine
052a593782 Merge branch 'master' into gh-pages 2024-01-01 15:37:26 -06:00
Zach Laine
8a02f10aed Update docs. 2023-12-30 21:05:58 -06:00
Zach Laine
14e17fa64a Merge branch 'master' into gh-pages 2023-12-30 21:05:28 -06:00
Zach Laine
144ac9c2c1 Update docs. 2023-12-30 16:25:22 -06:00
Zach Laine
6639d17e6c Merge branch 'master' into gh-pages 2023-12-30 16:24:40 -06:00
Zach Laine
6308a8b9b4 Update docs. 2023-12-29 14:06:19 -06:00
Zach Laine
0a3a043768 Merge branch 'master' into gh-pages 2023-12-29 14:05:36 -06:00
Zach Laine
98b8a4bb29 Update docs. 2023-12-23 13:48:22 -06:00
Zach Laine
46b4ae89a9 Merge branch 'master' into gh-pages 2023-12-23 13:47:57 -06:00
Zach Laine
454beb1903 Update docs. 2023-12-21 18:22:55 -06:00
Zach Laine
8327b38c47 Merge branch 'master' into gh-pages 2023-12-21 18:21:53 -06:00
Zach Laine
e9cd214ad2 Merge branch 'master' into gh-pages 2023-12-21 17:37:14 -06:00
Zach Laine
d09817df43 Update docs. 2023-12-03 19:22:08 -06:00
Zach Laine
898b8d487b Merge branch 'master' into gh-pages 2023-12-03 19:21:40 -06:00
Zach Laine
ba27e94262 Update docs. 2023-12-03 16:12:25 -06:00
Zach Laine
9155484652 Merge branch 'master' into gh-pages 2023-12-03 16:11:13 -06:00
Zach Laine
8c875c562f Merge branch 'master' into gh-pages 2023-12-03 15:24:58 -06:00
Zach Laine
2e65a9edcd Update docs. 2023-12-02 17:28:57 -06:00
Zach Laine
a2d6e6f628 Merge branch 'master' into gh-pages 2023-12-02 17:26:36 -06:00
Zach Laine
6e06f386a3 Merge branch 'master' into gh-pages 2023-12-02 14:21:15 -06:00
Zach Laine
4aea8691bd Update docs. 2022-07-23 13:42:59 -05:00
Zach Laine
ff314ee465 Merge branch 'master' into gh-pages 2022-07-23 13:42:26 -05:00
Zach Laine
f40be64876 Merge branch 'master' into gh-pages 2020-09-10 01:37:50 -05:00
Zach Laine
f28c4fc0b4 Update docs. 2020-09-10 01:34:47 -05:00
Zach Laine
ae2eeb10ff Merge branch 'master' into gh-pages 2020-09-10 01:33:53 -05:00
Zach Laine
6be9c6d4b0 Add top-level index.html 2020-09-08 00:29:29 -05:00
Zach Laine
891356117a Merge branch 'master' into gh-pages 2020-09-08 00:28:43 -05:00
Zach Laine
053a0f5d91 Merge branch 'master' into gh-pages 2020-09-08 00:23:11 -05:00
Zach Laine
046f594a32 Update docs. 2020-09-08 00:05:53 -05:00
310 changed files with 29564 additions and 398 deletions

0
.nojekyll Normal file
View File

View File

@@ -22,6 +22,12 @@ target_link_libraries(boost_parser
Boost::type_index
)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()
else()
cmake_minimum_required(VERSION 3.14...3.20)

View File

@@ -34,7 +34,12 @@ int main()
}
```
This library is header-only, and has no Boost dependencies by default.
This library is header-only, and has a default dependency on Boost.Hana. The
Boost.Hana dependency can be eliminated, and `std::tuple` will be used instead
of `boost::hana::tuple` throughout the library, if you `#define`
`BOOST_PARSER_DISABLE_HANA_TUPLE`. To try out the lib without mseeing with
dependencies, add its `include/` dir as an include path in your build and
define `BOOST_PARSER_DISABLE_HANA_TUPLE` your build.
Features:
@@ -47,7 +52,9 @@ Features:
- Trace support for debugging your parsers.
- Clever hacks to make compile time errors easier to deal with. (These are totally optional.)
This library first appeared in Boost 1.87.0
This library targets submission to Boost.
Online docs: https://tzlaine.github.io/parser
Master status:

View File

@@ -6,21 +6,20 @@ import path ;
import doxygen ;
import quickbook ;
using auto-index ;
using doxygen ;
using quickbook ;
using boostbook ;
path-constant here : . ;
rule run_doxygen ( files * : name : expand ? )
{
expand ?= <doxygen:param>EXPAND_ONLY_PREDEF=YES ;
doxygen parser_reference
:
$(files)
:
doxygen parser_reference
:
$(files)
:
<doxygen:param>EXTRACT_ALL=YES
# note that there is no detail::unspecified -- this is a hack to get all
# the SFINAE code out of the API docs.
@@ -35,23 +34,15 @@ rule run_doxygen ( files * : name : expand ? )
<doxygen:param>SEARCH_INCLUDES=NO
<doxygen:param>EXAMPLE_PATH=.
<reftitle>$(name)
;
;
}
run_doxygen [ glob $(here)/../../../boost/parser/*.hpp : $(here)/../../../boost/parser/concepts.hpp ] : "Headers" ;
install images_standalone : [ glob *.png ] : <location>html/parser/img ;
explicit images_standalone ;
install images_boostdoc : [ glob *.png ] : <location>../../../doc/html/parser/img ;
explicit images_boostdoc ;
run_doxygen [ glob ../include/boost/parser/*.hpp : ../include/boost/parser/concepts.hpp ] : "Reference" ;
xml parser
:
parser.qbk
:
<dependency>parser_reference
;
boostbook standalone
@@ -61,6 +52,8 @@ boostbook standalone
<dependency>css
<dependency>images
<dependency>parser_reference
# HTML options first:
# Use graphics not text for navigation:
<xsl:param>navig.graphics=1
@@ -98,25 +91,18 @@ boostbook standalone
# better use SVG's instead:
# <xsl:param>admon.graphics.extension=".svg"
# <auto-index>on
# <auto-index-verbose>on
# <auto-index-internal>on
# <auto-index-script>parser.idx
# <quickbook-define>enable_index
# <auto-index-prefix>..
# <xsl:param>index.on.type=1
<dependency>images_standalone
<auto-index>on
<auto-index-verbose>on
<auto-index-internal>on
<auto-index-script>parser.idx
<quickbook-define>enable_index
<auto-index-prefix>..
<xsl:param>index.on.type=1
;
install css : [ glob $(BOOST_ROOT)/doc/src/*.css ]
: <location>html ;
install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ]
: <location>html/images ;
alias boostdoc : parser : : : <dependency>images_boostdoc ;
explicit boostdoc ;
alias boostrelease ;
explicit boostrelease ;
explicit css ;
explicit images ;

45
doc/Jamroot.jam Normal file
View File

@@ -0,0 +1,45 @@
#
# Copyright (c) 2006 João Abecasis
#
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
##
## IMPORTANT NOTE: This file MUST NOT be copied over a boost installation
##
path-constant top : . ;
import modules ;
import path ;
local boost-root = [ modules.peek : BOOST_ROOT ] ;
if ! $(boost-root)
{
local boost-search-dirs = [ modules.peek : BOOST_BUILD_PATH ] ;
for local dir in $(boost-search-dirs)
{
if [ path.glob $(dir)/../../../ : boost/version.hpp ]
{
boost-root += $(dir)/../../../ ;
}
}
if $(boost-root)
{
boost-root = [ path.make $(boost-root[1]) ] ;
}
else
{
ECHO "Warning: couldn't find BOOST_ROOT in" $(boost-root) ;
}
}
path-constant BOOST_ROOT : $(boost-root) ;
modules.poke : QUICKBOOK_ROOT : $(top) ;
use-project /boost : $(BOOST_ROOT) ;

View File

@@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_ALGO_CONSTEXPR</pre></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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_ASSERT</span></h2>
<p>BOOST_PARSER_ASSERT</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_ASSERT(condition)</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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">
<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_STD_TUPLE.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_OSTREAM.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="BOOST_PARSER_CONSTEXPR"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_CONSTEXPR</span></h2>
<p>BOOST_PARSER_CONSTEXPR</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_CONSTEXPR</pre></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="BOOST_PARSER_USE_STD_TUPLE.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_OSTREAM.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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 &lt;boost/parser/parser_fwd.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_DEFINE_RULES</span></h2>
<p>BOOST_PARSER_DEFINE_RULES</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>BOOST_PARSER_DEFINE_RULES(...)</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<link rel="prev" href="BOOST_PARSER_ASSERT.html" title="Macro BOOST_PARSER_ASSERT">
<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_HANA_id31.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_DISABLE_CONCEPTS</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_MAX_AGGREGATE_SIZE</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<link rel="prev" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<link rel="next" href="BOOST_PARSER_ASSERT.html" title="Macro BOOST_PARSER_ASSERT">
<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/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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_NO_RUNTIME_ASSERTIONS</pre></div>
<div class="refsect1">
<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>
<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="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>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_SUBRANGE</span></h2>
<p>BOOST_PARSER_SUBRANGE</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_SUBRANGE</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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 &lt;boost/parser/error_handling.hpp&gt;">
<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_CONSTEXPR.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="header/boost/parser/error_handling_hpp.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="BOOST_PARSER_TRACE_OSTREAM"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_TRACE_OSTREAM</span></h2>
<p>BOOST_PARSER_TRACE_OSTREAM</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_TRACE_OSTREAM</pre></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="BOOST_PARSER_CONSTEXPR.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="header/boost/parser/error_handling_hpp.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<link rel="prev" href="BOOST_PARSER_SUBRANGE.html" title="Macro BOOST_PARSER_SUBRANGE">
<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_CON_id33.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_TRACE_TO_VS_OUTPUT</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_USE_CONCEPTS</span></h2>
<p>BOOST_PARSER_USE_CONCEPTS</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_USE_CONCEPTS</pre></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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_USE_HANA_TUPLE</pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">
<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">
<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_CONCEPTS.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_CONSTEXPR.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="BOOST_PARSER_USE_STD_TUPLE"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_USE_STD_TUPLE</span></h2>
<p>BOOST_PARSER_USE_STD_TUPLE</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="header/boost/parser/config_hpp.html" title="Header &lt;boost/parser/config.hpp&gt;">boost/parser/config.hpp</a>&gt;
</span>BOOST_PARSER_USE_STD_TUPLE</pre></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="BOOST_PARSER_USE_CONCEPTS.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_CONSTEXPR.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="_p.html" title="Global _p">
<link rel="next" href="omit.html" title="Global omit">
<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="_p.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="omit.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.Inf"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global Inf</span></h2>
<p>boost::parser::Inf</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>int64_t const Inf<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id37039"></a><h2>Description</h2>
<p>A very large sentinel value used to represent pseudo-infinity. </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="_p.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="omit.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_val.html" title="Function _val">
<link rel="next" href="_where.html" title="Function template _where">
<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="_val.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="_where.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._attr"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _attr</span></h2>
<p>boost::parser::_attr</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_val.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="_where.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_where.html" title="Function template _where">
<link rel="next" href="_end.html" title="Function template _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="_where.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="_end.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._begin"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _begin</span></h2>
<p>boost::parser::_begin</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_where.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="_end.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_begin.html" title="Function template _begin">
<link rel="next" href="_pass.html" title="Function template _pass">
<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="_begin.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="_pass.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._end"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _end</span></h2>
<p>boost::parser::_end</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id41124"></a><h2>Description</h2>
<p>Returns an iterator to the end of the entire sequence being parsed. </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="_begin.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="_pass.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_globals.html" title="Function template _globals">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _error_handler</span></h2>
<p>boost::parser::_error_handler</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</span>
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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_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>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_params.html" title="Function template _params">
<link rel="next" href="_error_handler.html" title="Function template _error_handler">
<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="_params.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="_error_handler.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._globals"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _globals</span></h2>
<p>boost::parser::_globals</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_params.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="_error_handler.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_pass.html" title="Function template _pass">
<link rel="next" href="_params.html" title="Function template _params">
<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="_pass.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="_params.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._locals"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _locals</span></h2>
<p>boost::parser::_locals</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_pass.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="_params.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="trace.html" title="Type trace">
<link rel="next" href="Inf.html" title="Global Inf">
<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="trace.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="Inf.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._p"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global _p</span></h2>
<p>boost::parser::_p</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> _p<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="trace.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="Inf.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_locals.html" title="Function template _locals">
<link rel="next" href="_globals.html" title="Function template _globals">
<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="_locals.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="_globals.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._params"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _params</span></h2>
<p>boost::parser::_params</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_locals.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="_globals.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_end.html" title="Function template _end">
<link rel="next" href="_locals.html" title="Function template _locals">
<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="_end.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="_locals.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._pass"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _pass</span></h2>
<p>boost::parser::_pass</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_end.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="_locals.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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="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>
<div class="refnamediv">
<h2><span class="refentrytitle">Function _val</span></h2>
<p>boost::parser::_val</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">_val</span><span class="special">(</span>Context const <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="_attr.html" title="Function template _attr">
<link rel="next" href="_begin.html" title="Function template _begin">
<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_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="_begin.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser._where"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template _where</span></h2>
<p>boost::parser::_where</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="_attr.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="_begin.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="next" href="attr_parser.html" title="Struct template attr_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="../../header/boost/parser/parser_fwd_hpp.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_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.action_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template action_parser</span></h2>
<p>boost::parser::action_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">typename</span> Action<span class="special">&gt;</span>
<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="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>
<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="../../header/boost/parser/parser_fwd_hpp.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_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/transcode_view_hpp.html" title="Header &lt;boost/parser/transcode_view.hpp&gt;">
<link rel="prev" href="as_utf8.html" title="Global as_utf8">
<link rel="next" href="as_utf32.html" title="Global as_utf32">
<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="as_utf8.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/transcode_view_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="as_utf32.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.as_utf16"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global as_utf16</span></h2>
<p>boost::parser::as_utf16</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/transcode_view_hpp.html" title="Header &lt;boost/parser/transcode_view.hpp&gt;">boost/parser/transcode_view.hpp</a>&gt;
</span>constexpr auto as_utf16<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="as_utf8.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/transcode_view_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="as_utf32.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/transcode_view_hpp.html" title="Header &lt;boost/parser/transcode_view.hpp&gt;">
<link rel="prev" href="as_utf16.html" title="Global as_utf16">
<link rel="next" href="../../header/boost/parser/transform_replace_hpp.html" title="Header &lt;boost/parser/transform_replace.hpp&gt;">
<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="as_utf16.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/transcode_view_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/transform_replace_hpp.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.as_utf32"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global as_utf32</span></h2>
<p>boost::parser::as_utf32</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/transcode_view_hpp.html" title="Header &lt;boost/parser/transcode_view.hpp&gt;">boost/parser/transcode_view.hpp</a>&gt;
</span>constexpr auto as_utf32<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="as_utf16.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/transcode_view_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/transform_replace_hpp.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/transcode_view_hpp.html" title="Header &lt;boost/parser/transcode_view.hpp&gt;">
<link rel="prev" href="utf8_view.html" title="Class template utf8_view">
<link rel="next" href="as_utf16.html" title="Global as_utf16">
<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="utf8_view.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/transcode_view_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="as_utf16.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.as_utf8"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global as_utf8</span></h2>
<p>boost::parser::as_utf8</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/transcode_view_hpp.html" title="Header &lt;boost/parser/transcode_view.hpp&gt;">boost/parser/transcode_view.hpp</a>&gt;
</span>constexpr auto as_utf8<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="utf8_view.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/transcode_view_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="as_utf16.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="transform.html" title="Function template transform">
<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_id9.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.attr"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template attr</span></h2>
<p>boost::parser::attr</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Attribute<span class="special">&gt;</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="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>
<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="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>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="action_parser.html" title="Struct template action_parser">
<link rel="next" href="callback_rule.html" title="Struct template callback_rule">
<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="action_parser.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="callback_rule.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.attr_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template attr_parser</span></h2>
<p>boost::parser::attr_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Attribute<span class="special">&gt;</span>
<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="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>
<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="action_parser.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="callback_rule.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,47 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template attribute</span></h2>
<p>boost::parser::attribute</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> R<span class="special">,</span> <span class="keyword">typename</span> Parser<span class="special">&gt;</span>
<span class="keyword">struct</span> <a class="link" href="attribute.html" title="Struct template attribute">attribute</a> <span class="special">{</span>
<span class="comment">// types</span>
<span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.parser.attribute.initial_type"></a><span class="identifier">initial_type</span><span class="special">;</span>
<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="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>
<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="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>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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">
<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="null_sentinel_t.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="enable_optional.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.attribute_t"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition attribute_t</span></h2>
<p>attribute_t</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>
<span class="keyword">typedef</span> typename <a class="link" href="attribute.html" title="Struct template attribute">attribute</a><span class="special">&lt;</span> R<span class="special">,</span> Parser <span class="special">&gt;</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="id40936"></a><h2>Description</h2>
<p>An alias for <code class="computeroutput">typename attribute&lt;R, Parser&gt;::type</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="null_sentinel_t.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="enable_optional.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="bool_.html" title="Global bool_">
<link rel="next" href="oct.html" title="Global oct">
<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="bool_.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="oct.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.bin"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global bin</span></h2>
<p>boost::parser::bin</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="uint_parser.html" title="Struct template uint_parser">uint_parser</a><span class="special">&lt;</span> unsigned int<span class="special">,</span> <span class="number">2</span> <span class="special">&gt;</span> <span class="special">&gt;</span> bin<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="bool_.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="oct.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="ws.html" title="Global ws">
<link rel="next" href="digit.html" title="Global digit">
<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="ws.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="digit.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.blank"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global blank</span></h2>
<p>boost::parser::blank</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="ws_parser.html" title="Struct template ws_parser">ws_parser</a><span class="special">&lt;</span> false<span class="special">,</span> true <span class="special">&gt;</span> <span class="special">&gt;</span> blank<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="ws.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="digit.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="upper.html" title="Global upper">
<link rel="next" href="bin.html" title="Global bin">
<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="upper.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="bin.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.bool_"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global bool_</span></h2>
<p>boost::parser::bool_</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> bool_parser <span class="special">&gt;</span> bool_<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="upper.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="bin.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,101 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">
<link rel="prev" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">
<link rel="next" href="rethrow_error_handler.html" title="Struct rethrow_error_handler">
<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/error_handling_hpp.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="rethrow_error_handler.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.callback_error_handler"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct callback_error_handler</span></h2>
<p>boost::parser::callback_error_handler</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">boost/parser/error_handling.hpp</a>&gt;
</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">&lt;</span> void<span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> const <span class="special">&amp;</span><span class="special">)</span><span class="special">&gt;</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#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#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#id40-bb">public member functions</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">&gt;</span>
<span class="identifier">error_handler_result</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">&lt;</span> Iter <span class="special">&gt;</span> const <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">&gt;</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">&amp;</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">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</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>
<span class="identifier">callback_type</span> <span class="identifier">warning_</span><span class="special">;</span>
<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="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="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="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="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="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="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">&lt;</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">&gt;</span>
<span class="identifier">error_handler_result</span>
<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">&lt;</span> Iter <span class="special">&gt;</span> const <span class="special">&amp;</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">&lt;</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">&gt;</span>
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">&amp;</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">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</span>
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">&amp;</span> context<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</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="../../header/boost/parser/error_handling_hpp.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="rethrow_error_handler.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,69 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
bool <span class="identifier">callback_parse</span><span class="special">(</span>R const <span class="special">&amp;</span> r<span class="special">,</span>
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">&gt;</span> const <span class="special">&amp;</span> parser<span class="special">,</span>
Callbacks const <span class="special">&amp;</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="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>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Template Parameters:</span></p></td>
<td><div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="computeroutput">ErrorHandler</code></span></p></td>
<td><p>Constrained by <code class="computeroutput">error_handler&lt;ErrorHandler,std::ranges::iterator_t&lt;decltype(subrange_of(r))&gt;, std::ranges::sentinel_t&lt;decltype(subrange_of(r))&gt;, GlobalState&gt;</code>, where <code class="computeroutput">subrange_of</code> is an implementation detail that: creates subranges out of pointers; trims trailing zeros off of bounded arrays (such as string literals); and transcodes to UTF-32 if the input is non-<code class="computeroutput">char</code>. </p></td>
</tr></tbody>
</table></div></td>
</tr></tbody>
</table></div>
</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="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>

View File

@@ -0,0 +1,70 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
bool <span class="identifier">callback_parse</span><span class="special">(</span>R const <span class="special">&amp;</span> r<span class="special">,</span>
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">&gt;</span> const <span class="special">&amp;</span> parser<span class="special">,</span>
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> SkipParser <span class="special">&gt;</span> const <span class="special">&amp;</span> skip<span class="special">,</span>
Callbacks const <span class="special">&amp;</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="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>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Template Parameters:</span></p></td>
<td><div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="computeroutput">ErrorHandler</code></span></p></td>
<td><p>Constrained by <code class="computeroutput">error_handler&lt;ErrorHandler,std::ranges::iterator_t&lt;decltype(subrange_of(r))&gt;, std::ranges::sentinel_t&lt;decltype(subrange_of(r))&gt;, GlobalState&gt;</code>, where <code class="computeroutput">subrange_of</code> is an implementation detail that: creates subranges out of pointers; trims trailing zeros off of bounded arrays (such as string literals); and transcodes to UTF-32 if the input is non-<code class="computeroutput">char</code>. </p></td>
</tr></tbody>
</table></div></td>
</tr></tbody>
</table></div>
</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="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>

View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</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">&lt;</span> <span class="identifier">I</span> <span class="special">&gt;</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">&lt;</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">&gt;</span> ErrorHandler<span class="special">,</span> <span class="keyword">typename</span> Callbacks<span class="special">&gt;</span>
bool <span class="identifier">callback_prefix_parse</span><span class="special">(</span><span class="identifier">I</span> <span class="special">&amp;</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">&lt;</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">&gt;</span> const <span class="special">&amp;</span> parser<span class="special">,</span>
Callbacks const <span class="special">&amp;</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="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>
<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="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>

View File

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</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">&lt;</span> <span class="identifier">I</span> <span class="special">&gt;</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">&lt;</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">&gt;</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">&gt;</span>
bool <span class="identifier">callback_prefix_parse</span><span class="special">(</span><span class="identifier">I</span> <span class="special">&amp;</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">&lt;</span> Parser<span class="special">,</span> GlobalState<span class="special">,</span> ErrorHandler <span class="special">&gt;</span> const <span class="special">&amp;</span> parser<span class="special">,</span>
<a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> SkipParser <span class="special">&gt;</span> const <span class="special">&amp;</span> skip<span class="special">,</span>
Callbacks const <span class="special">&amp;</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="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>
<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="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>

View File

@@ -0,0 +1,46 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="attr_parser.html" title="Struct template attr_parser">
<link rel="next" href="char_parser.html" title="Struct template char_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="attr_parser.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="char_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.callback_rule"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template callback_rule</span></h2>
<p>boost::parser::callback_rule</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TagType<span class="special">,</span> <span class="keyword">typename</span> Attribute <span class="special">=</span> <span class="identifier">no_attribute</span><span class="special">,</span>
<span class="keyword">typename</span> LocalState <span class="special">=</span> <span class="identifier">no_local_state</span><span class="special">,</span>
<span class="keyword">typename</span> ParamsTuple <span class="special">=</span> <span class="identifier">no_params</span><span class="special">&gt;</span>
<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="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>
<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="attr_parser.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="char_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="eoi.html" title="Global eoi">
<link rel="next" href="cp.html" title="Global cp">
<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="eoi.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="cp.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.char_"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global char_</span></h2>
<p>boost::parser::char_</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> char_<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="eoi.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="cp.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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">
<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_rule.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="char_set_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.char_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template char_parser</span></h2>
<p>boost::parser::char_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</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">&gt;</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="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>
<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="callback_rule.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="char_set_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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">
<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="char_parser.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="char_subrange_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.char_set_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template char_set_parser</span></h2>
<p>boost::parser::char_set_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Tag<span class="special">&gt;</span>
<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="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>
<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="char_parser.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="char_subrange_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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">
<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="char_set_parser.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="eps_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.char_subrange_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template char_subrange_parser</span></h2>
<p>boost::parser::char_subrange_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Tag<span class="special">&gt;</span>
<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="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>
<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="char_set_parser.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="eps_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="hex_digit.html" title="Global hex_digit">
<link rel="next" href="punct.html" title="Global punct">
<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="hex_digit.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="punct.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.control"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global control</span></h2>
<p>boost::parser::control</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> control<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="hex_digit.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="punct.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="char_.html" title="Global char_">
<link rel="next" href="cu.html" title="Global cu">
<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="char_.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="cu.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.cp"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global cp</span></h2>
<p>boost::parser::cp</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> cp<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="char_.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="cu.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="cp.html" title="Global cp">
<link rel="next" href="quoted_string.html" title="Global quoted_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="cp.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="quoted_string.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.cu"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global cu</span></h2>
<p>boost::parser::cu</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> cu<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="cp.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="quoted_string.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,86 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">
<link rel="prev" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">
<link rel="next" href="line_position.html" title="Struct template line_position">
<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/error_handling_fwd_hpp.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="line_position.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.default_error_handler"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct default_error_handler</span></h2>
<p>boost::parser::default_error_handler</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">boost/parser/error_handling_fwd.hpp</a>&gt;
</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#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#id54-bb">public member functions</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">&gt;</span>
<span class="identifier">error_handler_result</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">&lt;</span> Iter <span class="special">&gt;</span> const <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">&gt;</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">&amp;</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">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</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">&amp;</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="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="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="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="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">&lt;</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">&gt;</span>
<span class="identifier">error_handler_result</span>
<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">&lt;</span> Iter <span class="special">&gt;</span> const <span class="special">&amp;</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">&lt;</span><span class="keyword">typename</span> Context<span class="special">,</span> <span class="keyword">typename</span> Iter<span class="special">&gt;</span>
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">&amp;</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">&lt;</span><span class="keyword">typename</span> Context<span class="special">&gt;</span>
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">&amp;</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>
</div>
</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="../../header/boost/parser/error_handling_fwd_hpp.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="line_position.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,55 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="attribute.html" title="Struct template attribute">
<link rel="next" href="directive.html" title="Struct template directive">
<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="attribute.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="directive.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.delimited_seq_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template delimited_seq_parser</span></h2>
<p>boost::parser::delimited_seq_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">typename</span> DelimiterParser<span class="special">&gt;</span>
<span class="keyword">struct</span> <a class="link" href="delimited_seq_parser.html" title="Struct template delimited_seq_parser">delimited_seq_parser</a> <span class="special">:</span>
<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">&lt;</span> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">DelimiterParser</span> <span class="special">&gt;</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#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="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="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="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>
<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="attribute.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="directive.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">
<link rel="prev" href="error_handler_result.html" title="Type error_handler_result">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Type diagnostic_kind</span></h2>
<p>boost::parser::diagnostic_kind</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">boost/parser/error_handling_fwd.hpp</a>&gt;
</span>
<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="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>
<dd>An error diagnostic. <p>A warning diagnostic. </p>
</dd>
</dl></div>
</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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="blank.html" title="Global blank">
<link rel="next" href="hex_digit.html" title="Global hex_digit">
<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="blank.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="hex_digit.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.digit"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global digit</span></h2>
<p>boost::parser::digit</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> digit_parser <span class="special">&gt;</span> digit<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="blank.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="hex_digit.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,54 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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">
<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="delimited_seq_parser.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_directive.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.directive"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template directive</span></h2>
<p>boost::parser::directive</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">template</span><span class="special">&lt;</span> <span class="keyword">class</span> <span class="special">&gt;</span> <span class="keyword">class</span> Parser<span class="special">&gt;</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#id98-bb">public member functions</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Parser2<span class="special">&gt;</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">&lt;</span> Parser2 <span class="special">&gt;</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="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="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">&lt;</span><span class="keyword">typename</span> Parser2<span class="special">&gt;</span>
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">&lt;</span> Parser2 <span class="special">&gt;</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>
<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="delimited_seq_parser.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_directive.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="float_.html" title="Global float_">
<link rel="next" href="with_globals.html" title="Function template with_globals">
<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="float_.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="with_globals.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.double_"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global double_</span></h2>
<p>boost::parser::double_</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a><span class="special">&lt;</span> double <span class="special">&gt;</span> <span class="special">&gt;</span> double_<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="float_.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="with_globals.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="attribute_t.html" title="Type definition attribute_t">
<link rel="next" href="enable_variant.html" title="Global enable_variant">
<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="attribute_t.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="enable_variant.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.enable_optional"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global enable_optional</span></h2>
<p>boost::parser::enable_optional</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>constexpr bool enable_optional<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="attribute_t.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="enable_variant.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="enable_optional.html" title="Global enable_optional">
<link rel="next" href="sorted.html" title="Global sorted">
<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="enable_optional.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="sorted.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.enable_variant"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global enable_variant</span></h2>
<p>boost::parser::enable_variant</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span>constexpr bool enable_variant<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="enable_optional.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="sorted.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="eps.html" title="Global eps">
<link rel="next" href="char_.html" title="Global char_">
<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="eps.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="char_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.eoi"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global eoi</span></h2>
<p>boost::parser::eoi</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> eoi_parser <span class="special">&gt;</span> eoi<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id37279"></a><h2>Description</h2>
<p>The end-of-input parser. It matches only the end of input. </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="eps.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="char_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="quoted_string.html" title="Global quoted_string">
<link rel="next" href="ws.html" title="Global ws">
<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="quoted_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="ws.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.eol"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global eol</span></h2>
<p>boost::parser::eol</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="ws_parser.html" title="Struct template ws_parser">ws_parser</a><span class="special">&lt;</span> true<span class="special">,</span> false <span class="special">&gt;</span> <span class="special">&gt;</span> eol<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="quoted_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="ws.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="separate.html" title="Global separate">
<link rel="next" href="eoi.html" title="Global eoi">
<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="separate.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="eoi.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.eps"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global eps</span></h2>
<p>boost::parser::eps</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> eps<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="separate.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="eoi.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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">
<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="char_subrange_parser.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="expect_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.eps_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template eps_parser</span></h2>
<p>boost::parser::eps_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Predicate<span class="special">&gt;</span>
<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="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>
<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="char_subrange_parser.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="expect_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">
<link rel="prev" href="stream_error_handler.html" title="Struct stream_error_handler">
<link rel="next" href="diagnostic_kind.html" title="Type diagnostic_kind">
<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="stream_error_handler.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="diagnostic_kind.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.error_handler_result"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type error_handler_result</span></h2>
<p>boost::parser::error_handler_result</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">boost/parser/error_handling_fwd.hpp</a>&gt;
</span>
<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="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>
<dd>Fail the top-level parse. <p>Re-throw the parse error exception. </p>
</dd>
</dl></div>
</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="stream_error_handler.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="diagnostic_kind.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="eps_parser.html" title="Struct template eps_parser">
<link rel="next" href="float_parser.html" title="Struct template float_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="eps_parser.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="float_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.expect_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template expect_parser</span></h2>
<p>boost::parser::expect_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Parser<span class="special">,</span> <span class="keyword">bool</span> FailOnMatch<span class="special">&gt;</span>
<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="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>
<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="eps_parser.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="float_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,45 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">
<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 &lt;boost/parser/error_handling_fwd.hpp&gt;">
<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="find_line_position.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="../../header/boost/parser/error_handling_fwd_hpp.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.find_line_end"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template find_line_end</span></h2>
<p>boost::parser::find_line_end</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">boost/parser/error_handling.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iter<span class="special">,</span> <span class="keyword">typename</span> Sentinel<span class="special">&gt;</span>
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="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>
</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="find_line_position.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="../../header/boost/parser/error_handling_fwd_hpp.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template find_line_position</span></h2>
<p>boost::parser::find_line_position</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_hpp.html" title="Header &lt;boost/parser/error_handling.hpp&gt;">boost/parser/error_handling.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iter<span class="special">&gt;</span>
<a class="link" href="line_position.html" title="Struct template line_position">line_position</a><span class="special">&lt;</span> Iter <span class="special">&gt;</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="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>
<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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="long_long.html" title="Global long_long">
<link rel="next" href="double_.html" title="Global double_">
<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="long_long.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="double_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.float_"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global float_</span></h2>
<p>boost::parser::float_</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="float_parser.html" title="Struct template float_parser">float_parser</a><span class="special">&lt;</span> float <span class="special">&gt;</span> <span class="special">&gt;</span> float_<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="long_long.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="double_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="expect_parser.html" title="Struct template expect_parser">
<link rel="next" href="int_parser.html" title="Struct template int_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="expect_parser.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="int_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.float_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template float_parser</span></h2>
<p>boost::parser::float_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span>
<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="id40317"></a><h2>Description</h2>
<p>Matches a floating point number, producing an attribute of type <code class="computeroutput">T</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="expect_parser.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="int_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">
<link rel="prev" href="llong.html" title="Type definition llong">
<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/rationale.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.get"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template get</span></h2>
<p>boost::parser::get</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">boost/parser/tuple.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
constexpr decltype<span class="special">(</span>auto<span class="special">)</span> <span class="identifier">get</span><span class="special">(</span>T <span class="special">&amp;&amp;</span> x<span class="special">,</span> <span class="identifier">integral_constant</span><span class="special">&lt;</span> U<span class="special">,</span> <span class="identifier">I</span> <span class="special">&gt;</span> i<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="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>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="oct.html" title="Global oct">
<link rel="next" href="ushort_.html" title="Global ushort_">
<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="oct.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="ushort_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.hex"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global hex</span></h2>
<p>boost::parser::hex</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="uint_parser.html" title="Struct template uint_parser">uint_parser</a><span class="special">&lt;</span> unsigned int<span class="special">,</span> <span class="number">16</span> <span class="special">&gt;</span> <span class="special">&gt;</span> hex<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="oct.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="ushort_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="digit.html" title="Global digit">
<link rel="next" href="control.html" title="Global control">
<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="digit.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="control.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.hex_digit"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global hex_digit</span></h2>
<p>boost::parser::hex_digit</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</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="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>
<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="digit.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="control.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template if_</span></h2>
<p>boost::parser::if_</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Predicate<span class="special">&gt;</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="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>
<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="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>

View File

@@ -0,0 +1,57 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="directive.html" title="Struct template directive">
<link rel="next" href="merge_directive.html" title="Struct merge_directive">
<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="directive.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="merge_directive.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.if_directive"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template if_directive</span></h2>
<p>boost::parser::if_directive</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Predicate<span class="special">&gt;</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#id100-bb">public member functions</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Parser2<span class="special">&gt;</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">&lt;</span> Parser2 <span class="special">&gt;</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>
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="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="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">&lt;</span><span class="keyword">typename</span> Parser2<span class="special">&gt;</span>
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">&lt;</span> Parser2 <span class="special">&gt;</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>
<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="directive.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="merge_directive.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="short_.html" title="Global short_">
<link rel="next" href="long_.html" title="Global long_">
<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="short_.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="long_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.int_"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global int_</span></h2>
<p>boost::parser::int_</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <a class="link" href="int_parser.html" title="Struct template int_parser">int_parser</a><span class="special">&lt;</span> int <span class="special">&gt;</span> <span class="special">&gt;</span> int_<span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="short_.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="long_.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,45 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<link rel="prev" href="float_parser.html" title="Struct template float_parser">
<link rel="next" href="lexeme_parser.html" title="Struct template lexeme_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="float_parser.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="lexeme_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.int_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template int_parser</span></h2>
<p>boost::parser::int_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">int</span> Radix <span class="special">=</span> <span class="number">10</span><span class="special">,</span> <span class="keyword">int</span> MinDigits <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="keyword">int</span> MaxDigits <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span>
<span class="keyword">typename</span> Expected <span class="special">=</span> detail::nope<span class="special">&gt;</span>
<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="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>
<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="float_parser.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="lexeme_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">
<link rel="prev" href="tuple.html" title="Type definition tuple">
<link rel="next" href="llong.html" title="Type definition llong">
<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="tuple.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="llong.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.integral_constant"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition integral_constant</span></h2>
<p>integral_constant</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">boost/parser/tuple.hpp</a>&gt;
</span>
<span class="keyword">typedef</span> <span class="identifier">hana</span><span class="special">::</span><span class="identifier">integral_constant</span><span class="special">&lt;</span> T<span class="special">,</span> <span class="identifier">I</span> <span class="special">&gt;</span> <span class="identifier">integral_constant</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id45435"></a><h2>Description</h2>
<p>A template alias that is <code class="computeroutput">boost::hana::integral_constant&lt;T, I&gt;</code> if <code class="computeroutput">BOOST_PARSER_USE_HANA_TUPLE</code> is defined, and <code class="computeroutput">std::integral_constant&lt;T, I&gt;</code> otherwise. </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="tuple.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="llong.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="string_view.html" title="Global string_view">
<link rel="next" href="no_case.html" title="Global no_case">
<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="string_view.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="no_case.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.lexeme"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global lexeme</span></h2>
<p>boost::parser::lexeme</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>constexpr <a class="link" href="directive.html" title="Struct template directive">directive</a><span class="special">&lt;</span> <a class="link" href="lexeme_parser.html" title="Struct template lexeme_parser">lexeme_parser</a> <span class="special">&gt;</span> lexeme<span class="special">;</span></pre></div>
<div class="refsect1">
<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>&lt;<a class="link" href="lexeme_parser.html" title="Struct template lexeme_parser">lexeme_parser</a>&lt;P&gt;&gt;</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>&lt;P&gt;</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="string_view.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="no_case.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">
<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">
<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="int_parser.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="no_case_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.lexeme_parser"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template lexeme_parser</span></h2>
<p>boost::parser::lexeme_parser</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_fwd_hpp.html" title="Header &lt;boost/parser/parser_fwd.hpp&gt;">boost/parser/parser_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Parser<span class="special">&gt;</span>
<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="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>
<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="int_parser.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="no_case_parser.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">
<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">
<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="default_error_handler.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="parse_error.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.line_position"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template line_position</span></h2>
<p>boost::parser::line_position</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/error_handling_fwd_hpp.html" title="Header &lt;boost/parser/error_handling_fwd.hpp&gt;">boost/parser/error_handling_fwd.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iter<span class="special">&gt;</span>
<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>
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="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>
<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="default_error_handler.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="parse_error.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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_id10"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function lit</span></h2>
<p>boost::parser::lit</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id38095"></a><h2>Description</h2>
<p>Returns a literal code point parser that produces no attribute. </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="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>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_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_id11"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function lit</span></h2>
<p>boost::parser::lit</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id38112"></a><h2>Description</h2>
<p>Returns a literal code point parser that produces no attribute. </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="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>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="string.html" title="Function template string">
<link rel="next" href="if_.html" title="Function template if_">
<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="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_id12"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template lit</span></h2>
<p>boost::parser::lit</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">parsable_range_like</span> R<span class="special">&gt;</span> constexpr auto <span class="identifier">lit</span><span class="special">(</span>R <span class="special">&amp;&amp;</span> str<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<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>
<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="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>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="attr.html" title="Function template attr">
<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_id10.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id38078"></a><h2>Description</h2>
<p>Returns a literal code point parser that produces no attribute. </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="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>

View File

@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
<link rel="up" href="../../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">
<link rel="prev" href="../../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">
<link rel="next" href="../tuple.html" title="Type definition 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="../../../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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/tuple_hpp.html" title="Header &lt;boost/parser/tuple.hpp&gt;">boost/parser/tuple.hpp</a>&gt;
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">char</span><span class="special">...</span> chars<span class="special">&gt;</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="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>
<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="../../../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>
</body>
</html>

View 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 &lt;boost/parser/parser.hpp&gt;">
<link rel="prev" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">
<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_id86.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32401"></a><h2>Description</h2>
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(c)</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="../../../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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32421"></a><h2>Description</h2>
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(c)</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_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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32441"></a><h2>Description</h2>
<p>Returns a literal parser equivalent to <code class="computeroutput">lit(c)</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_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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32536"></a><h2>Description</h2>
<p>Returns a character parser equivalent to <code class="computeroutput">char_(c)</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_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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32556"></a><h2>Description</h2>
<p>Returns a character parser equivalent to <code class="computeroutput">char_(c)</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_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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32576"></a><h2>Description</h2>
<p>Returns a character parser equivalent to <code class="computeroutput">char_(c)</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_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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</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>

View 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 &lt;boost/parser/parser.hpp&gt;">
<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_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_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>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../header/boost/parser/parser_hpp.html" title="Header &lt;boost/parser/parser.hpp&gt;">boost/parser/parser.hpp</a>&gt;
</span>
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="id32651"></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_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>

Some files were not shown because too many files have changed in this diff Show More