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

77 Commits

Author SHA1 Message Date
Zach Laine
e22eb76f13 Update docs. 2024-12-08 17:19:48 -06:00
Zach Laine
05327b94c4 Merge branch 'ctre' into ctre_doc 2024-12-08 17:19:00 -06:00
Zach Laine
c6d35e8791 Address TODOs about resolving the value used in detail::token_with_value, and
doing transcoding for the match in detail::token_with_string_view.

See #202.
2024-12-08 17:16:15 -06:00
Zach Laine
ff1059695d Complete initial pass on token parsing documentation.
See #202.
2024-12-07 23:50:27 -06:00
Zach Laine
bd3695bb94 Restore old Jamfile.v2. 2024-12-07 22:17:39 -06:00
Zach Laine
9a958224e4 Remove mooted TODOs. 2024-12-07 21:57:53 -06:00
Zach Laine
0463ecb4f6 Add Doxygen comments to all normalize_iterators() overloads, and indicate
which error handling function apply this function to their inputs and which do
not.

See #202.
2024-12-07 19:02:08 -06:00
Zach Laine
5c036a778a Add lexer_and_parser_terminals.cpp, based on parser.cpp, to more fully
exercise the token parsing code; fix errors.

See #202.
2024-12-07 18:40:08 -06:00
Zach Laine
c3667f5265 Add proper const/non-const interop to tokens_view::iterator.
See #202.
2024-12-06 17:29:38 -06:00
Zach Laine
e2f015991c Pull the single-character-fetching logic of the token parsing modes of the
character parsers out into a standalone detail:: function; use it in all the
character parsers.

See #202.
2024-12-05 18:27:52 -06:00
Zach Laine
2b48b8656e Fix behavior of tokens_view::iterator::base() in the non-common_range case.
See #202.
2024-12-04 23:44:18 -06:00
Zach Laine
df966c78f6 Use a move instead of a copy in detail::make_parse_result(). 2024-12-02 21:46:51 -06:00
Zach Laine
9733445118 Trim trailing null from array ranges adapted by the to_tokens range adaptor.
See #202.
2024-12-02 21:46:51 -06:00
Zach Laine
b1c5c4b487 Add char to the set of types that can be used as token attributes.
See #202.
2024-12-02 21:46:51 -06:00
Zach Laine
96824b2013 Add a TODO. 2024-12-02 21:46:51 -06:00
Zach Laine
19952581f0 Extend support for token parsing to the prefix*parse() API. Add tests for the
full set of *parse() functions that support token parsing; fix errors.

See #202.
2024-12-02 21:46:36 -06:00
Zach Laine
06816abc62 Initial sketch of adapting lexeme and skip directives for use in token
parsing.

See #202.
2024-12-02 21:46:15 -06:00
Zach Laine
8f8791244a Adapt symbol_parser for use in token_parsing.
See #202.
2024-12-02 21:46:07 -06:00
Zach Laine
05a110c54d Initial sketch of adapting string_view_parser for use in token parsing.
See #202.
2024-12-01 20:36:42 -06:00
Zach Laine
cafd04c391 Fix return statement on the wrong side of macro guard.
See #202.
2024-12-01 20:27:27 -06:00
Zach Laine
3fd285c014 Correct memory safety issue in converting token iteratos to underlying
iterators.

See #202.
2024-12-01 20:26:22 -06:00
Zach Laine
bc6e9e3447 Grooming. 2024-11-30 17:35:06 -06:00
Zach Laine
eab7e82988 Slight simplification of code trying to detect token iterators.
See #202.
2024-11-30 17:24:05 -06:00
Zach Laine
655870000b Remove a mootetd TODO. 2024-11-29 20:17:49 -06:00
Zach Laine
039453079e Cruft removal. 2024-11-29 20:11:50 -06:00
Zach Laine
a908e950d5 Address TODO about removing detail::defulat_flags(). 2024-11-29 20:10:46 -06:00
Zach Laine
87e00a173d Add static_assert(std::integral<T> || std::floating_point<T>) to
detail::token_with_value, just in case.

See #202.
2024-11-29 20:03:39 -06:00
Zach Laine
3176c6f823 Fix error detected in tests of token caching introduced in doc examples. Make
sure not to copy tokens_view within the *parse() call graph.

See #202.
2024-11-29 20:00:28 -06:00
Zach Laine
92c4993b87 Documentation pass on the changes made so far to support token parsing.
See #202.
2024-11-29 20:00:28 -06:00
Zach Laine
9d67b0df7f Cruft removal. 2024-11-29 17:17:49 -06:00
Zach Laine
d4f4589ead Add TODOs. 2024-11-29 16:29:55 -06:00
Zach Laine
178d62a250 Preclude skipper *parse() overloads from token parsing with a static_assert.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
e654c9fda7 Macro guard private members of tokens_view from inclusion in Doxygen reference
entry.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
9dbf30241d Plumb a pointer to the tokens_view through to the parse context; change
seq_parser to use the tokens_view pointer from the contet to trim the cache at
an expectation point.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
f298bfe59b Remove the support for token_view::iterator -> underlying iterator translation
in *parse_impl(); add support to the error handlers and their support
functions directly instead.  There are simply too many APIs there that need
the translation to leave it to other code.

Add lex_error exception type, and add support for all the APIs that used to
take a parse_error param to now take either a parse_error or a lex_error.

Throw lex_error from failed parsing of lexed tokens in detail::make_token().

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
07cd667a91 Add TODOs. 2024-11-29 16:29:55 -06:00
Zach Laine
00510ed962 Add cases to tracing.cpp to cover the printing of token parsers; fix errors.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
1a5b7467ca Add a TODO. 2024-11-29 16:29:55 -06:00
Zach Laine
13a52e10f9 Cruft removal. 2024-11-29 16:29:55 -06:00
Zach Laine
67c3ec180c Add a smoke test for using token views as input to parse(); fix errors.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
8658f8cd6b Unify the implementations of the callback parse() API. 2024-11-29 16:29:55 -06:00
Zach Laine
f69d7acdd9 Unify the implementations of the non-callback parse() API, to make it posible
for the new token parsingcode path to use that one unified implementation too.
The previous implementation dispatched like parse() -> prefix_parse(), the
latter of which is incompatible with token parsing.
2024-11-29 16:29:55 -06:00
Zach Laine
542bdb0e0e Unify the detail::{skip_,}parse_impl overloads. 2024-11-29 16:29:55 -06:00
Zach Laine
f3e326e344 Unify the two detail::skip_parse_impl overloads. 2024-11-29 16:29:55 -06:00
Zach Laine
027d861b08 Unify the two detail::callback_*parse_impl overloads. 2024-11-29 16:29:55 -06:00
Zach Laine
6ab8f96e19 Unify the two detail::parse_impl overloads. 2024-11-29 16:29:55 -06:00
Zach Laine
2b518bc74d Fix multiple thinkos in tokens_view.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
1421592876 Add a std::string data member, and an override of what() to parser_error, to
ensure that the messge is preserved exactly when translating exceptions in
failed lexer parsing.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
092a76173b Change token<> to include the position of the start of the token in the
underlying sequence, and change the way that the error handler is invoked, so
that it detects token iterators, and passes iterators into the underlying
range to the error handler, instead of the token iterators.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
8830dfed02 Alter detail::make_input_subrange() to return its input unchanged when the
range's value type is a specializtion of token.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
935322649b Add an iterator/sentinel overload of detail::make_input_subrange(), so that an
overload of this function is called in every *parse() overload.
2024-11-29 16:29:55 -06:00
Zach Laine
7566dbdde1 Remove the pointer case from detail::make_input_range(). 2024-11-29 16:29:55 -06:00
Zach Laine
298bae0058 Sketch in the printing implemetnation for token_parser.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
b6c1229c54 Reorganize the lexer-related header inclusion scheme slightly. lexer.hpp is
now required to come before parser.hpp.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
793e519eb8 Put detail::make_input_subrange back into parer.hpp.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
416607c954 Add token_parser::operator()(range) to support matchign against tokens that
producestring_views.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
e419ef2a60 Completely rethink the relationship among token_parser, token_spec_t, and
parser_interface.  token_spec is now a variable template that generates a
parser_interface wrapping a token_parser, which parameterized on the
token_spec_t.  This way, a single token_spec use can be used to specify how to
lex, and how to parse.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
1a405f8133 Sketch in operator() on token_spec_t.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
fbc21ef2fd Sketch in support for matching tokens against expected values in token_parser.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
f00f4dfa75 Initial, partial sketch of token_parser.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
358adf247a Address the remaining non-documentation TODOs in the lexer header and tests.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
ee8ab13779 Extend the lexer tests, addressing some of the testing TODOs; fix errors.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
391bb2b5b0 Factor out a lot of the lexer.cpp tests into a separate file.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
ad64fb6973 Use bitfields to reduce the size of token by a few bytes.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
6ed1152390 Switch from double to long double as token's floating point representation.
Therer's room for it, since it's in a union with a string_view anyway.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
51cc855dd7 Grooming. 2024-11-29 16:29:55 -06:00
Zach Laine
bf336fb096 Add much longer lexing test; fix errors.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
63483cb284 Specify the true/false and number token_specs in the adobe lexer test code to
use a bool and a double as its value, repsectively, instead of a string_view.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
8b24206aee Add a TODO. 2024-11-29 16:29:55 -06:00
Zach Laine
49213c428e Change all the existing lex runs to compare their output against an expected
sequence of tokens.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
3df6626e58 Rewrite a TODO. 2024-11-29 16:29:55 -06:00
Zach Laine
79f34ef252 Add support for an externally-supplied token cache.
See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
f465a75069 Add a token cache to tokens_view; grab a bunch of tokens at a time when
advancing past the end of the cache.  Filter out whitespace tokens entirely.
Make tokens_view noncopyable+nonmovable.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
6159a481db Make tokens_view regular by removing tokens_view::tokens_, which creates
internal references.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
cd9c7492dd Add a range adaptor for token_view; token_view -> tokens_view. Break
detail::make_input_subrange() out into its own header for reuse.

See #202.
2024-11-29 16:29:55 -06:00
Zach Laine
9a1fadbe82 Remove/update some TODOs. 2024-11-29 16:29:55 -06:00
Zach Laine
e5c101378b Initial sketch of a lexer for Boost.Parser, based on using CTRE as an external
dependency.  Lots of TODOs, somewhat thin testing, but the basics work.

See #202.
2024-11-29 16:29:55 -06:00
370 changed files with 43387 additions and 6114 deletions

View File

@@ -1,4 +1,4 @@
name: macos-13 - Clang 14
name: macos-12 - Clang 14
on:
push:
@@ -16,7 +16,7 @@ jobs:
matrix:
cxx_std: [17]
runs-on: macos-13
runs-on: macos-12
steps:
- uses: actions/checkout@v4

View File

@@ -57,7 +57,7 @@ Master status:
[![Windows MSVC](https://github.com/tzlaine/parser/actions/workflows/windows.yml/badge.svg?branch=master)](https://github.com/tzlaine/parser/actions/workflows/windows.yml)
[![macos-13 - Clang 14](https://github.com/tzlaine/parser/actions/workflows/macos-13.yml/badge.svg?branch=master)](https://github.com/tzlaine/parser/actions/workflows/macos-13.yml)
[![macos-12 - Clang 14](https://github.com/tzlaine/parser/actions/workflows/macos-12.yml/badge.svg?branch=master)](https://github.com/tzlaine/parser/actions/workflows/macos-12.yml)
Develop status:
@@ -67,6 +67,6 @@ Develop status:
[![Windows MSVC](https://github.com/tzlaine/parser/actions/workflows/windows.yml/badge.svg?branch=develop)](https://github.com/tzlaine/parser/actions/workflows/windows.yml)
[![macos-13 - Clang 14](https://github.com/tzlaine/parser/actions/workflows/macos-13.yml/badge.svg?branch=develop)](https://github.com/tzlaine/parser/actions/workflows/macos-13.yml)
[![macos-12 - Clang 14](https://github.com/tzlaine/parser/actions/workflows/macos-12.yml/badge.svg?branch=develop)](https://github.com/tzlaine/parser/actions/workflows/macos-12.yml)
[![License](https://img.shields.io/badge/license-boost-brightgreen.svg)](LICENSE_1_0.txt)

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 ]
install css : [ glob /home/tzlaine/boost_1_83_0/doc/src/*.css ]
: <location>html ;
install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ]
install images : [ glob /home/tzlaine/boost_1_83_0/doc/src/images/*.png ]
: <location>html/images ;
alias boostdoc : parser : : : <dependency>images_boostdoc ;
explicit boostdoc ;
alias boostrelease ;
explicit boostrelease ;
explicit css ;
explicit images ;

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_TOKEN_PO_id33.html" title="Macro BOOST_PARSER_TOKEN_POSITION_TYPE">
<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_TOKEN_PO_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_CONCEPTS.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="BOOST_PARSER_ALGO_CON_id34"></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_TOKEN_PO_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_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="id31113"></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="id44559"></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,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Macro BOOST_PARSER_DIAGNOSTIC_PUSH</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_OSTREAM.html" title="Macro BOOST_PARSER_TRACE_OSTREAM">
<link rel="next" href="BOOST_PARSER_DIAGNOST_id36.html" title="Macro BOOST_PARSER_DIAGNOSTIC_POP">
<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_OSTREAM.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_DIAGNOST_id36.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="BOOST_PARSER_DIAGNOST_id35"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_DIAGNOSTIC_PUSH</span></h2>
<p>BOOST_PARSER_DIAGNOSTIC_PUSH</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_DIAGNOSTIC_PUSH</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_OSTREAM.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_DIAGNOST_id36.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_DIAGNOSTIC_POP</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_DIAGNOST_id35.html" title="Macro BOOST_PARSER_DIAGNOSTIC_PUSH">
<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_DIAGNOST_id35.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_DIAGNOST_id36"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_DIAGNOSTIC_POP</span></h2>
<p>BOOST_PARSER_DIAGNOSTIC_POP</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_DIAGNOSTIC_POP</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_DIAGNOST_id35.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_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="id31133"></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="id31162"></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="id31099"></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="id31175"></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,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Macro BOOST_PARSER_TOKEN_POSITION_TYPE</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_ALGO_CON_id34.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_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_ALGO_CON_id34.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="BOOST_PARSER_TOKEN_PO_id33"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_PARSER_TOKEN_POSITION_TYPE</span></h2>
<p>BOOST_PARSER_TOKEN_POSITION_TYPE</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_TOKEN_POSITION_TYPE</pre></div>
<div class="refsect1">
<a name="id31206"></a><h2>Description</h2>
<p>When lexing is enabled, each token contains its position within the underlying range. To save a bit of space, an <code class="computeroutput">unsiged int</code> is used for this. If you parse input sequences longer than 2^32-1 characters, define <code class="computeroutput">BOOST_PARSER_TOKEN_POSITION_TYPE</code> to be a larger integral 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="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_ALGO_CON_id34.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="BOOST_PARSER_DIAGNOST_id35.html" title="Macro BOOST_PARSER_DIAGNOSTIC_PUSH">
<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="BOOST_PARSER_DIAGNOST_id35.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="BOOST_PARSER_DIAGNOST_id35.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_TOKEN_PO_id33.html" title="Macro BOOST_PARSER_TOKEN_POSITION_TYPE">
<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_TOKEN_PO_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="id31191"></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_TOKEN_PO_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_id34.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_id34.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_id34.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="id31147"></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><span class="identifier">int64_t</span> <span class="keyword">const</span> Inf<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id41804"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_attr</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46278"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_begin</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46337"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_end</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46365"></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>
<span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_error_handler</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46515"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_globals</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46486"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_locals</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46423"></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="id41787"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_params</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46453"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_pass</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46393"></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>
<span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_val</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46248"></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> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">_where</span><span class="special">(</span><span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46308"></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="id45204"></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><span class="keyword">constexpr</span> <span class="keyword">auto</span> as_utf16<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id50090"></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><span class="keyword">constexpr</span> <span class="keyword">auto</span> as_utf32<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id50108"></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><span class="keyword">constexpr</span> <span class="keyword">auto</span> as_utf8<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id50072"></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> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">attr</span><span class="special">(</span><span class="identifier">Attribute</span> a<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42901"></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="id45235"></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_id142.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_id142.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="id36793"></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_id142.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> <span class="keyword">typename</span> <a class="link" href="attribute.html" title="Struct template attribute">attribute</a><span class="special">&lt;</span> <span class="identifier">R</span><span class="special">,</span> <span class="identifier">Parser</span> <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="id46097"></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><span class="keyword">constexpr</span> <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> <span class="keyword">unsigned</span> <span class="keyword">int</span><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="id42360"></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><span class="keyword">constexpr</span> <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> <span class="keyword">false</span><span class="special">,</span> <span class="keyword">true</span> <span class="special">&gt;</span> <span class="special">&gt;</span> blank<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42213"></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><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <span class="identifier">bool_parser</span> <span class="special">&gt;</span> bool_<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42333"></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,102 @@
<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> <span class="keyword">void</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="keyword">const</span> <span class="special">&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#id42-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#id43-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#id44-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#id45-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#id46-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">,</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> Exception<span class="special">&gt;</span>
<span class="identifier">error_handler_result</span>
<a class="link" href="callback_error_handler.html#id47-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">Iter</span><span class="special">,</span> <span class="identifier">Sentinel</span><span class="special">,</span> <span class="identifier">Exception</span><span class="special">&lt;</span> <span class="identifier">Iter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <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>
<span class="keyword">void</span> <a class="link" href="callback_error_handler.html#id48-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">Iter</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">&gt;</span>
<span class="keyword">void</span> <a class="link" href="callback_error_handler.html#id49-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&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="id31651"></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="id31654"></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="id42-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="id43-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="id44-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="id45-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="id31721"></a><h3>
<a name="id46-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">,</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> Exception<span class="special">&gt;</span>
<span class="identifier">error_handler_result</span>
<a name="id47-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">Iter</span> first<span class="special">,</span> <span class="identifier">Sentinel</span> last<span class="special">,</span> <span class="identifier">Exception</span><span class="special">&lt;</span> <span class="identifier">Iter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <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>
<span class="keyword">void</span> <a name="id48-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">,</span> <span class="identifier">Iter</span> it<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<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>
<span class="keyword">void</span> <a name="id49-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&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>
<span class="keyword">bool</span> <span class="identifier">callback_parse</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span> <span class="special">&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> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> parser<span class="special">,</span>
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <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="id44331"></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>
<span class="keyword">bool</span> <span class="identifier">callback_parse</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span> <span class="special">&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> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">&gt;</span> <span class="keyword">const</span> <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> <span class="identifier">SkipParser</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> skip<span class="special">,</span>
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <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="id44516"></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>
<span class="keyword">bool</span> <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> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> parser<span class="special">,</span>
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <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="id44263"></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>
<span class="keyword">bool</span> <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> <span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">GlobalState</span><span class="special">,</span> <span class="identifier">ErrorHandler</span> <span class="special">&gt;</span> <span class="keyword">const</span> <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> <span class="identifier">SkipParser</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> skip<span class="special">,</span>
<span class="identifier">Callbacks</span> <span class="keyword">const</span> <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="id44438"></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="id45270"></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="id42070"></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> <span class="keyword">void</span><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="id45300"></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="id45325"></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="id45348"></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 character_id</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="ws_id.html" title="Global ws_id">
<link rel="next" href="is_token_v.html" title="Global is_token_v">
<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_id.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="is_token_v.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.character_id"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global character_id</span></h2>
<p>boost::parser::character_id</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">constexpr</span> <span class="keyword">int</span> character_id<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46164"></a><h2>Description</h2>
<p>The token ID used for single-character tokens. </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_id.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="is_token_v.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="id42266"></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="id42091"></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="id42111"></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,87 @@
<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="lex_error.html" title="Struct template lex_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="../../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="lex_error.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#id59-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#id60-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">,</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> Exception<span class="special">&gt;</span>
<span class="identifier">error_handler_result</span>
<a class="link" href="default_error_handler.html#id61-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">Iter</span><span class="special">,</span> <span class="identifier">Sentinel</span><span class="special">,</span> <span class="identifier">Exception</span><span class="special">&lt;</span> <span class="identifier">Iter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <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>
<span class="keyword">void</span> <a class="link" href="default_error_handler.html#id62-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">Iter</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">&gt;</span>
<span class="keyword">void</span> <a class="link" href="default_error_handler.html#id63-bb"><span class="identifier">diagnose</span></a><span class="special">(</span><span class="identifier">diagnostic_kind</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span><span class="special">,</span> <span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&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="id32588"></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="id32592"></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="id59-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="id32607"></a><h3>
<a name="id60-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">,</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> Exception<span class="special">&gt;</span>
<span class="identifier">error_handler_result</span>
<a name="id61-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">Iter</span> first<span class="special">,</span> <span class="identifier">Sentinel</span> last<span class="special">,</span> <span class="identifier">Exception</span><span class="special">&lt;</span> <span class="identifier">Iter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <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> or <code class="computeroutput"><code class="computeroutput"><a class="link" href="lex_error.html" title="Struct template lex_error">lex_error</a></code></code> exception thrown during parsing/lexing. 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>
<span class="keyword">void</span> <a name="id62-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&amp;</span> context<span class="special">,</span> <span class="identifier">Iter</span> it<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<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>
<span class="keyword">void</span> <a name="id63-bb"></a><span class="identifier">diagnose</span><span class="special">(</span><span class="identifier">diagnostic_kind</span> kind<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span> message<span class="special">,</span>
<span class="identifier">Context</span> <span class="keyword">const</span> <span class="special">&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="lex_error.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#id143-bb"><span class="identifier">delimited_seq_parser</span></a><span class="special">(</span><span class="identifier">Parser</span><span class="special">,</span> <span class="identifier">DelimiterParser</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36849"></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="id36861"></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="id143-bb"></a><span class="identifier">delimited_seq_parser</span><span class="special">(</span><span class="identifier">Parser</span> parser<span class="special">,</span> <span class="identifier">DelimiterParser</span> delimiter_parser<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
</div>
</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_id57.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_id57.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="id33388"></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_id57.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><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <span class="identifier">digit_parser</span> <span class="special">&gt;</span> digit<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42234"></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#id144-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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="directive.html#id145-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> <span class="identifier">Parser2</span> <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="id36921"></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="id36927"></a><h3>
<a name="id144-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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id145-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> <span class="identifier">Parser2</span> <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><span class="keyword">constexpr</span> <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> <span class="keyword">double</span> <span class="special">&gt;</span> <span class="special">&gt;</span> double_<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42679"></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><span class="keyword">constexpr</span> <span class="keyword">bool</span> enable_optional<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46114"></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="ws_id.html" title="Global ws_id">
<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="ws_id.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><span class="keyword">constexpr</span> <span class="keyword">bool</span> enable_variant<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46131"></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="ws_id.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><span class="keyword">constexpr</span> <a class="link" href="parser_interface.html" title="Struct template parser_interface">parser_interface</a><span class="special">&lt;</span> <span class="identifier">eoi_parser</span> <span class="special">&gt;</span> eoi<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42054"></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><span class="keyword">constexpr</span> <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> <span class="keyword">true</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span> <span class="special">&gt;</span> eol<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42163"></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="id42032"></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="id45371"></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="id33362"></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="id45399"></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>
<span class="identifier">Iter</span> <span class="identifier">find_line_end</span><span class="special">(</span><span class="identifier">Iter</span> it<span class="special">,</span> <span class="identifier">Sentinel</span> last<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id32349"></a><h2>Description</h2>
<p>Returns the iterator to the end of the line in which <code class="computeroutput">it</code> is found. Requires non-token iterators. <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="normalize_iterators_id41.html" title="Function template normalize_iterators">
<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="normalize_iterators_id41.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> <span class="identifier">Iter</span> <span class="special">&gt;</span> <span class="identifier">find_line_position</span><span class="special">(</span><span class="identifier">Iter</span> first<span class="special">,</span> <span class="identifier">Iter</span> it<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id32317"></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>. Requires non-token iterators. </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="normalize_iterators_id41.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><span class="keyword">constexpr</span> <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> <span class="keyword">float</span> <span class="special">&gt;</span> <span class="special">&gt;</span> float_<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42655"></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="id45425"></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>
<span class="keyword">constexpr</span> <span class="keyword">decltype</span><span class="special">(</span><span class="keyword">auto</span><span class="special">)</span> <span class="identifier">get</span><span class="special">(</span><span class="identifier">T</span> <span class="special">&amp;&amp;</span> x<span class="special">,</span> <span class="identifier">integral_constant</span><span class="special">&lt;</span> <span class="identifier">U</span><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="id51139"></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><span class="keyword">constexpr</span> <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> <span class="keyword">unsigned</span> <span class="keyword">int</span><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="id42416"></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="id42250"></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> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">if_</span><span class="special">(</span><span class="identifier">Predicate</span> pred<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id43041"></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#id146-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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="if_directive.html#id147-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> <span class="identifier">Parser2</span> <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>
<span class="identifier">Predicate</span> <span class="identifier">pred_</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36998"></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="id37003"></a><h3>
<a name="id146-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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id147-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> <span class="identifier">Parser2</span> <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><span class="keyword">constexpr</span> <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> <span class="keyword">int</span> <span class="special">&gt;</span> <span class="special">&gt;</span> int_<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42576"></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="id45464"></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> <span class="identifier">T</span><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="id51071"></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 is_token_v</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="character_id.html" title="Global character_id">
<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="character_id.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.is_token_v"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global is_token_v</span></h2>
<p>boost::parser::is_token_v</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">constexpr</span> <span class="keyword">bool</span> is_token_v<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id46180"></a><h2>Description</h2>
<p>A type trait that evaluates to <code class="computeroutput">true</code> iff <code class="computeroutput">T</code> is a specialization of <code class="computeroutput"><a class="link" href="token.html" title="Struct template token">boost::parser::token</a></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="character_id.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,65 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template lex_error</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="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="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="line_position.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.lex_error"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template lex_error</span></h2>
<p>boost::parser::lex_error</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="lex_error.html" title="Struct template lex_error">lex_error</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">runtime_error</span> <span class="special">{</span>
<span class="comment">// <a class="link" href="lex_error.html#boost.parser.lex_errorconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="lex_error.html#id64-bb"><span class="identifier">lex_error</span></a><span class="special">(</span><span class="identifier">Iter</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="lex_error.html#id65-bb">public member functions</a></span>
<span class="keyword">char</span> <span class="keyword">const</span> <span class="special">*</span> <a class="link" href="lex_error.html#id66-bb"><span class="identifier">what</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="comment">// public data members</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">message</span><span class="special">;</span>
<span class="identifier">Iter</span> <span class="identifier">iter</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id32771"></a><h2>Description</h2>
<p>The exception thrown when a lexing error is encountered, consisting of an iterator to the point of failure, and a description of the value expected at the point of failure in <code class="computeroutput">what()</code>. </p>
<div class="refsect2">
<a name="id32775"></a><h3>
<a name="boost.parser.lex_errorconstruct-copy-destruct"></a><code class="computeroutput">lex_error</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="id64-bb"></a><span class="identifier">lex_error</span><span class="special">(</span><span class="identifier">Iter</span> it<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> msg<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
</div>
<div class="refsect2">
<a name="id32793"></a><h3>
<a name="id65-bb"></a><code class="computeroutput">lex_error</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">char</span> <span class="keyword">const</span> <span class="special">*</span> <a name="id66-bb"></a><span class="identifier">what</span><span class="special">(</span><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="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="line_position.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><span class="keyword">constexpr</span> <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="id41901"></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="id45498"></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,42 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Global lexer</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/lexer_hpp.html" title="Header &lt;boost/parser/lexer.hpp&gt;">
<link rel="prev" href="token_chars.html" title="Global token_chars">
<link rel="next" href="to_tokens.html" title="Global to_tokens">
<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="token_chars.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/lexer_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="to_tokens.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.lexer"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Global lexer</span></h2>
<p>boost::parser::lexer</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/lexer_hpp.html" title="Header &lt;boost/parser/lexer.hpp&gt;">boost/parser/lexer.hpp</a>&gt;
</span><span class="keyword">constexpr</span> <span class="keyword">auto</span> lexer<span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id34726"></a><h2>Description</h2>
<p>A variable template used to generate a lexer for use in token parsing. The resulting lexer has no associated tokens. Associate tokens with it by piping <code class="computeroutput">boost::parser::token_spec</code>s and/or <code class="computeroutput">boost::parser::token_chars</code>s after it. </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="token_chars.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/lexer_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="to_tokens.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>

View File

@@ -0,0 +1,87 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template lexer_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/lexer_hpp.html" title="Header &lt;boost/parser/lexer.hpp&gt;">
<link rel="prev" href="../../header/boost/parser/lexer_hpp.html" title="Header &lt;boost/parser/lexer.hpp&gt;">
<link rel="next" href="token.html" title="Struct template token">
<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/lexer_hpp.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/lexer_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="token.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.lexer_t"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template lexer_t</span></h2>
<p>boost::parser::lexer_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/lexer_hpp.html" title="Header &lt;boost/parser/lexer.hpp&gt;">boost/parser/lexer.hpp</a>&gt;
</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharType<span class="special">,</span> <span class="keyword">typename</span> ID<span class="special">,</span> <span class="identifier">ctll</span><span class="special">::</span><span class="identifier">fixed_string</span> WsStr <span class="special">=</span> <span class="string">"\\s+"</span><span class="special">,</span>
<span class="identifier">ctll</span><span class="special">::</span><span class="identifier">fixed_string</span> RegexStr <span class="special">=</span> <span class="string">""</span><span class="special">,</span>
<span class="identifier">unspecified</span> IDs <span class="special">=</span> detail::nttp_array<span class="special">&lt;</span><span class="special">-</span><span class="number">1</span><span class="special">&gt;</span><span class="special">{</span><span class="special">}</span><span class="special">,</span>
<span class="identifier">unspecified</span> Specs <span class="special">=</span> detail::nttp_array<span class="special">&lt;</span>detail::parse_spec<span class="special">{</span><span class="special">}</span><span class="special">&gt;</span><span class="special">{</span><span class="special">}</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <a class="link" href="lexer_t.html" title="Struct template lexer_t">lexer_t</a> <span class="special">{</span>
<span class="comment">// types</span>
<span class="keyword">typedef</span> <span class="identifier">ID</span> <a name="boost.parser.lexer_t.id_type"></a><span class="identifier">id_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <a class="link" href="token.html" title="Struct template token">token</a><span class="special">&lt;</span> <span class="identifier">CharType</span> <span class="special">&gt;</span> <a name="boost.parser.lexer_t.token_type"></a><span class="identifier">token_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string_view</span><span class="special">&lt;</span> <span class="identifier">CharType</span> <span class="special">&gt;</span> <a name="boost.parser.lexer_t.string_view"></a><span class="identifier">string_view</span><span class="special">;</span>
<span class="comment">// <a class="link" href="lexer_t.html#id83-bb">public static functions</a></span>
<span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">size_t</span> <a class="link" href="lexer_t.html#id84-bb"><span class="identifier">size</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="lexer_t.html#id85-bb"><span class="identifier">ids</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="lexer_t.html#id86-bb"><span class="identifier">specs</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">parsable_range</span> V<span class="special">&gt;</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="lexer_t.html#id87-bb"><span class="identifier">regex_range</span></a><span class="special">(</span><span class="identifier">V</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="lexer_t.html#id88-bb">public member functions</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">ctll</span><span class="special">::</span><span class="identifier">fixed_string</span> RegexStr2<span class="special">,</span> <span class="keyword">auto</span> ID2<span class="special">,</span> <span class="keyword">typename</span> ValueType<span class="special">,</span>
<span class="keyword">int</span> Base<span class="special">&gt;</span>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="lexer_t.html#id89-bb"><span class="keyword">operator</span><span class="special">|</span></a><span class="special">(</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></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">auto</span> Ch<span class="special">,</span> <span class="keyword">auto</span><span class="special">...</span> Chs<span class="special">&gt;</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a class="link" href="lexer_t.html#id90-bb"><span class="keyword">operator</span><span class="special">|</span></a><span class="special">(</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="comment">// public data members</span>
<span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">ctll</span><span class="special">::</span><span class="identifier">fixed_string</span> <span class="identifier">ws_str</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">ctll</span><span class="special">::</span><span class="identifier">fixed_string</span> <span class="identifier">regex_str</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">bool</span> <span class="identifier">has_ws</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id33835"></a><h2>Description</h2>
<p>The type used to represent the lexer used to tokenize input during token parsing. Do not use this directly; use <code class="computeroutput">boost::parser::lexer</code> instead. </p>
<div class="refsect2">
<a name="id33839"></a><h3>
<a name="id83-bb"></a><code class="computeroutput">lexer_t</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">size_t</span> <a name="id84-bb"></a><span class="identifier">size</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id85-bb"></a><span class="identifier">ids</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id86-bb"></a><span class="identifier">specs</span><span class="special">(</span><span class="special">)</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="identifier">parsable_range</span> V<span class="special">&gt;</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id87-bb"></a><span class="identifier">regex_range</span><span class="special">(</span><span class="identifier">V</span> <span class="special">&amp;</span> base<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id33894"></a><h3>
<a name="id88-bb"></a><code class="computeroutput">lexer_t</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="identifier">ctll</span><span class="special">::</span><span class="identifier">fixed_string</span> RegexStr2<span class="special">,</span> <span class="keyword">auto</span> ID2<span class="special">,</span> <span class="keyword">typename</span> ValueType<span class="special">,</span> <span class="keyword">int</span> Base<span class="special">&gt;</span>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id89-bb"></a><span class="keyword">operator</span><span class="special">|</span><span class="special">(</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span><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">auto</span> Ch<span class="special">,</span> <span class="keyword">auto</span><span class="special">...</span> Chs<span class="special">&gt;</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <a name="id90-bb"></a><span class="keyword">operator</span><span class="special">|</span><span class="special">(</span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> rhs<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/lexer_hpp.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/parser/lexer_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="token.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="lex_error.html" title="Struct template lex_error">
<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="lex_error.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>
<span class="identifier">Iter</span> <span class="identifier">line_start</span><span class="special">;</span>
<span class="identifier">int64_t</span> <span class="identifier">line_number</span><span class="special">;</span>
<span class="identifier">int64_t</span> <span class="identifier">column_number</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id32840"></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="lex_error.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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="identifier">char8_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42945"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="keyword">char32_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42965"></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> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="identifier">R</span> <span class="special">&amp;&amp;</span> str<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id43016"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="identifier">lit</span><span class="special">(</span><span class="keyword">char</span> c<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id42925"></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_id372"></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> <span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_c</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id51020"></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_id132.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_id132.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.literals.operator_l_id131"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char</span> c<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36466"></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_id132.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_id131.html" title='Function operator""_l'>
<link rel="next" href="operator_l_id133.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_id131.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_id133.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.literals.operator_l_id132"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="identifier">char8_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36489"></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_id131.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_id133.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_id132.html" title='Function operator""_l'>
<link rel="next" href="operator_l_id134.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_id132.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_id134.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.literals.operator_l_id133"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char32_t</span> c<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36512"></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_id132.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_id134.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_id133.html" title='Function operator""_l'>
<link rel="next" href="operator_l_id135.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_id133.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_id135.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.literals.operator_l_id134"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36541"></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_id133.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_id135.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_id134.html" title='Function operator""_l'>
<link rel="next" href="operator_l_id136.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_id134.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_id136.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.literals.operator_l_id135"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="identifier">char8_t</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36570"></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_id134.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_id136.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_id135.html" title='Function operator""_l'>
<link rel="next" href="operator_p_id137.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_id135.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_id137.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.parser.literals.operator_l_id136"></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>
<span class="keyword">constexpr</span> <span class="keyword">auto</span> <span class="keyword">operator</span><span class="string">""</span><span class="identifier">_l</span><span class="special">(</span><span class="keyword">char32_t</span> <span class="keyword">const</span> <span class="special">*</span> str<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id36599"></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_id135.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_id137.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