diff --git a/doc/html/BOOST_PARSER_ALGO_idm29993.html b/doc/html/BOOST_PARSER_ALGO_CON_id33.html similarity index 89% rename from doc/html/BOOST_PARSER_ALGO_idm29993.html rename to doc/html/BOOST_PARSER_ALGO_CON_id33.html index bb44746f..d5d1993a 100644 --- a/doc/html/BOOST_PARSER_ALGO_idm29993.html +++ b/doc/html/BOOST_PARSER_ALGO_CON_id33.html @@ -4,18 +4,18 @@ Macro BOOST_PARSER_ALGO_CONSTEXPR - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Macro BOOST_PARSER_ALGO_CONSTEXPR

BOOST_PARSER_ALGO_CONSTEXPR

@@ -32,7 +32,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_ASSERT.html b/doc/html/BOOST_PARSER_ASSERT.html index 5d29367e..e31710dc 100644 --- a/doc/html/BOOST_PARSER_ASSERT.html +++ b/doc/html/BOOST_PARSER_ASSERT.html @@ -4,15 +4,15 @@ Macro BOOST_PARSER_ASSERT - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,7 +25,7 @@ BOOST_PARSER_ASSERT(condition)
-

Description

+

Description

Asserts that the given condition is true. If BOOST_PARSER_NO_RUNTIME_ASSERTIONS macro is defined by the user, BOOST_PARSER_ASSERT expends to a compile-time static_assert(). Otherwise, it expands to a run-time BOOST_ASSERT(). Note that defining BOOST_DISABLE_ASSERTS disables the use of C assert, even when BOOST_ASSERT is unavailble.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_CONSTEXPR.html b/doc/html/BOOST_PARSER_CONSTEXPR.html index f694be9a..d0f87a3b 100644 --- a/doc/html/BOOST_PARSER_CONSTEXPR.html +++ b/doc/html/BOOST_PARSER_CONSTEXPR.html @@ -4,7 +4,7 @@ Macro BOOST_PARSER_CONSTEXPR - + diff --git a/doc/html/BOOST_PARSER_DEFINE_RULES.html b/doc/html/BOOST_PARSER_DEFINE_RULES.html index d332d794..bdd0abbd 100644 --- a/doc/html/BOOST_PARSER_DEFINE_RULES.html +++ b/doc/html/BOOST_PARSER_DEFINE_RULES.html @@ -4,15 +4,15 @@ Macro BOOST_PARSER_DEFINE_RULES - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,7 +25,7 @@ BOOST_PARSER_DEFINE_RULES(...)
-

Description

+

Description

For each given token t, defines a pair of parse_rule() overloads, used internally within Boost.Parser. Each such pair implements the parsing behavior rule t, using the parser t_def. This implementation is in the form of a pair of function templates. You should therefore write this macro only at namespace scope.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_DISA_idm29970.html b/doc/html/BOOST_PARSER_DISABLE__id30.html similarity index 88% rename from doc/html/BOOST_PARSER_DISA_idm29970.html rename to doc/html/BOOST_PARSER_DISABLE__id30.html index 5defa78e..ce046f76 100644 --- a/doc/html/BOOST_PARSER_DISA_idm29970.html +++ b/doc/html/BOOST_PARSER_DISABLE__id30.html @@ -4,18 +4,18 @@ Macro BOOST_PARSER_DISABLE_CONCEPTS - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Macro BOOST_PARSER_DISABLE_CONCEPTS

BOOST_PARSER_DISABLE_CONCEPTS

@@ -25,7 +25,7 @@ BOOST_PARSER_DISABLE_CONCEPTS
-

Description

+

Description

Boost.Parser will automatically use concepts to constrain templates when building in C++20 mode, if the compiler defines __cpp_lib_concepts. To disable the use of concepts, define this macro.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_MAX__idm29979.html b/doc/html/BOOST_PARSER_MAX_AGGRE_id8.html similarity index 89% rename from doc/html/BOOST_PARSER_MAX__idm29979.html rename to doc/html/BOOST_PARSER_MAX_AGGRE_id8.html index c277d39e..fdfd8e64 100644 --- a/doc/html/BOOST_PARSER_MAX__idm29979.html +++ b/doc/html/BOOST_PARSER_MAX_AGGRE_id8.html @@ -4,18 +4,18 @@ Macro BOOST_PARSER_MAX_AGGREGATE_SIZE - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Macro BOOST_PARSER_MAX_AGGREGATE_SIZE

BOOST_PARSER_MAX_AGGREGATE_SIZE

@@ -25,7 +25,7 @@ BOOST_PARSER_MAX_AGGREGATE_SIZE
-

Description

+

Description

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.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_NO_R_idm29955.html b/doc/html/BOOST_PARSER_NO_RUNTI_id29.html similarity index 96% rename from doc/html/BOOST_PARSER_NO_R_idm29955.html rename to doc/html/BOOST_PARSER_NO_RUNTI_id29.html index dc37f637..450bd04f 100644 --- a/doc/html/BOOST_PARSER_NO_R_idm29955.html +++ b/doc/html/BOOST_PARSER_NO_RUNTI_id29.html @@ -4,7 +4,7 @@ Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS - + @@ -15,7 +15,7 @@ PrevUpHomeNext
-
+

Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS

BOOST_PARSER_NO_RUNTIME_ASSERTIONS

@@ -25,7 +25,7 @@ BOOST_PARSER_NO_RUNTIME_ASSERTIONS
-

Description

+

Description

Boost.Parser uses assertions (BOOST_ASSERT()) 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.

diff --git a/doc/html/BOOST_PARSER_SUBRANGE.html b/doc/html/BOOST_PARSER_SUBRANGE.html index 6667e26c..9e8af083 100644 --- a/doc/html/BOOST_PARSER_SUBRANGE.html +++ b/doc/html/BOOST_PARSER_SUBRANGE.html @@ -4,15 +4,15 @@ Macro BOOST_PARSER_SUBRANGE - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,7 +25,7 @@ BOOST_PARSER_SUBRANGE
-

Description

+

Description

The subrange template that is used throughout Boost.Parser. This will be boost::parser::subrange in C++17 builds, and std::ranges::subrange in all other builds.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_TRACE_OSTREAM.html b/doc/html/BOOST_PARSER_TRACE_OSTREAM.html index a6de7a13..5dc46dfe 100644 --- a/doc/html/BOOST_PARSER_TRACE_OSTREAM.html +++ b/doc/html/BOOST_PARSER_TRACE_OSTREAM.html @@ -4,7 +4,7 @@ Macro BOOST_PARSER_TRACE_OSTREAM - + diff --git a/doc/html/BOOST_PARSER_TRAC_idm29988.html b/doc/html/BOOST_PARSER_TRACE_TO_id32.html similarity index 89% rename from doc/html/BOOST_PARSER_TRAC_idm29988.html rename to doc/html/BOOST_PARSER_TRACE_TO_id32.html index 7971bf53..c7e62c16 100644 --- a/doc/html/BOOST_PARSER_TRAC_idm29988.html +++ b/doc/html/BOOST_PARSER_TRACE_TO_id32.html @@ -4,18 +4,18 @@ Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Macro BOOST_PARSER_TRACE_TO_VS_OUTPUT

BOOST_PARSER_TRACE_TO_VS_OUTPUT

@@ -25,7 +25,7 @@ BOOST_PARSER_TRACE_TO_VS_OUTPUT
-

Description

+

Description

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 trace::on, define this macro and you'll see the trace output in the Visual Studio debugger's output panel. This macro has no effect when _MSC_VER is not also defined.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_USE_CONCEPTS.html b/doc/html/BOOST_PARSER_USE_CONCEPTS.html index c384ccf0..125187fe 100644 --- a/doc/html/BOOST_PARSER_USE_CONCEPTS.html +++ b/doc/html/BOOST_PARSER_USE_CONCEPTS.html @@ -4,15 +4,15 @@ Macro BOOST_PARSER_USE_CONCEPTS - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -32,7 +32,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_USE__idm29974.html b/doc/html/BOOST_PARSER_USE_HANA_id31.html similarity index 77% rename from doc/html/BOOST_PARSER_USE__idm29974.html rename to doc/html/BOOST_PARSER_USE_HANA_id31.html index 4662b2fb..b222f27a 100644 --- a/doc/html/BOOST_PARSER_USE__idm29974.html +++ b/doc/html/BOOST_PARSER_USE_HANA_id31.html @@ -4,18 +4,18 @@ Macro BOOST_PARSER_USE_HANA_TUPLE - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Macro BOOST_PARSER_USE_HANA_TUPLE

BOOST_PARSER_USE_HANA_TUPLE

@@ -25,7 +25,7 @@ BOOST_PARSER_USE_HANA_TUPLE
-

Description

+

Description

Define this macro to use boost::hana::tuple instead of std::tuple throughout Boost.Parser.

@@ -36,7 +36,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/BOOST_PARSER_USE_STD_TUPLE.html b/doc/html/BOOST_PARSER_USE_STD_TUPLE.html index a679975c..ead9957d 100644 --- a/doc/html/BOOST_PARSER_USE_STD_TUPLE.html +++ b/doc/html/BOOST_PARSER_USE_STD_TUPLE.html @@ -4,7 +4,7 @@ Macro BOOST_PARSER_USE_STD_TUPLE - + diff --git a/doc/html/boost/parser/Inf.html b/doc/html/boost/parser/Inf.html index c6172376..252fb3aa 100644 --- a/doc/html/boost/parser/Inf.html +++ b/doc/html/boost/parser/Inf.html @@ -4,7 +4,7 @@ Global Inf - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-int64_t const Inf;
+int64_t const Inf;
-

Description

+

Description

A very large sentinel value used to represent pseudo-infinity.

diff --git a/doc/html/boost/parser/_attr.html b/doc/html/boost/parser/_attr.html index c7734d1e..1f2747d3 100644 --- a/doc/html/boost/parser/_attr.html +++ b/doc/html/boost/parser/_attr.html @@ -4,7 +4,7 @@ Function template _attr - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _attr(Context const & context);
+template<typename Context> decltype(auto) _attr(Context const & context);
-

Description

+

Description

Returns a reference to the attribute or attributes already produced by the bottommost parser; multiple attributes will be stored within a parser::tuple. Returns none if the bottommost parser does produce an attribute.

diff --git a/doc/html/boost/parser/_begin.html b/doc/html/boost/parser/_begin.html index 9b1154ce..d98338fa 100644 --- a/doc/html/boost/parser/_begin.html +++ b/doc/html/boost/parser/_begin.html @@ -4,7 +4,7 @@ Function template _begin - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _begin(Context const & context);
+template<typename Context> decltype(auto) _begin(Context const & context);
-

Description

+

Description

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

diff --git a/doc/html/boost/parser/_end.html b/doc/html/boost/parser/_end.html index faa7943f..fd7f1519 100644 --- a/doc/html/boost/parser/_end.html +++ b/doc/html/boost/parser/_end.html @@ -4,7 +4,7 @@ Function template _end - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _end(Context const & context);
+template<typename Context> decltype(auto) _end(Context const & context);
-

Description

+

Description

Returns an iterator to the end of the entire sequence being parsed.

diff --git a/doc/html/boost/parser/_error_handler.html b/doc/html/boost/parser/_error_handler.html index 36584dfb..d622d33d 100644 --- a/doc/html/boost/parser/_error_handler.html +++ b/doc/html/boost/parser/_error_handler.html @@ -4,15 +4,15 @@ Function template _error_handler - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,9 +25,9 @@ template<typename Context> - decltype(auto) _error_handler(Context const & context);
+ decltype(auto) _error_handler(Context const & context);
-

Description

+

Description

Returns a reference to the error handler object associated with the top-level parser. Returns none if there is no associated error handler.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/_globals.html b/doc/html/boost/parser/_globals.html index ea8bc205..07eb31cd 100644 --- a/doc/html/boost/parser/_globals.html +++ b/doc/html/boost/parser/_globals.html @@ -4,7 +4,7 @@ Function template _globals - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _globals(Context const & context);
+template<typename Context> decltype(auto) _globals(Context const & context);
-

Description

+

Description

Returns a reference to the globals object associated with the top-level parser. Returns none if there is no associated globals object.

diff --git a/doc/html/boost/parser/_locals.html b/doc/html/boost/parser/_locals.html index 9e037d04..f2fd55f2 100644 --- a/doc/html/boost/parser/_locals.html +++ b/doc/html/boost/parser/_locals.html @@ -4,7 +4,7 @@ Function template _locals - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _locals(Context const & context);
+template<typename Context> decltype(auto) _locals(Context const & context);
-

Description

+

Description

Returns a reference to one or more local values that the bottommost rule is declared to have; multiple values will be stored within a parser::tuple. Returns none if there is no bottommost rule, or if that rule has no locals.

diff --git a/doc/html/boost/parser/_p.html b/doc/html/boost/parser/_p.html index 1728076f..0993f7e9 100644 --- a/doc/html/boost/parser/_p.html +++ b/doc/html/boost/parser/_p.html @@ -4,7 +4,7 @@ Global _p - + @@ -25,7 +25,7 @@ unspecified _p;
-

Description

+

Description

An invocable that returns the Ith parameter to the bottommost rule. This is useful for forwarding parameters to sub-rules.

diff --git a/doc/html/boost/parser/_params.html b/doc/html/boost/parser/_params.html index b9378791..cc6ebe76 100644 --- a/doc/html/boost/parser/_params.html +++ b/doc/html/boost/parser/_params.html @@ -4,7 +4,7 @@ Function template _params - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _params(Context const & context);
+template<typename Context> decltype(auto) _params(Context const & context);
-

Description

+

Description

Returns a reference to one or more parameters passed to the bottommost rule r, by using r as r.with(param0, param1, ... paramN); multiple values will be stored within a parser::tuple. Returns none if there is no bottommost rule, or if that rule was not given any parameters.

diff --git a/doc/html/boost/parser/_pass.html b/doc/html/boost/parser/_pass.html index ab681c02..fe939a8c 100644 --- a/doc/html/boost/parser/_pass.html +++ b/doc/html/boost/parser/_pass.html @@ -4,7 +4,7 @@ Function template _pass - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _pass(Context const & context);
+template<typename Context> decltype(auto) _pass(Context const & context);
-

Description

+

Description

Returns a reference to a bool that represents the success or failure of the bottommost parser. You can assign false to this within a semantic action to force a parser to fail its parse.

diff --git a/doc/html/boost/parser/_val.html b/doc/html/boost/parser/_val.html index ea07a8e6..5f927d1a 100644 --- a/doc/html/boost/parser/_val.html +++ b/doc/html/boost/parser/_val.html @@ -4,15 +4,15 @@ Function _val - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-decltype(auto) _val(Context const & context);
+decltype(auto) _val(Context const & context);
-

Description

+

Description

Returns a reference to the attribute(s) (i.e. return value) of the bottommost parser; multiple attributes will be stored within a parser::tuple. You may write to this value in a semantic action to control what attribute value(s) the associated parser produces. Returns none if the bottommost parser does produce an attribute.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/_where.html b/doc/html/boost/parser/_where.html index d143d86e..cd0a3908 100644 --- a/doc/html/boost/parser/_where.html +++ b/doc/html/boost/parser/_where.html @@ -4,7 +4,7 @@ Function template _where - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-template<typename Context> decltype(auto) _where(Context const & context);
+template<typename Context> decltype(auto) _where(Context const & context);
-

Description

+

Description

Returns a subrange that describes the matched range of the bottommost parser.

diff --git a/doc/html/boost/parser/action_parser.html b/doc/html/boost/parser/action_parser.html index 25b6ef1f..00b1bf95 100644 --- a/doc/html/boost/parser/action_parser.html +++ b/doc/html/boost/parser/action_parser.html @@ -4,7 +4,7 @@ Struct template action_parser - + @@ -27,7 +27,7 @@ struct action_parser { };
-

Description

+

Description

Applies the given parser p of type Parser and an invocable a of type Action. Action shall model semantic_action, and a will only be invoked if p succeeds. The parse succeeds iff p succeeds. Produces no attribute.

diff --git a/doc/html/boost/parser/as_utf16.html b/doc/html/boost/parser/as_utf16.html index b5f097b5..fd05cac0 100644 --- a/doc/html/boost/parser/as_utf16.html +++ b/doc/html/boost/parser/as_utf16.html @@ -4,7 +4,7 @@ Global as_utf16 - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/transcode_view.hpp>
 
-constexpr auto as_utf16;
+constexpr auto as_utf16;
-

Description

+

Description

A view adaptor that produces a utf16_view of the given view.

diff --git a/doc/html/boost/parser/as_utf32.html b/doc/html/boost/parser/as_utf32.html index 9e75f4c3..fa32ef8c 100644 --- a/doc/html/boost/parser/as_utf32.html +++ b/doc/html/boost/parser/as_utf32.html @@ -4,7 +4,7 @@ Global as_utf32 - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/transcode_view.hpp>
 
-constexpr auto as_utf32;
+constexpr auto as_utf32;
-

Description

+

Description

A view adaptor that produces a utf32_view of the given view.

diff --git a/doc/html/boost/parser/as_utf8.html b/doc/html/boost/parser/as_utf8.html index eab3e6f2..ecd5b1b5 100644 --- a/doc/html/boost/parser/as_utf8.html +++ b/doc/html/boost/parser/as_utf8.html @@ -4,7 +4,7 @@ Global as_utf8 - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/transcode_view.hpp>
 
-constexpr auto as_utf8;
+constexpr auto as_utf8;
-

Description

+

Description

A view adaptor that produces a utf8_view of the given view.

diff --git a/doc/html/boost/parser/attr.html b/doc/html/boost/parser/attr.html index 54af534a..c61826a7 100644 --- a/doc/html/boost/parser/attr.html +++ b/doc/html/boost/parser/attr.html @@ -4,15 +4,15 @@ Function template attr - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<typename Attribute> constexpr auto attr(Attribute a);
+template<typename Attribute> constexpr auto attr(Attribute a);
-

Description

+

Description

Returns an attr_parser which matches anything, and consumes no input, and which produces a as its attribute.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/attr_parser.html b/doc/html/boost/parser/attr_parser.html index a8b65d8f..7c5ee3f0 100644 --- a/doc/html/boost/parser/attr_parser.html +++ b/doc/html/boost/parser/attr_parser.html @@ -4,7 +4,7 @@ Struct template attr_parser - + @@ -27,7 +27,7 @@ struct attr_parser { };
-

Description

+

Description

Matches anything, consumes no input, and produces an attribute of type RESOLVE(Attribute).

diff --git a/doc/html/boost/parser/attribute.html b/doc/html/boost/parser/attribute.html index d62b04db..467bd112 100644 --- a/doc/html/boost/parser/attribute.html +++ b/doc/html/boost/parser/attribute.html @@ -4,15 +4,15 @@ Struct template attribute - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -30,7 +30,7 @@ typedef unspecified type; };
-

Description

+

Description

A type trait that evaluates to the attribute type for parser Parser used to parse range R, as if by calling parse(r, parser), using some R r and Parser parser. Note that this implies that pointers to null-terminated strings are supported types for R. The result is not wrapped in a std::optional like the result of a call to parse() would be. If Parser produces no attribute, the result is the no-attribute sentinel type none.

@@ -41,7 +41,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/attribute_t.html b/doc/html/boost/parser/attribute_t.html index db7444b1..1d7cd337 100644 --- a/doc/html/boost/parser/attribute_t.html +++ b/doc/html/boost/parser/attribute_t.html @@ -4,7 +4,7 @@ Type definition attribute_t - + @@ -24,9 +24,9 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 
-typedef typename attribute< R, Parser >::type attribute_t;
+typedef typename attribute< R, Parser >::type attribute_t;
-

Description

+

Description

An alias for typename attribute<R, Parser>::type.

diff --git a/doc/html/boost/parser/bin.html b/doc/html/boost/parser/bin.html index 76811b1f..1cdc4d80 100644 --- a/doc/html/boost/parser/bin.html +++ b/doc/html/boost/parser/bin.html @@ -4,7 +4,7 @@ Global bin - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned int, 2 > > bin;
+constexpr parser_interface< uint_parser< unsigned int, 2 > > bin;
-

Description

+

Description

The binary unsigned integer parser. Produces an unsigned int attribute. To parse a particular value x, use bin(x).

diff --git a/doc/html/boost/parser/blank.html b/doc/html/boost/parser/blank.html index 27e9f0e3..f220b091 100644 --- a/doc/html/boost/parser/blank.html +++ b/doc/html/boost/parser/blank.html @@ -4,7 +4,7 @@ Global blank - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< ws_parser< false, true > > blank;
+constexpr parser_interface< ws_parser< false, true > > blank;
-

Description

+

Description

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 https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt, except for the ones matched by eol. Produces no attribute.

diff --git a/doc/html/boost/parser/bool_.html b/doc/html/boost/parser/bool_.html index 1cb6cc1d..55b92030 100644 --- a/doc/html/boost/parser/bool_.html +++ b/doc/html/boost/parser/bool_.html @@ -4,7 +4,7 @@ Global bool_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< bool_parser > bool_;
+constexpr parser_interface< bool_parser > bool_;
-

Description

+

Description

The Boolean parser. Parses "true" and "false", producing attributes true and false, respectively, and fails on any other input.

diff --git a/doc/html/boost/parser/callback_error_handler.html b/doc/html/boost/parser/callback_error_handler.html index e2bf0856..2731bb6a 100644 --- a/doc/html/boost/parser/callback_error_handler.html +++ b/doc/html/boost/parser/callback_error_handler.html @@ -4,7 +4,7 @@ Struct callback_error_handler - + @@ -26,24 +26,24 @@ struct callback_error_handler { // types - typedef std::function< void(std::string const &)> callback_type; + typedef std::function< void(std::string const &)> callback_type; // construct/copy/destruct - callback_error_handler(); - callback_error_handler(callback_type, callback_type = callback_type()); - callback_error_handler(std::string_view, callback_type, + callback_error_handler(); + callback_error_handler(callback_type, callback_type = callback_type()); + callback_error_handler(std::string_view, callback_type, callback_type = callback_type()); - callback_error_handler(std::wstring_view, callback_type, + callback_error_handler(std::wstring_view, callback_type, callback_type = callback_type()); - // public member functions + // public member functions template<typename Iter, typename Sentinel> error_handler_result - operator()(Iter, Sentinel, parse_error< Iter > const &) const; + operator()(Iter, Sentinel, parse_error< Iter > const &) const; template<typename Context, typename Iter> - void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; + void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; template<typename Context> - void diagnose(diagnostic_kind, std::string_view, Context const &) const; + void diagnose(diagnostic_kind, std::string_view, Context const &) const; // public data members callback_type error_; @@ -51,39 +51,39 @@ std::string filename_; };
-

Description

+

Description

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.

-

+

callback_error_handler public construct/copy/destruct

    -
  1. callback_error_handler();
  2. -
  3. callback_error_handler(callback_type error, 
    +
  4. callback_error_handler();
  5. +
  6. callback_error_handler(callback_type error, 
                            callback_type warning = callback_type());
  7. -
  8. callback_error_handler(std::string_view filename, callback_type error, 
    +
  9. callback_error_handler(std::string_view filename, callback_type error, 
                            callback_type warning = callback_type());
  10. -
    callback_error_handler(std::wstring_view filename, callback_type error, 
    +
    callback_error_handler(std::wstring_view filename, callback_type error, 
                            callback_type warning = callback_type());

    This overload is Windows-only.

-

-callback_error_handler public member functions

+

+callback_error_handler public member functions

  1. template<typename Iter, typename Sentinel> 
       error_handler_result 
    -  operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;
  2. + operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;
  3. template<typename Context, typename Iter> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context, Iter it) const;
  4. + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context, Iter it) const;
  5. template<typename Context> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context) const;
  6. + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context) const;
diff --git a/doc/html/boost/parser/callback_parse_idm32861.html b/doc/html/boost/parser/callback_parse_id6.html similarity index 76% rename from doc/html/boost/parser/callback_parse_idm32861.html rename to doc/html/boost/parser/callback_parse_id6.html index 3eba83f9..517ff559 100644 --- a/doc/html/boost/parser/callback_parse_idm32861.html +++ b/doc/html/boost/parser/callback_parse_id6.html @@ -4,18 +4,18 @@ Function template callback_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template callback_parse

boost::parser::callback_parse

@@ -24,14 +24,14 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler, typename Callbacks> 
-  bool callback_parse(R const & r, 
-                      parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
-                      Callbacks const & callbacks, 
+  bool callback_parse(R const & r, 
+                      parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+                      Callbacks const & callbacks, 
                       trace trace_mode = trace::off);
-

Description

+

Description

Parses r using parser, and returns whether the parse was successful. The entire input range r must be consumed for the parse to be considered successful. When a callback rule r is successful during the parse, one of two things happens: 1) if r has an attribute, callbacks(tag, x) will be called (where tag is decltype(r)::tag_type{}, and x is the attribute produced by r); or 2) if r has no attribute, callbacks(tag) will be called. Callbacks is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -63,7 +63,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/callback_parse_idm32948.html b/doc/html/boost/parser/callback_parse_id7.html similarity index 77% rename from doc/html/boost/parser/callback_parse_idm32948.html rename to doc/html/boost/parser/callback_parse_id7.html index 02d7b8dd..15ad0f2a 100644 --- a/doc/html/boost/parser/callback_parse_idm32948.html +++ b/doc/html/boost/parser/callback_parse_id7.html @@ -4,18 +4,18 @@ Function template callback_parse - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template callback_parse

boost::parser::callback_parse

@@ -24,15 +24,15 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler, typename SkipParser, typename Callbacks> 
-  bool callback_parse(R const & r, 
-                      parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
-                      parser_interface< SkipParser > const & skip, 
-                      Callbacks const & callbacks, 
+  bool callback_parse(R const & r, 
+                      parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+                      parser_interface< SkipParser > const & skip, 
+                      Callbacks const & callbacks, 
                       trace trace_mode = trace::off);
-

Description

+

Description

Parses r using parser, skipping all input recognized by skip between the application of any two parsers, and returns whether the parse was successful. The entire input range r must be consumed for the parse to be considered successful. When a callback rule r is successful during the parse, one of two things happens: 1) if r has an attribute, callbacks(tag, x) will be called (where tag is decltype(r)::tag_type{}, and x is the attribute produced by r); or 2) if r has no attribute, callbacks(tag) will be called. Callbacks is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -64,7 +64,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/callback_prefix_p_idm32821.html b/doc/html/boost/parser/callback_prefix_parse_id19.html similarity index 67% rename from doc/html/boost/parser/callback_prefix_p_idm32821.html rename to doc/html/boost/parser/callback_prefix_parse_id19.html index 4daf4238..63b72bda 100644 --- a/doc/html/boost/parser/callback_prefix_p_idm32821.html +++ b/doc/html/boost/parser/callback_prefix_parse_id19.html @@ -4,18 +4,18 @@ Function template callback_prefix_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template callback_prefix_parse

boost::parser::callback_prefix_parse

@@ -27,12 +27,12 @@ template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename Callbacks> - bool callback_prefix_parse(I & first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, - Callbacks const & callbacks, + bool callback_prefix_parse(I & first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + Callbacks const & callbacks, trace trace_mode = trace::off);
-

Description

+

Description

Parses [first, last) using parser, and returns whether the parse was successful. When a callback rule r is successful during the parse, one of two things happens: 1) if r has an attribute, callbacks(tag, x) will be called (where tag is decltype(r)::tag_type{}, and x is the attribute produced by r); or 2) if r has no attribute, callbacks(tag) will be called. Callbacks is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -43,7 +43,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/callback_prefix_p_idm32903.html b/doc/html/boost/parser/callback_prefix_parse_id20.html similarity index 66% rename from doc/html/boost/parser/callback_prefix_p_idm32903.html rename to doc/html/boost/parser/callback_prefix_parse_id20.html index 2a7f458e..c5d002a9 100644 --- a/doc/html/boost/parser/callback_prefix_p_idm32903.html +++ b/doc/html/boost/parser/callback_prefix_parse_id20.html @@ -4,18 +4,18 @@ Function template callback_prefix_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template callback_prefix_parse

boost::parser::callback_prefix_parse

@@ -28,13 +28,13 @@ typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename SkipParser, typename Callbacks> - bool callback_prefix_parse(I & first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, - parser_interface< SkipParser > const & skip, - Callbacks const & callbacks, + bool callback_prefix_parse(I & first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + parser_interface< SkipParser > const & skip, + Callbacks const & callbacks, trace trace_mode = trace::off);
-

Description

+

Description

Parses [first, last) using parser, skipping all input recognized by skip between the application of any two parsers, and returns whether the parse was successful. When a callback rule r is successful during the parse, one of two things happens: 1) if r has an attribute, callbacks(tag, x) will be called (where tag is decltype(r)::tag_type{}, and x is the attribute produced by r); or 2) if r has no attribute, callbacks(tag) will be called. Callbacks is expected to be an invocable with the correct overloads required to support all successful rule parses that might occur. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -45,7 +45,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/callback_rule.html b/doc/html/boost/parser/callback_rule.html index f8a46115..1a2fff47 100644 --- a/doc/html/boost/parser/callback_rule.html +++ b/doc/html/boost/parser/callback_rule.html @@ -4,7 +4,7 @@ Struct template callback_rule - + @@ -29,7 +29,7 @@ struct callback_rule { };
-

Description

+

Description

A type used to declare named parsing rules that support reporting of attributes via callback. The TagType template parameter is used to associate a particular rule with the rule_parser used during parsing.

diff --git a/doc/html/boost/parser/char_.html b/doc/html/boost/parser/char_.html index 094430aa..f2c4f2d6 100644 --- a/doc/html/boost/parser/char_.html +++ b/doc/html/boost/parser/char_.html @@ -4,7 +4,7 @@ Global char_ - + @@ -25,7 +25,7 @@ unspecified char_;
-

Description

+

Description

The single-character parser. The produced attribute is the type of the matched code point (char or char32_t). Used as-is, char_ matches any code point. char_ 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 [lo, hi], 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.

diff --git a/doc/html/boost/parser/char_parser.html b/doc/html/boost/parser/char_parser.html index b2c9da8a..7ba66bcb 100644 --- a/doc/html/boost/parser/char_parser.html +++ b/doc/html/boost/parser/char_parser.html @@ -4,7 +4,7 @@ Struct template char_parser - + @@ -23,11 +23,11 @@

Synopsis

// In header: <boost/parser/parser_fwd.hpp>
 
-template<typename Expected, typename AttributeType = void> 
+template<typename Expected, typename AttributeType = void> 
 struct char_parser {
 };
-

Description

+

Description

Matches a single code point. If AttributeType is not void, AttributeType 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.

diff --git a/doc/html/boost/parser/char_set_parser.html b/doc/html/boost/parser/char_set_parser.html index 87378d22..9b74f80a 100644 --- a/doc/html/boost/parser/char_set_parser.html +++ b/doc/html/boost/parser/char_set_parser.html @@ -4,7 +4,7 @@ Struct template char_set_parser - + @@ -27,7 +27,7 @@ struct char_set_parser { };
-

Description

+

Description

Matches a single code point that is equal to one of the code points associated with tag type Tag. 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.

diff --git a/doc/html/boost/parser/char_subrange_parser.html b/doc/html/boost/parser/char_subrange_parser.html index b7212001..7f180124 100644 --- a/doc/html/boost/parser/char_subrange_parser.html +++ b/doc/html/boost/parser/char_subrange_parser.html @@ -4,7 +4,7 @@ Struct template char_subrange_parser - + @@ -27,7 +27,7 @@ struct char_subrange_parser { };
-

Description

+

Description

Matches a single code point that falls into one of the subranges of code points associated with tag type Tag. 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.

diff --git a/doc/html/boost/parser/control.html b/doc/html/boost/parser/control.html index f6023af8..21449536 100644 --- a/doc/html/boost/parser/control.html +++ b/doc/html/boost/parser/control.html @@ -4,7 +4,7 @@ Global control - + @@ -25,7 +25,7 @@ unspecified control;
-

Description

+

Description

The control character parser. Matches the all Unicode code points with the "Cc" ("control character") character property.

diff --git a/doc/html/boost/parser/cp.html b/doc/html/boost/parser/cp.html index f0f8674f..760302fc 100644 --- a/doc/html/boost/parser/cp.html +++ b/doc/html/boost/parser/cp.html @@ -4,7 +4,7 @@ Global cp - + @@ -25,7 +25,7 @@ unspecified cp;
-

Description

+

Description

The code point parser. It produces a char32_t attribute. Used as-is, cp matches any code point. cp 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 [lo, hi], 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.

diff --git a/doc/html/boost/parser/cu.html b/doc/html/boost/parser/cu.html index d4d6b79d..9f49cf83 100644 --- a/doc/html/boost/parser/cu.html +++ b/doc/html/boost/parser/cu.html @@ -4,7 +4,7 @@ Global cu - + @@ -25,7 +25,7 @@ unspecified cu;
-

Description

+

Description

The code unit parser. It produces a char attribute. Used as-is, cu matches any code point. cu 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 [lo, hi], 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.

diff --git a/doc/html/boost/parser/default_error_handler.html b/doc/html/boost/parser/default_error_handler.html index e7673594..6c74b1b4 100644 --- a/doc/html/boost/parser/default_error_handler.html +++ b/doc/html/boost/parser/default_error_handler.html @@ -4,7 +4,7 @@ Struct default_error_handler - + @@ -26,47 +26,47 @@ struct default_error_handler { // construct/copy/destruct - default_error_handler() = default; + default_error_handler() = default; - // public member functions + // public member functions template<typename Iter, typename Sentinel> error_handler_result - operator()(Iter, Sentinel, parse_error< Iter > const &) const; + operator()(Iter, Sentinel, parse_error< Iter > const &) const; template<typename Context, typename Iter> - void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; + void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; template<typename Context> - void diagnose(diagnostic_kind, std::string_view, Context const &) const; + void diagnose(diagnostic_kind, std::string_view, Context const &) const; };
-

Description

+

Description

The error handler used when the user does not specify a custom one. This error handler prints warnings and errors to std::cerr, and does not have an associcated filename.

-

+

default_error_handler public construct/copy/destruct

-
  1. default_error_handler() = default;
+
  1. default_error_handler() = default;
-

-default_error_handler public member functions

+

+default_error_handler public member functions

  1. template<typename Iter, typename Sentinel> 
       error_handler_result 
    -  operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;
    + operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;

    Handles a parse_error exception thrown during parsing. A formatted parse-expectation failure is printed to std::cerr. Always returns error_handler_result::fail.

  2. template<typename Context, typename Iter> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context, Iter it) const;
    + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context, Iter it) const;

    Prints message to std::cerr. The diagnostic is printed with the given kind, indicating the location as being at it. This must be called within a parser semantic action, providing the parse context.

  3. template<typename Context> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context) const;
    + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context) const;

    Prints message to std::cerr. The diagnostic is printed with the given kind, at no particular location. This must be called within a parser semantic action, providing the parse context.

diff --git a/doc/html/boost/parser/delimited_seq_parser.html b/doc/html/boost/parser/delimited_seq_parser.html index 178d8f26..475623d3 100644 --- a/doc/html/boost/parser/delimited_seq_parser.html +++ b/doc/html/boost/parser/delimited_seq_parser.html @@ -4,7 +4,7 @@ Struct template delimited_seq_parser - + @@ -28,17 +28,17 @@ public boost::parser::repeat_parser< Parser, DelimiterParser > { // construct/copy/destruct - delimited_seq_parser(Parser, DelimiterParser); + delimited_seq_parser(Parser, DelimiterParser); };
-

Description

+

Description

Repeats the application of another parser p of type Parser, [1, Inf) times, applying a parser d of type DelimiterParser in between each pair of applications of p. The parse succeeds iff p succeeds at least once, and d succeeds each time it is applied. The attribute produced is a sequence of the type of attribute produced by Parser.

-

+

delimited_seq_parser public construct/copy/destruct

-
  1. delimited_seq_parser(Parser parser, DelimiterParser delimiter_parser);
+
  1. delimited_seq_parser(Parser parser, DelimiterParser delimiter_parser);
diff --git a/doc/html/boost/parser/diagnostic_kind.html b/doc/html/boost/parser/diagnostic_kind.html index 88fdbc79..a9867ee6 100644 --- a/doc/html/boost/parser/diagnostic_kind.html +++ b/doc/html/boost/parser/diagnostic_kind.html @@ -4,15 +4,15 @@ Type diagnostic_kind - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -27,7 +27,7 @@ enum diagnostic_kind { error, warning };
-

Description

+

Description

The kinds of diagnostics that can be handled by an error handler.

warning
@@ -43,7 +43,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/digit.html b/doc/html/boost/parser/digit.html index cca6d0eb..5578c8dd 100644 --- a/doc/html/boost/parser/digit.html +++ b/doc/html/boost/parser/digit.html @@ -4,7 +4,7 @@ Global digit - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< digit_parser > digit;
+constexpr parser_interface< digit_parser > digit;
-

Description

+

Description

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.

diff --git a/doc/html/boost/parser/directive.html b/doc/html/boost/parser/directive.html index 3c85901d..63adf584 100644 --- a/doc/html/boost/parser/directive.html +++ b/doc/html/boost/parser/directive.html @@ -4,7 +4,7 @@ Struct template directive - + @@ -26,18 +26,18 @@ template<template< class > class Parser> struct directive { - // public member functions + // public member functions template<typename Parser2> - constexpr auto operator[](parser_interface< Parser2 >) const noexcept; + constexpr auto operator[](parser_interface< Parser2 >) const noexcept; };
-

Description

+

Description

Represents a unparameterized higher-order parser (e.g. omit_parser) as a directive (e.g. omit[other_parser]).

-

-directive public member functions

+

+directive public member functions

  1. template<typename Parser2> 
    -  constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;
+ constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;
diff --git a/doc/html/boost/parser/double_.html b/doc/html/boost/parser/double_.html index 8b32b030..b058d932 100644 --- a/doc/html/boost/parser/double_.html +++ b/doc/html/boost/parser/double_.html @@ -4,7 +4,7 @@ Global double_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< float_parser< double > > double_;
+constexpr parser_interface< float_parser< double > > double_;
-

Description

+

Description

The double parser. Produces a double attribute.

diff --git a/doc/html/boost/parser/enable_optional.html b/doc/html/boost/parser/enable_optional.html index 36ced77c..394d6e24 100644 --- a/doc/html/boost/parser/enable_optional.html +++ b/doc/html/boost/parser/enable_optional.html @@ -4,7 +4,7 @@ Global enable_optional - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser_fwd.hpp>
 
-constexpr bool enable_optional;
+constexpr bool enable_optional;
-

Description

+

Description

A variable template that indicates that type T is an optional-like type.

diff --git a/doc/html/boost/parser/enable_variant.html b/doc/html/boost/parser/enable_variant.html index 992fc534..909bb1c5 100644 --- a/doc/html/boost/parser/enable_variant.html +++ b/doc/html/boost/parser/enable_variant.html @@ -4,7 +4,7 @@ Global enable_variant - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser_fwd.hpp>
 
-constexpr bool enable_variant;
+constexpr bool enable_variant;
-

Description

+

Description

A variable template that indicates that type T is an variant-like type.

diff --git a/doc/html/boost/parser/eoi.html b/doc/html/boost/parser/eoi.html index 0f739633..a8ebf255 100644 --- a/doc/html/boost/parser/eoi.html +++ b/doc/html/boost/parser/eoi.html @@ -4,7 +4,7 @@ Global eoi - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< eoi_parser > eoi;
+constexpr parser_interface< eoi_parser > eoi;
-

Description

+

Description

The end-of-input parser. It matches only the end of input.

diff --git a/doc/html/boost/parser/eol.html b/doc/html/boost/parser/eol.html index 6b5fe3b2..c31e401d 100644 --- a/doc/html/boost/parser/eol.html +++ b/doc/html/boost/parser/eol.html @@ -4,7 +4,7 @@ Global eol - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< ws_parser< true, false > > eol;
+constexpr parser_interface< ws_parser< true, false > > eol;
-

Description

+

Description

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 https://unicode.org/reports/tr14. Produces no attribute.

diff --git a/doc/html/boost/parser/eps.html b/doc/html/boost/parser/eps.html index c3110f80..9cbf58be 100644 --- a/doc/html/boost/parser/eps.html +++ b/doc/html/boost/parser/eps.html @@ -4,7 +4,7 @@ Global eps - + @@ -25,7 +25,7 @@ unspecified eps;
-

Description

+

Description

The epsilon parser. This matches anything, and consumes no input. If used with an optional predicate, like eps(pred), it matches iff pred(ctx) evaluates to true, where ctx is the parser context.

diff --git a/doc/html/boost/parser/eps_parser.html b/doc/html/boost/parser/eps_parser.html index a01dd9ec..229ecbb0 100644 --- a/doc/html/boost/parser/eps_parser.html +++ b/doc/html/boost/parser/eps_parser.html @@ -4,7 +4,7 @@ Struct template eps_parser - + @@ -27,7 +27,7 @@ struct eps_parser { };
-

Description

+

Description

Matches anything, and consumes no input. If Predicate is anything other than detail::nope (which it is by default), and pred_(ctx) evaluates to false, where ctx is the parser context, the parse fails.

diff --git a/doc/html/boost/parser/error_handler_result.html b/doc/html/boost/parser/error_handler_result.html index 4ca78eb1..5bf0c2fd 100644 --- a/doc/html/boost/parser/error_handler_result.html +++ b/doc/html/boost/parser/error_handler_result.html @@ -4,7 +4,7 @@ Type error_handler_result - + @@ -27,7 +27,7 @@ enum error_handler_result { fail, rethrow };
-

Description

+

Description

The possible actions to take when a parse error is handled by an error handler.

rethrow
diff --git a/doc/html/boost/parser/expect_parser.html b/doc/html/boost/parser/expect_parser.html index 334f08fd..d413cc02 100644 --- a/doc/html/boost/parser/expect_parser.html +++ b/doc/html/boost/parser/expect_parser.html @@ -4,7 +4,7 @@ Struct template expect_parser - + @@ -27,7 +27,7 @@ struct expect_parser { };
-

Description

+

Description

Applies the given parser p of type Parser, producing no attributes and consuming no input. The parse succeeds iff p's success is unequal to FailOnMatch.

diff --git a/doc/html/boost/parser/find_line_end.html b/doc/html/boost/parser/find_line_end.html index 1eca30a1..2698e8df 100644 --- a/doc/html/boost/parser/find_line_end.html +++ b/doc/html/boost/parser/find_line_end.html @@ -4,7 +4,7 @@ Function template find_line_end - + @@ -25,9 +25,9 @@ template<typename Iter, typename Sentinel> - Iter find_line_end(Iter it, Sentinel last); + Iter find_line_end(Iter it, Sentinel last);
-

Description

+

Description

Returns the iterator to the end of the line in which it is found.

diff --git a/doc/html/boost/parser/find_line_position.html b/doc/html/boost/parser/find_line_position.html index bf80ee27..5e3a4e6c 100644 --- a/doc/html/boost/parser/find_line_position.html +++ b/doc/html/boost/parser/find_line_position.html @@ -4,15 +4,15 @@ Function template find_line_position - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,9 +25,9 @@ template<typename Iter> - line_position< Iter > find_line_position(Iter first, Iter it);
+ line_position< Iter > find_line_position(Iter first, Iter it);
-

Description

+

Description

Returns the line_position for it, counting lines from the beginning of the input first.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/float_.html b/doc/html/boost/parser/float_.html index 2bf16cb6..9be93864 100644 --- a/doc/html/boost/parser/float_.html +++ b/doc/html/boost/parser/float_.html @@ -4,7 +4,7 @@ Global float_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< float_parser< float > > float_;
+constexpr parser_interface< float_parser< float > > float_;
-

Description

+

Description

The float parser. Produces a float attribute.

diff --git a/doc/html/boost/parser/float_parser.html b/doc/html/boost/parser/float_parser.html index 723636b0..d66c84f2 100644 --- a/doc/html/boost/parser/float_parser.html +++ b/doc/html/boost/parser/float_parser.html @@ -4,7 +4,7 @@ Struct template float_parser - + @@ -27,7 +27,7 @@ struct float_parser { };
-

Description

+

Description

Matches a floating point number, producing an attribute of type T.

diff --git a/doc/html/boost/parser/get.html b/doc/html/boost/parser/get.html index 3eb4a507..ff21cbe2 100644 --- a/doc/html/boost/parser/get.html +++ b/doc/html/boost/parser/get.html @@ -4,15 +4,15 @@ Function template get - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,9 +25,9 @@ template<typename T, typename U, U I> - constexpr decltype(auto) get(T && x, integral_constant< U, I > i);
+ constexpr decltype(auto) get(T && x, integral_constant< U, I > i);
-

Description

+

Description

An accessor that returns a reference to the I-th data member of an aggregate struct or boost::parser::tuple.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/hex.html b/doc/html/boost/parser/hex.html index c5fa0e45..04bbc595 100644 --- a/doc/html/boost/parser/hex.html +++ b/doc/html/boost/parser/hex.html @@ -4,7 +4,7 @@ Global hex - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned int, 16 > > hex;
+constexpr parser_interface< uint_parser< unsigned int, 16 > > hex;
-

Description

+

Description

The hexadecimal unsigned integer parser. Produces an unsigned int attribute. To parse a particular value x, use hex(x).

diff --git a/doc/html/boost/parser/hex_digit.html b/doc/html/boost/parser/hex_digit.html index 5ef49a1d..61e50994 100644 --- a/doc/html/boost/parser/hex_digit.html +++ b/doc/html/boost/parser/hex_digit.html @@ -4,7 +4,7 @@ Global hex_digit - + @@ -25,7 +25,7 @@ unspecified hex_digit;
-

Description

+

Description

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.

diff --git a/doc/html/boost/parser/if_.html b/doc/html/boost/parser/if_.html index d0e29914..c3722d87 100644 --- a/doc/html/boost/parser/if_.html +++ b/doc/html/boost/parser/if_.html @@ -4,15 +4,15 @@ Function template if_ - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<typename Predicate> constexpr auto if_(Predicate pred);
+template<typename Predicate> constexpr auto if_(Predicate pred);
-

Description

+

Description

Returns an if_directive that fails if the given predicate pred is false, and otherwise, applies another parser. For instance, in if_(pred)[p], p is only applied if pred is true.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/if_directive.html b/doc/html/boost/parser/if_directive.html index b2f2b0d6..12b2bd59 100644 --- a/doc/html/boost/parser/if_directive.html +++ b/doc/html/boost/parser/if_directive.html @@ -4,7 +4,7 @@ Struct template if_directive - + @@ -26,21 +26,21 @@ template<typename Predicate> struct if_directive { - // public member functions + // public member functions template<typename Parser2> - constexpr auto operator[](parser_interface< Parser2 >) const noexcept; + constexpr auto operator[](parser_interface< Parser2 >) const noexcept; // public data members - Predicate pred_; + Predicate pred_; };
-

Description

+

Description

Represents a sequence parser, the first parser of which is an epsilon_parser with predicate, as a directive (e.g. if_(pred)[p]).

-

-if_directive public member functions

+

+if_directive public member functions

  1. template<typename Parser2> 
    -  constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;
+ constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;
diff --git a/doc/html/boost/parser/int_.html b/doc/html/boost/parser/int_.html index cdbbdbeb..3580142c 100644 --- a/doc/html/boost/parser/int_.html +++ b/doc/html/boost/parser/int_.html @@ -4,7 +4,7 @@ Global int_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< int_parser< int > > int_;
+constexpr parser_interface< int_parser< int > > int_;
-

Description

+

Description

The int parser. Produces an int attribute. To parse a particular value x, use int_(x).

diff --git a/doc/html/boost/parser/int_parser.html b/doc/html/boost/parser/int_parser.html index dbca5f6b..2d080702 100644 --- a/doc/html/boost/parser/int_parser.html +++ b/doc/html/boost/parser/int_parser.html @@ -4,7 +4,7 @@ Struct template int_parser - + @@ -28,7 +28,7 @@ struct int_parser { };
-

Description

+

Description

Matches a signed number of radix Radix, of at least MinDigits and at most MaxDigits, producing an attribute of type T. Fails on any other input. The parse will also fail if Expected is anything but detail::nope (which it is by default), and the produced attribute is not equal to expected_. Radix must be one of 2, 8, 10, or 16.

diff --git a/doc/html/boost/parser/integral_constant.html b/doc/html/boost/parser/integral_constant.html index 6372937e..0eebe04b 100644 --- a/doc/html/boost/parser/integral_constant.html +++ b/doc/html/boost/parser/integral_constant.html @@ -4,7 +4,7 @@ Type definition integral_constant - + @@ -24,9 +24,9 @@
// In header: <boost/parser/tuple.hpp>
 
 
-typedef hana::integral_constant< T, I > integral_constant;
+typedef hana::integral_constant< T, I > integral_constant;
-

Description

+

Description

A template alias that is boost::hana::integral_constant<T, I> if BOOST_PARSER_USE_HANA_TUPLE is defined, and std::integral_constant<T, I> otherwise.

diff --git a/doc/html/boost/parser/lexeme.html b/doc/html/boost/parser/lexeme.html index 7ba783ea..7b0a984a 100644 --- a/doc/html/boost/parser/lexeme.html +++ b/doc/html/boost/parser/lexeme.html @@ -4,7 +4,7 @@ Global lexeme - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr directive< lexeme_parser > lexeme;
+constexpr directive< lexeme_parser > lexeme;
-

Description

+

Description

The lexeme directive, whose operator[] returns a parser_interface<lexeme_parser<P>> from a given parser of type parser_interface<P>.

diff --git a/doc/html/boost/parser/lexeme_parser.html b/doc/html/boost/parser/lexeme_parser.html index 7b1ca5d8..adcee970 100644 --- a/doc/html/boost/parser/lexeme_parser.html +++ b/doc/html/boost/parser/lexeme_parser.html @@ -4,7 +4,7 @@ Struct template lexeme_parser - + @@ -27,7 +27,7 @@ struct lexeme_parser { };
-

Description

+

Description

Applies the given parser p of type Parser, disabling the current skipper in use, if any. The parse succeeds iff p succeeds. The attribute produced is the type of attribute produced by Parser.

diff --git a/doc/html/boost/parser/line_position.html b/doc/html/boost/parser/line_position.html index 1afe8b90..651632c7 100644 --- a/doc/html/boost/parser/line_position.html +++ b/doc/html/boost/parser/line_position.html @@ -4,7 +4,7 @@ Struct template line_position - + @@ -27,12 +27,12 @@ struct line_position { // public data members - Iter line_start; - int64_t line_number; - int64_t column_number; + Iter line_start; + int64_t line_number; + int64_t column_number; };
-

Description

+

Description

A position within a line, consisting of an iterator to the start of the line, the line number, and the column number.

diff --git a/doc/html/boost/parser/lit_idm32286.html b/doc/html/boost/parser/lit_id10.html similarity index 54% rename from doc/html/boost/parser/lit_idm32286.html rename to doc/html/boost/parser/lit_id10.html index db6bc2bb..fc5e4857 100644 --- a/doc/html/boost/parser/lit_idm32286.html +++ b/doc/html/boost/parser/lit_id10.html @@ -4,18 +4,18 @@ Function lit - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function lit

boost::parser::lit

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto lit(char8_t c);
+constexpr auto lit(char8_t c);
-

Description

+

Description

Returns a literal code point parser that produces no attribute.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/lit_idm32292.html b/doc/html/boost/parser/lit_id11.html similarity index 56% rename from doc/html/boost/parser/lit_idm32292.html rename to doc/html/boost/parser/lit_id11.html index 85931794..9ca816ed 100644 --- a/doc/html/boost/parser/lit_idm32292.html +++ b/doc/html/boost/parser/lit_id11.html @@ -4,18 +4,18 @@ Function lit - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function lit

boost::parser::lit

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto lit(char32_t c);
+constexpr auto lit(char32_t c);
-

Description

+

Description

Returns a literal code point parser that produces no attribute.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/lit_idm32308.html b/doc/html/boost/parser/lit_id12.html similarity index 84% rename from doc/html/boost/parser/lit_idm32308.html rename to doc/html/boost/parser/lit_id12.html index 7f5ae66f..b9025d0a 100644 --- a/doc/html/boost/parser/lit_idm32308.html +++ b/doc/html/boost/parser/lit_id12.html @@ -4,7 +4,7 @@ Function template lit - + @@ -15,7 +15,7 @@ PrevUpHomeNext
-
+

Function template lit

boost::parser::lit

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R> constexpr auto lit(R && str);
+template<parsable_range_like R> constexpr auto lit(R && str);
-

Description

+

Description

Returns a parser that matches str that produces no attribute.

diff --git a/doc/html/boost/parser/lit_idm32280.html b/doc/html/boost/parser/lit_id9.html similarity index 75% rename from doc/html/boost/parser/lit_idm32280.html rename to doc/html/boost/parser/lit_id9.html index 8e53d97a..0ff91112 100644 --- a/doc/html/boost/parser/lit_idm32280.html +++ b/doc/html/boost/parser/lit_id9.html @@ -4,18 +4,18 @@ Function lit - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function lit

boost::parser::lit

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto lit(char c);
+constexpr auto lit(char c);
-

Description

+

Description

Returns a literal code point parser that produces no attribute.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_c_idm34489.html b/doc/html/boost/parser/literals/operator_c_id324.html similarity index 85% rename from doc/html/boost/parser/literals/operator_c_idm34489.html rename to doc/html/boost/parser/literals/operator_c_id324.html index 5459df8d..71cab947 100644 --- a/doc/html/boost/parser/literals/operator_c_idm34489.html +++ b/doc/html/boost/parser/literals/operator_c_id324.html @@ -4,7 +4,7 @@ Function template operator""_c - + @@ -15,7 +15,7 @@ PrevUpHomeNext
-
+

Function template operator""_c

boost::parser::literals::operator""_c

@@ -24,9 +24,9 @@
// In header: <boost/parser/tuple.hpp>
 
 
-template<char... chars> constexpr auto operator""_c();
+template<char... chars> constexpr auto operator""_c();
-

Description

+

Description

A literal that can be used to concisely name parser::llong integral constants.

diff --git a/doc/html/boost/parser/literals/operator_l_idm31725.html b/doc/html/boost/parser/literals/operator_l_id85.html similarity index 75% rename from doc/html/boost/parser/literals/operator_l_idm31725.html rename to doc/html/boost/parser/literals/operator_l_id85.html index d2abfacb..8da546e0 100644 --- a/doc/html/boost/parser/literals/operator_l_idm31725.html +++ b/doc/html/boost/parser/literals/operator_l_id85.html @@ -4,18 +4,18 @@ Function operator""_l - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_l

boost::parser::literals::operator""_l

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_l(char c);
+constexpr auto operator""_l(char c);
-

Description

+

Description

Returns a literal parser equivalent to lit(c).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_l_idm31739.html b/doc/html/boost/parser/literals/operator_l_id86.html similarity index 52% rename from doc/html/boost/parser/literals/operator_l_idm31739.html rename to doc/html/boost/parser/literals/operator_l_id86.html index 38163b09..8f4c4d52 100644 --- a/doc/html/boost/parser/literals/operator_l_idm31739.html +++ b/doc/html/boost/parser/literals/operator_l_id86.html @@ -4,18 +4,18 @@ Function operator""_l - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_l

boost::parser::literals::operator""_l

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_l(char32_t c);
+constexpr auto operator""_l(char8_t c);
-

Description

+

Description

Returns a literal parser equivalent to lit(c).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_l_idm31732.html b/doc/html/boost/parser/literals/operator_l_id87.html similarity index 52% rename from doc/html/boost/parser/literals/operator_l_idm31732.html rename to doc/html/boost/parser/literals/operator_l_id87.html index f7a77336..64d6e723 100644 --- a/doc/html/boost/parser/literals/operator_l_idm31732.html +++ b/doc/html/boost/parser/literals/operator_l_id87.html @@ -4,18 +4,18 @@ Function operator""_l - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_l

boost::parser::literals::operator""_l

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_l(char8_t c);
+constexpr auto operator""_l(char32_t c);
-

Description

+

Description

Returns a literal parser equivalent to lit(c).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_l_id88.html b/doc/html/boost/parser/literals/operator_l_id88.html new file mode 100644 index 00000000..b163313a --- /dev/null +++ b/doc/html/boost/parser/literals/operator_l_id88.html @@ -0,0 +1,43 @@ + + + +Function operator""_l + + + + + + + + + +
+PrevUpHomeNext +
+
+
+
+

Function operator""_l

+

boost::parser::literals::operator""_l

+
+

Synopsis

+
// In header: <boost/parser/parser.hpp>
+
+
+constexpr auto operator""_l(char const * str, std::size_t);
+
+

Description

+

Returns a literal parser equivalent to lit(str).

+
+
+ +
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost/parser/literals/operator_l_id89.html b/doc/html/boost/parser/literals/operator_l_id89.html new file mode 100644 index 00000000..eca24a6b --- /dev/null +++ b/doc/html/boost/parser/literals/operator_l_id89.html @@ -0,0 +1,43 @@ + + + +Function operator""_l + + + + + + + + + +
+PrevUpHomeNext +
+
+
+
+

Function operator""_l

+

boost::parser::literals::operator""_l

+
+

Synopsis

+
// In header: <boost/parser/parser.hpp>
+
+
+constexpr auto operator""_l(char8_t const * str, std::size_t);
+
+

Description

+

Returns a literal parser equivalent to lit(str).

+
+
+ +
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost/parser/literals/operator_l_id90.html b/doc/html/boost/parser/literals/operator_l_id90.html new file mode 100644 index 00000000..6c325e16 --- /dev/null +++ b/doc/html/boost/parser/literals/operator_l_id90.html @@ -0,0 +1,43 @@ + + + +Function operator""_l + + + + + + + + + +
+PrevUpHomeNext +
+
+
+
+

Function operator""_l

+

boost::parser::literals::operator""_l

+
+

Synopsis

+
// In header: <boost/parser/parser.hpp>
+
+
+constexpr auto operator""_l(char32_t const * str, std::size_t);
+
+

Description

+

Returns a literal parser equivalent to lit(str).

+
+
+ +
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost/parser/literals/operator_l_idm31746.html b/doc/html/boost/parser/literals/operator_l_idm31746.html deleted file mode 100644 index fa581f13..00000000 --- a/doc/html/boost/parser/literals/operator_l_idm31746.html +++ /dev/null @@ -1,43 +0,0 @@ - - - -Function operator""_l - - - - - - - - - -
-PrevUpHomeNext -
-
-
-
-

Function operator""_l

-

boost::parser::literals::operator""_l

-
-

Synopsis

-
// In header: <boost/parser/parser.hpp>
-
-
-constexpr auto operator""_l(char const * str, std::size_t);
-
-

Description

-

Returns a literal parser equivalent to lit(str).

-
-
- -
-
-PrevUpHomeNext -
- - diff --git a/doc/html/boost/parser/literals/operator_l_idm31755.html b/doc/html/boost/parser/literals/operator_l_idm31755.html deleted file mode 100644 index 96e33aae..00000000 --- a/doc/html/boost/parser/literals/operator_l_idm31755.html +++ /dev/null @@ -1,43 +0,0 @@ - - - -Function operator""_l - - - - - - - - - -
-PrevUpHomeNext -
-
-
-
-

Function operator""_l

-

boost::parser::literals::operator""_l

-
-

Synopsis

-
// In header: <boost/parser/parser.hpp>
-
-
-constexpr auto operator""_l(char8_t const * str, std::size_t);
-
-

Description

-

Returns a literal parser equivalent to lit(str).

-
-
- -
-
-PrevUpHomeNext -
- - diff --git a/doc/html/boost/parser/literals/operator_l_idm31764.html b/doc/html/boost/parser/literals/operator_l_idm31764.html deleted file mode 100644 index 0daf335a..00000000 --- a/doc/html/boost/parser/literals/operator_l_idm31764.html +++ /dev/null @@ -1,43 +0,0 @@ - - - -Function operator""_l - - - - - - - - - -
-PrevUpHomeNext -
-
-
-
-

Function operator""_l

-

boost::parser::literals::operator""_l

-
-

Synopsis

-
// In header: <boost/parser/parser.hpp>
-
-
-constexpr auto operator""_l(char32_t const * str, std::size_t);
-
-

Description

-

Returns a literal parser equivalent to lit(str).

-
-
- -
-
-PrevUpHomeNext -
- - diff --git a/doc/html/boost/parser/literals/operator_p_idm31773.html b/doc/html/boost/parser/literals/operator_p_id91.html similarity index 52% rename from doc/html/boost/parser/literals/operator_p_idm31773.html rename to doc/html/boost/parser/literals/operator_p_id91.html index 52744465..1af43771 100644 --- a/doc/html/boost/parser/literals/operator_p_idm31773.html +++ b/doc/html/boost/parser/literals/operator_p_id91.html @@ -4,18 +4,18 @@ Function operator""_p - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_p

boost::parser::literals::operator""_p

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_p(char c);
+constexpr auto operator""_p(char c);
-

Description

+

Description

Returns a character parser equivalent to char_(c).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_p_idm31780.html b/doc/html/boost/parser/literals/operator_p_id92.html similarity index 52% rename from doc/html/boost/parser/literals/operator_p_idm31780.html rename to doc/html/boost/parser/literals/operator_p_id92.html index fccff239..5ea0c88f 100644 --- a/doc/html/boost/parser/literals/operator_p_idm31780.html +++ b/doc/html/boost/parser/literals/operator_p_id92.html @@ -4,18 +4,18 @@ Function operator""_p - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_p

boost::parser::literals::operator""_p

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_p(char8_t c);
+constexpr auto operator""_p(char8_t c);
-

Description

+

Description

Returns a character parser equivalent to char_(c).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_p_idm31787.html b/doc/html/boost/parser/literals/operator_p_id93.html similarity index 54% rename from doc/html/boost/parser/literals/operator_p_idm31787.html rename to doc/html/boost/parser/literals/operator_p_id93.html index 2552a2dc..25504e14 100644 --- a/doc/html/boost/parser/literals/operator_p_idm31787.html +++ b/doc/html/boost/parser/literals/operator_p_id93.html @@ -4,18 +4,18 @@ Function operator""_p - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_p

boost::parser::literals::operator""_p

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_p(char32_t c);
+constexpr auto operator""_p(char32_t c);
-

Description

+

Description

Returns a character parser equivalent to char_(c).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_p_id94.html b/doc/html/boost/parser/literals/operator_p_id94.html new file mode 100644 index 00000000..19216e00 --- /dev/null +++ b/doc/html/boost/parser/literals/operator_p_id94.html @@ -0,0 +1,43 @@ + + + +Function operator""_p + + + + + + + + + +
+PrevUpHomeNext +
+
+
+
+

Function operator""_p

+

boost::parser::literals::operator""_p

+
+

Synopsis

+
// In header: <boost/parser/parser.hpp>
+
+
+constexpr auto operator""_p(char const * str, std::size_t);
+
+

Description

+

Returns a string parser equivalent to string(str).

+
+
+ +
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost/parser/literals/operator_p_id95.html b/doc/html/boost/parser/literals/operator_p_id95.html new file mode 100644 index 00000000..a9ff9ec3 --- /dev/null +++ b/doc/html/boost/parser/literals/operator_p_id95.html @@ -0,0 +1,43 @@ + + + +Function operator""_p + + + + + + + + + +
+PrevUpHomeNext +
+
+
+
+

Function operator""_p

+

boost::parser::literals::operator""_p

+
+

Synopsis

+
// In header: <boost/parser/parser.hpp>
+
+
+constexpr auto operator""_p(char8_t const * str, std::size_t);
+
+

Description

+

Returns a string parser equivalent to string(str).

+
+
+ +
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost/parser/literals/operator_p_idm31812.html b/doc/html/boost/parser/literals/operator_p_id96.html similarity index 51% rename from doc/html/boost/parser/literals/operator_p_idm31812.html rename to doc/html/boost/parser/literals/operator_p_id96.html index 2c41b620..89a32459 100644 --- a/doc/html/boost/parser/literals/operator_p_idm31812.html +++ b/doc/html/boost/parser/literals/operator_p_id96.html @@ -4,18 +4,18 @@ Function operator""_p - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function operator""_p

boost::parser::literals::operator""_p

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-constexpr auto operator""_p(char32_t const * str, std::size_t);
+constexpr auto operator""_p(char32_t const * str, std::size_t);
-

Description

+

Description

Returns a string parser equivalent to string(str).

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/literals/operator_p_idm31794.html b/doc/html/boost/parser/literals/operator_p_idm31794.html deleted file mode 100644 index 18c327e5..00000000 --- a/doc/html/boost/parser/literals/operator_p_idm31794.html +++ /dev/null @@ -1,43 +0,0 @@ - - - -Function operator""_p - - - - - - - - - -
-PrevUpHomeNext -
-
-
-
-

Function operator""_p

-

boost::parser::literals::operator""_p

-
-

Synopsis

-
// In header: <boost/parser/parser.hpp>
-
-
-constexpr auto operator""_p(char const * str, std::size_t);
-
-

Description

-

Returns a string parser equivalent to string(str).

-
-
- -
-
-PrevUpHomeNext -
- - diff --git a/doc/html/boost/parser/literals/operator_p_idm31803.html b/doc/html/boost/parser/literals/operator_p_idm31803.html deleted file mode 100644 index 4c53dab2..00000000 --- a/doc/html/boost/parser/literals/operator_p_idm31803.html +++ /dev/null @@ -1,43 +0,0 @@ - - - -Function operator""_p - - - - - - - - - -
-PrevUpHomeNext -
-
-
-
-

Function operator""_p

-

boost::parser::literals::operator""_p

-
-

Synopsis

-
// In header: <boost/parser/parser.hpp>
-
-
-constexpr auto operator""_p(char8_t const * str, std::size_t);
-
-

Description

-

Returns a string parser equivalent to string(str).

-
-
- -
-
-PrevUpHomeNext -
- - diff --git a/doc/html/boost/parser/llong.html b/doc/html/boost/parser/llong.html index b34595b2..bc8c0dc8 100644 --- a/doc/html/boost/parser/llong.html +++ b/doc/html/boost/parser/llong.html @@ -4,7 +4,7 @@ Type definition llong - + @@ -24,9 +24,9 @@
// In header: <boost/parser/tuple.hpp>
 
 
-typedef integral_constant< long long, I > llong;
+typedef integral_constant< long long, I > llong;
-

Description

+

Description

A template alias that is boost::hana::llong<I> if BOOST_PARSER_USE_HANA_TUPLE is defined, and std::integral_constant<long long, I> otherwise.

diff --git a/doc/html/boost/parser/long_.html b/doc/html/boost/parser/long_.html index 181648de..e3c381ea 100644 --- a/doc/html/boost/parser/long_.html +++ b/doc/html/boost/parser/long_.html @@ -4,7 +4,7 @@ Global long_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< int_parser< long > > long_;
+constexpr parser_interface< int_parser< long > > long_;
-

Description

+

Description

The long parser. Produces a long attribute. To parse a particular value x, use long_(x).

diff --git a/doc/html/boost/parser/long_long.html b/doc/html/boost/parser/long_long.html index 51f8fb78..d3c8810a 100644 --- a/doc/html/boost/parser/long_long.html +++ b/doc/html/boost/parser/long_long.html @@ -4,7 +4,7 @@ Global long_long - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< int_parser< long long > > long_long;
+constexpr parser_interface< int_parser< long long > > long_long;
-

Description

+

Description

The long long parser. Produces a long long attribute. To parse a particular value x, use long_long(x).

diff --git a/doc/html/boost/parser/lower.html b/doc/html/boost/parser/lower.html index 6081209b..06afe6ca 100644 --- a/doc/html/boost/parser/lower.html +++ b/doc/html/boost/parser/lower.html @@ -4,7 +4,7 @@ Global lower - + @@ -25,7 +25,7 @@ unspecified lower;
-

Description

+

Description

The lower case character parser. Matches the full set of Unicode lower case code points (class "Ll").

diff --git a/doc/html/boost/parser/make_subrange.html b/doc/html/boost/parser/make_subrange.html index 71f851b7..71090383 100644 --- a/doc/html/boost/parser/make_subrange.html +++ b/doc/html/boost/parser/make_subrange.html @@ -4,7 +4,7 @@ Function template make_subrange - + @@ -25,9 +25,9 @@ template<std::forward_iterator I, std::sentinel_for< I > S = I> - constexpr subrange< I, S > make_subrange(I first, S last); + constexpr subrange< I, S > make_subrange(I first, S last);
-

Description

+

Description

Makes a subrange<I, S> from an I and an S.

diff --git a/doc/html/boost/parser/merge.html b/doc/html/boost/parser/merge.html index a9f578c4..8762a495 100644 --- a/doc/html/boost/parser/merge.html +++ b/doc/html/boost/parser/merge.html @@ -4,7 +4,7 @@ Global merge - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr merge_directive merge;
+constexpr merge_directive merge;
-

Description

+

Description

The merge_directive, whose operator[] returns a parser_interface<P2>, from a given parser of type parser_interface<P>, where P is a seq_parser. P2 is the same as P, except that its CombiningGroups template parameter is replaced with a tag type that causes the subparser's attributes to be merged into a single attribute.

diff --git a/doc/html/boost/parser/merge_directive.html b/doc/html/boost/parser/merge_directive.html index 3f890054..47b75068 100644 --- a/doc/html/boost/parser/merge_directive.html +++ b/doc/html/boost/parser/merge_directive.html @@ -4,7 +4,7 @@ Struct merge_directive - + @@ -26,22 +26,22 @@ struct merge_directive { - // public member functions + // public member functions template<typename ParserTuple, typename BacktrackingTuple, typename CombiningGroups> - constexpr auto - operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > >) const noexcept; + constexpr auto + operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > >) const noexcept; };
-

Description

+

Description

A directive type that can only be used on sequence parsers, that forces the merge of all the sequence_parser's subparser's attributes into a single attribute.

-

-merge_directive public member functions

+

+merge_directive public member functions

  1. template<typename ParserTuple, typename BacktrackingTuple, 
              typename CombiningGroups> 
    -  constexpr auto 
    -  operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > > rhs) const noexcept;
+ constexpr auto + operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > > rhs) const noexcept;
diff --git a/doc/html/boost/parser/no_case.html b/doc/html/boost/parser/no_case.html index 0b06079a..890f27e5 100644 --- a/doc/html/boost/parser/no_case.html +++ b/doc/html/boost/parser/no_case.html @@ -4,7 +4,7 @@ Global no_case - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr directive< no_case_parser > no_case;
+constexpr directive< no_case_parser > no_case;
-

Description

+

Description

The no_case directive, whose operator[] returns a parser_interface<no_case_parser<P>> from a given parser of type parser_interface<P>.

diff --git a/doc/html/boost/parser/no_case_parser.html b/doc/html/boost/parser/no_case_parser.html index d2a4301b..9153d49a 100644 --- a/doc/html/boost/parser/no_case_parser.html +++ b/doc/html/boost/parser/no_case_parser.html @@ -4,7 +4,7 @@ Struct template no_case_parser - + @@ -27,7 +27,7 @@ struct no_case_parser { };
-

Description

+

Description

Applies the given parser p of type Parser, enabling case-insensitive matching, based on Unicode case folding. The parse succeeds iff p succeeds. The attribute produced is the type of attribute produced by Parser.

diff --git a/doc/html/boost/parser/none.html b/doc/html/boost/parser/none.html index 2702b607..0ea3e839 100644 --- a/doc/html/boost/parser/none.html +++ b/doc/html/boost/parser/none.html @@ -4,7 +4,7 @@ Struct none - + @@ -26,117 +26,117 @@ struct none { // construct/copy/destruct - none() = default; - template<typename T> none(T const &); - template<typename T> none & operator=(T const &); + none() = default; + template<typename T> none(T const &); + template<typename T> none & operator=(T const &); - // public member functions - template<typename T> operator T() const; - none operator+() const; - none operator-() const; - none operator*() const; - none operator~() const; - none operator&() const; - none operator!() const; - none operator++(); - none & operator++(int); - none operator--(); - none operator--(int); - template<typename T> none operator<<(T const &) const; - template<typename T> none operator>>(T const &) const; - template<typename T> none operator*(T const &) const; - template<typename T> none operator/(T const &) const; - template<typename T> none operator%(T const &) const; - template<typename T> none operator+(T const &) const; - template<typename T> none operator-(T const &) const; - template<typename T> none operator<(T const &) const; - template<typename T> none operator>(T const &) const; - template<typename T> none operator<=(T const &) const; - template<typename T> none operator>=(T const &) const; - template<typename T> none operator==(T const &) const; - template<typename T> none operator!=(T const &) const; - template<typename T> none operator||(T const &) const; - template<typename T> none operator&&(T const &) const; - template<typename T> none operator&(T const &) const; - template<typename T> none operator|(T const &) const; - template<typename T> none operator^(T const &) const; - template<typename T> none operator,(T const &) const; - template<typename T> none operator->*(T const &) const; - template<typename T> none operator<<=(T const &); - template<typename T> none operator>>=(T const &); - template<typename T> none operator*=(T const &); - template<typename T> none operator/=(T const &); - template<typename T> none operator%=(T const &); - template<typename T> none operator+=(T const &); - template<typename T> none operator-=(T const &); - template<typename T> none operator&=(T const &); - template<typename T> none operator|=(T const &); - template<typename T> none operator^=(T const &); - template<typename T> none operator[](T const &) const; - template<typename... Args> none operator()(Args const &) const; - void fail() const; + // public member functions + template<typename T> operator T() const; + none operator+() const; + none operator-() const; + none operator*() const; + none operator~() const; + none operator&() const; + none operator!() const; + none operator++(); + none & operator++(int); + none operator--(); + none operator--(int); + template<typename T> none operator<<(T const &) const; + template<typename T> none operator>>(T const &) const; + template<typename T> none operator*(T const &) const; + template<typename T> none operator/(T const &) const; + template<typename T> none operator%(T const &) const; + template<typename T> none operator+(T const &) const; + template<typename T> none operator-(T const &) const; + template<typename T> none operator<(T const &) const; + template<typename T> none operator>(T const &) const; + template<typename T> none operator<=(T const &) const; + template<typename T> none operator>=(T const &) const; + template<typename T> none operator==(T const &) const; + template<typename T> none operator!=(T const &) const; + template<typename T> none operator||(T const &) const; + template<typename T> none operator&&(T const &) const; + template<typename T> none operator&(T const &) const; + template<typename T> none operator|(T const &) const; + template<typename T> none operator^(T const &) const; + template<typename T> none operator,(T const &) const; + template<typename T> none operator->*(T const &) const; + template<typename T> none operator<<=(T const &); + template<typename T> none operator>>=(T const &); + template<typename T> none operator*=(T const &); + template<typename T> none operator/=(T const &); + template<typename T> none operator%=(T const &); + template<typename T> none operator+=(T const &); + template<typename T> none operator-=(T const &); + template<typename T> none operator&=(T const &); + template<typename T> none operator|=(T const &); + template<typename T> none operator^=(T const &); + template<typename T> none operator[](T const &) const; + template<typename... Args> none operator()(Args const &) const; + void fail() const; };
-

Description

+

Description

-

+

none public construct/copy/destruct

    -
  1. none() = default;
  2. -
  3. template<typename T> none(T const &);
  4. -
  5. template<typename T> none & operator=(T const &);
  6. +
  7. none() = default;
  8. +
  9. template<typename T> none(T const &);
  10. +
  11. template<typename T> none & operator=(T const &);
-

-none public member functions

+

+none public member functions

    -
  1. template<typename T> operator T() const;
  2. -
  3. none operator+() const;
  4. -
  5. none operator-() const;
  6. -
  7. none operator*() const;
  8. -
  9. none operator~() const;
  10. -
  11. none operator&() const;
  12. -
  13. none operator!() const;
  14. -
  15. none operator++();
  16. -
  17. none & operator++(int);
  18. -
  19. none operator--();
  20. -
  21. none operator--(int);
  22. -
  23. template<typename T> none operator<<(T const &) const;
  24. -
  25. template<typename T> none operator>>(T const &) const;
  26. -
  27. template<typename T> none operator*(T const &) const;
  28. -
  29. template<typename T> none operator/(T const &) const;
  30. -
  31. template<typename T> none operator%(T const &) const;
  32. -
  33. template<typename T> none operator+(T const &) const;
  34. -
  35. template<typename T> none operator-(T const &) const;
  36. -
  37. template<typename T> none operator<(T const &) const;
  38. -
  39. template<typename T> none operator>(T const &) const;
  40. -
  41. template<typename T> none operator<=(T const &) const;
  42. -
  43. template<typename T> none operator>=(T const &) const;
  44. -
  45. template<typename T> none operator==(T const &) const;
  46. -
  47. template<typename T> none operator!=(T const &) const;
  48. -
  49. template<typename T> none operator||(T const &) const;
  50. -
  51. template<typename T> none operator&&(T const &) const;
  52. -
  53. template<typename T> none operator&(T const &) const;
  54. -
  55. template<typename T> none operator|(T const &) const;
  56. -
  57. template<typename T> none operator^(T const &) const;
  58. -
  59. template<typename T> none operator,(T const &) const;
  60. -
  61. template<typename T> none operator->*(T const &) const;
  62. -
  63. template<typename T> none operator<<=(T const &);
  64. -
  65. template<typename T> none operator>>=(T const &);
  66. -
  67. template<typename T> none operator*=(T const &);
  68. -
  69. template<typename T> none operator/=(T const &);
  70. -
  71. template<typename T> none operator%=(T const &);
  72. -
  73. template<typename T> none operator+=(T const &);
  74. -
  75. template<typename T> none operator-=(T const &);
  76. -
  77. template<typename T> none operator&=(T const &);
  78. -
  79. template<typename T> none operator|=(T const &);
  80. -
  81. template<typename T> none operator^=(T const &);
  82. -
  83. template<typename T> none operator[](T const &) const;
  84. -
  85. template<typename... Args> none operator()(Args const & ...) const;
  86. -
  87. void fail() const;
  88. +
  89. template<typename T> operator T() const;
  90. +
  91. none operator+() const;
  92. +
  93. none operator-() const;
  94. +
  95. none operator*() const;
  96. +
  97. none operator~() const;
  98. +
  99. none operator&() const;
  100. +
  101. none operator!() const;
  102. +
  103. none operator++();
  104. +
  105. none & operator++(int);
  106. +
  107. none operator--();
  108. +
  109. none operator--(int);
  110. +
  111. template<typename T> none operator<<(T const &) const;
  112. +
  113. template<typename T> none operator>>(T const &) const;
  114. +
  115. template<typename T> none operator*(T const &) const;
  116. +
  117. template<typename T> none operator/(T const &) const;
  118. +
  119. template<typename T> none operator%(T const &) const;
  120. +
  121. template<typename T> none operator+(T const &) const;
  122. +
  123. template<typename T> none operator-(T const &) const;
  124. +
  125. template<typename T> none operator<(T const &) const;
  126. +
  127. template<typename T> none operator>(T const &) const;
  128. +
  129. template<typename T> none operator<=(T const &) const;
  130. +
  131. template<typename T> none operator>=(T const &) const;
  132. +
  133. template<typename T> none operator==(T const &) const;
  134. +
  135. template<typename T> none operator!=(T const &) const;
  136. +
  137. template<typename T> none operator||(T const &) const;
  138. +
  139. template<typename T> none operator&&(T const &) const;
  140. +
  141. template<typename T> none operator&(T const &) const;
  142. +
  143. template<typename T> none operator|(T const &) const;
  144. +
  145. template<typename T> none operator^(T const &) const;
  146. +
  147. template<typename T> none operator,(T const &) const;
  148. +
  149. template<typename T> none operator->*(T const &) const;
  150. +
  151. template<typename T> none operator<<=(T const &);
  152. +
  153. template<typename T> none operator>>=(T const &);
  154. +
  155. template<typename T> none operator*=(T const &);
  156. +
  157. template<typename T> none operator/=(T const &);
  158. +
  159. template<typename T> none operator%=(T const &);
  160. +
  161. template<typename T> none operator+=(T const &);
  162. +
  163. template<typename T> none operator-=(T const &);
  164. +
  165. template<typename T> none operator&=(T const &);
  166. +
  167. template<typename T> none operator|=(T const &);
  168. +
  169. template<typename T> none operator^=(T const &);
  170. +
  171. template<typename T> none operator[](T const &) const;
  172. +
  173. template<typename... Args> none operator()(Args const & ...) const;
  174. +
  175. void fail() const;
diff --git a/doc/html/boost/parser/null_sentinel_t.html b/doc/html/boost/parser/null_sentinel_t.html index a901b2b5..e44da80d 100644 --- a/doc/html/boost/parser/null_sentinel_t.html +++ b/doc/html/boost/parser/null_sentinel_t.html @@ -4,7 +4,7 @@ Type definition null_sentinel_t - + @@ -26,7 +26,7 @@ typedef unspecified null_sentinel_t;
-

Description

+

Description

A sentinel type that compares equal to a pointer to a character value type, iff the pointer is null.

diff --git a/doc/html/boost/parser/null_term.html b/doc/html/boost/parser/null_term.html new file mode 100644 index 00000000..a7f420ca --- /dev/null +++ b/doc/html/boost/parser/null_term.html @@ -0,0 +1,43 @@ + + + +Function template null_term + + + + + + + + + +
+PrevUpHomeNext +
+
+
+
+

Function template null_term

+

boost::parser::null_term

+
+

Synopsis

+
// In header: <boost/parser/parser_fwd.hpp>
+
+
+template<typename CharT> constexpr auto null_term(CharT * ptr);
+
+

Description

+

Produces a subrange comprising the given pointer and null_sentinel. This should be used to make Null-Terminated Byte Strings ("NTBSs") compatible with ranges.

+
+
+ +
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/boost/parser/oct.html b/doc/html/boost/parser/oct.html index 0d030c04..e0e67bc8 100644 --- a/doc/html/boost/parser/oct.html +++ b/doc/html/boost/parser/oct.html @@ -4,7 +4,7 @@ Global oct - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned int, 8 > > oct;
+constexpr parser_interface< uint_parser< unsigned int, 8 > > oct;
-

Description

+

Description

The octal unsigned integer parser. Produces an unsigned int attribute. To parse a particular value x, use oct(x).

diff --git a/doc/html/boost/parser/omit.html b/doc/html/boost/parser/omit.html index a1c889ef..64b43a71 100644 --- a/doc/html/boost/parser/omit.html +++ b/doc/html/boost/parser/omit.html @@ -4,7 +4,7 @@ Global omit - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr directive< omit_parser > omit;
+constexpr directive< omit_parser > omit;
-

Description

+

Description

The omit directive, whose operator[] returns a parser_interface<omit_parser<P>> from a given parser of type parser_interface<P>.

diff --git a/doc/html/boost/parser/omit_parser.html b/doc/html/boost/parser/omit_parser.html index a970cb69..708ce293 100644 --- a/doc/html/boost/parser/omit_parser.html +++ b/doc/html/boost/parser/omit_parser.html @@ -4,7 +4,7 @@ Struct template omit_parser - + @@ -27,7 +27,7 @@ struct omit_parser { };
-

Description

+

Description

Applies the given parser p of type Parser. This parser produces no attribute, and suppresses the production of any attributes that would otherwise be produced by p. The parse succeeds iff p succeeds.

diff --git a/doc/html/boost/parser/one_plus_parser.html b/doc/html/boost/parser/one_plus_parser.html index b179ff46..b7088e2e 100644 --- a/doc/html/boost/parser/one_plus_parser.html +++ b/doc/html/boost/parser/one_plus_parser.html @@ -4,7 +4,7 @@ Struct template one_plus_parser - + @@ -26,17 +26,17 @@ template<typename Parser> struct one_plus_parser : public boost::parser::repeat_parser< Parser > { // construct/copy/destruct - one_plus_parser(Parser); + one_plus_parser(Parser); };
-

Description

+

Description

Repeats the application of another parser p of type Parser, [1, Inf) times. The parse succeeds iff p succeeds at least once. The attribute produced is a sequence of the type of attribute produced by Parser.

-

+

one_plus_parser public construct/copy/destruct

-
  1. one_plus_parser(Parser parser);
+
  1. one_plus_parser(Parser parser);
diff --git a/doc/html/boost/parser/operator%_idm32499.html b/doc/html/boost/parser/operator%_id82.html similarity index 51% rename from doc/html/boost/parser/operator%_idm32499.html rename to doc/html/boost/parser/operator%_id82.html index db733f10..a34e8c8f 100644 --- a/doc/html/boost/parser/operator%_idm32499.html +++ b/doc/html/boost/parser/operator%_id82.html @@ -4,18 +4,18 @@ Function template operator% - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator%

boost::parser::operator%

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator%(char c, parser_interface< Parser > rhs);
+ constexpr auto operator%(char c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) % rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator%_idm32511.html b/doc/html/boost/parser/operator%_id83.html similarity index 51% rename from doc/html/boost/parser/operator%_idm32511.html rename to doc/html/boost/parser/operator%_id83.html index 9d126a03..df21a3f4 100644 --- a/doc/html/boost/parser/operator%_idm32511.html +++ b/doc/html/boost/parser/operator%_id83.html @@ -4,18 +4,18 @@ Function template operator% - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator%

boost::parser::operator%

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator%(char32_t c, parser_interface< Parser > rhs);
+ constexpr auto operator%(char32_t c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) % rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator%_idm32523.html b/doc/html/boost/parser/operator%_id84.html similarity index 51% rename from doc/html/boost/parser/operator%_idm32523.html rename to doc/html/boost/parser/operator%_id84.html index 983981b0..ea64a874 100644 --- a/doc/html/boost/parser/operator%_idm32523.html +++ b/doc/html/boost/parser/operator%_id84.html @@ -4,18 +4,18 @@ Function template operator% - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator%

boost::parser::operator%

@@ -25,9 +25,9 @@ template<parsable_range_like R, typename Parser> - constexpr auto operator%(R && r, parser_interface< Parser > rhs);
+ constexpr auto operator%(R && r, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(str) % rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator-_idm32461.html b/doc/html/boost/parser/operator-_id79.html similarity index 51% rename from doc/html/boost/parser/operator-_idm32461.html rename to doc/html/boost/parser/operator-_id79.html index cce8b355..890acfe8 100644 --- a/doc/html/boost/parser/operator-_idm32461.html +++ b/doc/html/boost/parser/operator-_id79.html @@ -4,18 +4,18 @@ Function template operator- - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator-

boost::parser::operator-

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator-(char c, parser_interface< Parser > rhs);
+ constexpr auto operator-(char c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to !rhs >> lit(c).

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator-_idm32473.html b/doc/html/boost/parser/operator-_id80.html similarity index 51% rename from doc/html/boost/parser/operator-_idm32473.html rename to doc/html/boost/parser/operator-_id80.html index 2c7d6863..7306cf96 100644 --- a/doc/html/boost/parser/operator-_idm32473.html +++ b/doc/html/boost/parser/operator-_id80.html @@ -4,18 +4,18 @@ Function template operator- - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator-

boost::parser::operator-

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator-(char32_t c, parser_interface< Parser > rhs);
+ constexpr auto operator-(char32_t c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to !rhs >> lit(c).

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator-_idm32485.html b/doc/html/boost/parser/operator-_id81.html similarity index 52% rename from doc/html/boost/parser/operator-_idm32485.html rename to doc/html/boost/parser/operator-_id81.html index e13c26b7..9d337f9c 100644 --- a/doc/html/boost/parser/operator-_idm32485.html +++ b/doc/html/boost/parser/operator-_id81.html @@ -4,18 +4,18 @@ Function template operator- - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator-

boost::parser::operator-

@@ -25,9 +25,9 @@ template<parsable_range_like R, typename Parser> - constexpr auto operator-(R && r, parser_interface< Parser > rhs);
+ constexpr auto operator-(R && r, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to !rhs >> lit(str).

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32347.html b/doc/html/boost/parser/operator_id70.html similarity index 69% rename from doc/html/boost/parser/operator_idm32347.html rename to doc/html/boost/parser/operator_id70.html index 66cf161c..24c5bc87 100644 --- a/doc/html/boost/parser/operator_idm32347.html +++ b/doc/html/boost/parser/operator_id70.html @@ -4,18 +4,18 @@ Function template operator>> - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator>>

boost::parser::operator>>

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator>>(char c, parser_interface< Parser > rhs);
+ constexpr auto operator>>(char c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) >> rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32359.html b/doc/html/boost/parser/operator_id71.html similarity index 51% rename from doc/html/boost/parser/operator_idm32359.html rename to doc/html/boost/parser/operator_id71.html index cb2d72c7..d668f205 100644 --- a/doc/html/boost/parser/operator_idm32359.html +++ b/doc/html/boost/parser/operator_id71.html @@ -4,18 +4,18 @@ Function template operator>> - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator>>

boost::parser::operator>>

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator>>(char32_t c, parser_interface< Parser > rhs);
+ constexpr auto operator>>(char32_t c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) >> rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32371.html b/doc/html/boost/parser/operator_id72.html similarity index 52% rename from doc/html/boost/parser/operator_idm32371.html rename to doc/html/boost/parser/operator_id72.html index bec0b290..f17a56b3 100644 --- a/doc/html/boost/parser/operator_idm32371.html +++ b/doc/html/boost/parser/operator_id72.html @@ -4,18 +4,18 @@ Function template operator>> - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator>>

boost::parser::operator>>

@@ -25,9 +25,9 @@ template<parsable_range_like R, typename Parser> - constexpr auto operator>>(R && r, parser_interface< Parser > rhs);
+ constexpr auto operator>>(R && r, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(str) >> rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32397.html b/doc/html/boost/parser/operator_id73.html similarity index 51% rename from doc/html/boost/parser/operator_idm32397.html rename to doc/html/boost/parser/operator_id73.html index 28f66c18..97d8afe8 100644 --- a/doc/html/boost/parser/operator_idm32397.html +++ b/doc/html/boost/parser/operator_id73.html @@ -4,18 +4,18 @@ Function template operator> - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator>

boost::parser::operator>

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator>(char32_t c, parser_interface< Parser > rhs);
+ constexpr auto operator>(char c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) > rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32385.html b/doc/html/boost/parser/operator_id74.html similarity index 51% rename from doc/html/boost/parser/operator_idm32385.html rename to doc/html/boost/parser/operator_id74.html index ca3d7bf5..264d787c 100644 --- a/doc/html/boost/parser/operator_idm32385.html +++ b/doc/html/boost/parser/operator_id74.html @@ -4,18 +4,18 @@ Function template operator> - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator>

boost::parser::operator>

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator>(char c, parser_interface< Parser > rhs);
+ constexpr auto operator>(char32_t c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) > rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32409.html b/doc/html/boost/parser/operator_id75.html similarity index 52% rename from doc/html/boost/parser/operator_idm32409.html rename to doc/html/boost/parser/operator_id75.html index 673e6ece..2f6a6f76 100644 --- a/doc/html/boost/parser/operator_idm32409.html +++ b/doc/html/boost/parser/operator_id75.html @@ -4,18 +4,18 @@ Function template operator> - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator>

boost::parser::operator>

@@ -25,9 +25,9 @@ template<parsable_range_like R, typename Parser> - constexpr auto operator>(R && r, parser_interface< Parser > rhs);
+ constexpr auto operator>(R && r, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(str) > rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32423.html b/doc/html/boost/parser/operator_id76.html similarity index 51% rename from doc/html/boost/parser/operator_idm32423.html rename to doc/html/boost/parser/operator_id76.html index fe4a9c7a..5cc137c7 100644 --- a/doc/html/boost/parser/operator_idm32423.html +++ b/doc/html/boost/parser/operator_id76.html @@ -4,18 +4,18 @@ Function template operator| - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator|

boost::parser::operator|

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator|(char c, parser_interface< Parser > rhs);
+ constexpr auto operator|(char c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) | rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32435.html b/doc/html/boost/parser/operator_id77.html similarity index 51% rename from doc/html/boost/parser/operator_idm32435.html rename to doc/html/boost/parser/operator_id77.html index 7903ed41..14c230d9 100644 --- a/doc/html/boost/parser/operator_idm32435.html +++ b/doc/html/boost/parser/operator_id77.html @@ -4,18 +4,18 @@ Function template operator| - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator|

boost::parser::operator|

@@ -25,9 +25,9 @@ template<typename Parser> - constexpr auto operator|(char32_t c, parser_interface< Parser > rhs);
+ constexpr auto operator|(char32_t c, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(c) | rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/operator_idm32447.html b/doc/html/boost/parser/operator_id78.html similarity index 52% rename from doc/html/boost/parser/operator_idm32447.html rename to doc/html/boost/parser/operator_id78.html index b1bf3bb6..c8ef1647 100644 --- a/doc/html/boost/parser/operator_idm32447.html +++ b/doc/html/boost/parser/operator_id78.html @@ -4,18 +4,18 @@ Function template operator| - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template operator|

boost::parser::operator|

@@ -25,9 +25,9 @@ template<parsable_range_like R, typename Parser> - constexpr auto operator|(R && r, parser_interface< Parser > rhs);
+ constexpr auto operator|(R && r, parser_interface< Parser > rhs);
-

Description

+

Description

Returns a parser equivalent to lit(str) | rhs.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/opt_parser.html b/doc/html/boost/parser/opt_parser.html index 302def33..873ad24c 100644 --- a/doc/html/boost/parser/opt_parser.html +++ b/doc/html/boost/parser/opt_parser.html @@ -4,7 +4,7 @@ Struct template opt_parser - + @@ -26,35 +26,35 @@ template<typename Parser> struct opt_parser { - // public member functions + // public member functions template<typename Iter, typename Sentinel, typename Context, typename SkipParser> - auto call(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &) const; + auto call(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &) const; template<typename Iter, typename Sentinel, typename Context, typename SkipParser, typename Attribute> - void call(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &, Attribute &) const; + void call(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &, Attribute &) const; // public data members - Parser parser_; + Parser parser_; };
-

Description

+

Description

Repeats the application of another parser of type Parser, [0, 1] times. The parse always succeeds. The attribute produced is a std::optional<T>, where T is the type of attribute produced by Parser.

-

-opt_parser public member functions

+

+opt_parser public member functions

  1. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser> 
    -  auto call(Iter & first, Sentinel last, Context const & context, 
    -            SkipParser const & skip, unspecified flags, bool & success) const;
  2. + auto call(Iter & first, Sentinel last, Context const & context, + SkipParser const & skip, unspecified flags, bool & success) const;
  3. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser, typename Attribute> 
    -  void call(Iter & first, Sentinel last, Context const & context, 
    -            SkipParser const & skip, unspecified flags, bool & success, 
    -            Attribute & retval) const;
  4. + void call(Iter & first, Sentinel last, Context const & context, + SkipParser const & skip, unspecified flags, bool & success, + Attribute & retval) const;
diff --git a/doc/html/boost/parser/or_parser.html b/doc/html/boost/parser/or_parser.html index 410dabd2..7f300854 100644 --- a/doc/html/boost/parser/or_parser.html +++ b/doc/html/boost/parser/or_parser.html @@ -4,7 +4,7 @@ Struct template or_parser - + @@ -26,44 +26,44 @@ template<typename ParserTuple> struct or_parser { // construct/copy/destruct - or_parser(ParserTuple); + or_parser(ParserTuple); - // public member functions + // public member functions template<typename Iter, typename Sentinel, typename Context, typename SkipParser> - auto call(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &) const; + auto call(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &) const; template<typename Iter, typename Sentinel, typename Context, typename SkipParser, typename Attribute> - void call(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &, Attribute &) const; + void call(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &, Attribute &) const; // public data members - ParserTuple parsers_; + ParserTuple parsers_; };
-

Description

+

Description

Applies each parser in ParserTuple, in order, stopping after the application of the first one that succeeds. The parse succeeds iff one of the sub-parsers succeeds. The attribute produced is a std::variant over the types of attribute produced by the parsers in ParserTuple.

-

+

or_parser public construct/copy/destruct

-
  1. or_parser(ParserTuple parsers);
+
  1. or_parser(ParserTuple parsers);
-

-or_parser public member functions

+

+or_parser public member functions

  1. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser> 
    -  auto call(Iter & first, Sentinel last, Context const & context, 
    -            SkipParser const & skip, unspecified flags, bool & success) const;
  2. + auto call(Iter & first, Sentinel last, Context const & context, + SkipParser const & skip, unspecified flags, bool & success) const;
  3. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser, typename Attribute> 
    -  void call(Iter & first, Sentinel last, Context const & context, 
    -            SkipParser const & skip, unspecified flags, bool & success, 
    -            Attribute & retval) const;
  4. + void call(Iter & first, Sentinel last, Context const & context, + SkipParser const & skip, unspecified flags, bool & success, + Attribute & retval) const;
diff --git a/doc/html/boost/parser/parse_error.html b/doc/html/boost/parser/parse_error.html index ed5c43a1..726f2abc 100644 --- a/doc/html/boost/parser/parse_error.html +++ b/doc/html/boost/parser/parse_error.html @@ -4,7 +4,7 @@ Struct template parse_error - + @@ -26,20 +26,20 @@ template<typename Iter> struct parse_error : public std::runtime_error { // construct/copy/destruct - parse_error(Iter, std::string const &); + parse_error(Iter, std::string const &); // public data members - Iter iter; + Iter iter; };
-

Description

+

Description

The exception thrown when a parse error is encountered, consisting of an iterator to the point of failure, and the name of the failed parser or rule in what().

-

+

parse_error public construct/copy/destruct

-
  1. parse_error(Iter it, std::string const & msg);
+
  1. parse_error(Iter it, std::string const & msg);
diff --git a/doc/html/boost/parser/parse_idm32573.html b/doc/html/boost/parser/parse_id2.html similarity index 61% rename from doc/html/boost/parser/parse_idm32573.html rename to doc/html/boost/parser/parse_id2.html index a44489df..5b163a55 100644 --- a/doc/html/boost/parser/parse_idm32573.html +++ b/doc/html/boost/parser/parse_id2.html @@ -4,18 +4,18 @@ Function template parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template parse

boost::parser::parse

@@ -24,13 +24,13 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler, typename Attr> 
-  bool parse(R const & r, 
-             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
-             Attr & attr, trace trace_mode = trace::off);
+ bool parse(R const & r, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + Attr & attr, trace trace_mode = trace::off);
-

Description

+

Description

Parses r using parser, and returns whether the parse was successful. The entire input range r must be consumed for the parse to be considered successful. On success, attr will be assigned the value of the attribute produced by parser. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -68,7 +68,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/parse_idm32641.html b/doc/html/boost/parser/parse_id3.html similarity index 65% rename from doc/html/boost/parser/parse_idm32641.html rename to doc/html/boost/parser/parse_id3.html index 9fbd2ea1..ebcb9784 100644 --- a/doc/html/boost/parser/parse_idm32641.html +++ b/doc/html/boost/parser/parse_id3.html @@ -4,18 +4,18 @@ Function template parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template parse

boost::parser::parse

@@ -24,13 +24,13 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler> 
-  auto parse(R const & r, 
-             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+  auto parse(R const & r, 
+             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
              trace trace_mode = trace::off);
-

Description

+

Description

Parses r using parser. Returns a std::optional containing the attribute produced by parser on parse success, and std::nullopt on parse failure. The entire input range r must be consumed for the parse to be considered successful. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -62,7 +62,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/parse_idm32710.html b/doc/html/boost/parser/parse_id4.html similarity index 63% rename from doc/html/boost/parser/parse_idm32710.html rename to doc/html/boost/parser/parse_id4.html index 4d03c68d..85e86ed6 100644 --- a/doc/html/boost/parser/parse_idm32710.html +++ b/doc/html/boost/parser/parse_id4.html @@ -4,18 +4,18 @@ Function template parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template parse

boost::parser::parse

@@ -24,14 +24,14 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler, typename SkipParser, typename Attr> 
-  bool parse(R const & r, 
-             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
-             parser_interface< SkipParser > const & skip, Attr & attr, 
+  bool parse(R const & r, 
+             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+             parser_interface< SkipParser > const & skip, Attr & attr, 
              trace trace_mode = trace::off);
-

Description

+

Description

Parses r using parser, skipping all input recognized by skip between the application of any two parsers, and returns whether the parse was successful. The entire input range r must be consumed for the parse to be considered successful. On success, attr will be assigned the value of the attribute produced by parser. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -63,7 +63,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/parse_idm32784.html b/doc/html/boost/parser/parse_id5.html similarity index 65% rename from doc/html/boost/parser/parse_idm32784.html rename to doc/html/boost/parser/parse_id5.html index 3b5058f2..340a1c8d 100644 --- a/doc/html/boost/parser/parse_idm32784.html +++ b/doc/html/boost/parser/parse_id5.html @@ -4,18 +4,18 @@ Function template parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template parse

boost::parser::parse

@@ -24,14 +24,14 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler, typename SkipParser> 
-  auto parse(R const & r, 
-             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
-             parser_interface< SkipParser > const & skip, 
+  auto parse(R const & r, 
+             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+             parser_interface< SkipParser > const & skip, 
              trace trace_mode = trace::off);
-

Description

+

Description

Parses r using parser, skipping all input recognized by skip between the application of any two parsers. Returns a std::optional containing the attribute produced by parser on parse success, and std::nullopt on parse failure. The entire input range r must be consumed for the parse to be considered successful. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -63,7 +63,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/parser_interface.html b/doc/html/boost/parser/parser_interface.html index 63df9f5d..135802a6 100644 --- a/doc/html/boost/parser/parser_interface.html +++ b/doc/html/boost/parser/parser_interface.html @@ -4,7 +4,7 @@ Struct template parser_interface - + @@ -26,200 +26,200 @@ template<typename Parser, typename GlobalState, typename ErrorHandler> struct parser_interface { // types - typedef Parser parser_type; - typedef GlobalState global_state_type; - typedef ErrorHandler error_handler_type; - typedef int parser_interface_derivation_tag; + typedef Parser parser_type; + typedef GlobalState global_state_type; + typedef ErrorHandler error_handler_type; + typedef int parser_interface_derivation_tag; // construct/copy/destruct - parser_interface(); - parser_interface(parser_type); - parser_interface(parser_type, global_state_type, error_handler_type); + parser_interface(); + parser_interface(parser_type); + parser_interface(parser_type, global_state_type, error_handler_type); - // public member functions - constexpr auto operator!() const noexcept; - constexpr auto operator&() const noexcept; - constexpr auto operator*() const noexcept; - constexpr auto operator+() const noexcept; - constexpr auto operator-() const noexcept; + // public member functions + constexpr auto operator!() const noexcept; + constexpr auto operator&() const noexcept; + constexpr auto operator*() const noexcept; + constexpr auto operator+() const noexcept; + constexpr auto operator-() const noexcept; template<typename ParserType2> - constexpr auto operator>>(parser_interface< ParserType2 >) const noexcept; - constexpr auto operator>>(char) const noexcept; - constexpr auto operator>>(char32_t) const noexcept; + constexpr auto operator>>(parser_interface< ParserType2 >) const noexcept; + constexpr auto operator>>(char) const noexcept; + constexpr auto operator>>(char32_t) const noexcept; template<parsable_range_like R> - constexpr auto operator>>(R &&) const noexcept; + constexpr auto operator>>(R &&) const noexcept; template<typename ParserType2> - constexpr auto operator>(parser_interface< ParserType2 >) const noexcept; - constexpr auto operator>(char) const noexcept; - constexpr auto operator>(char32_t) const noexcept; + constexpr auto operator>(parser_interface< ParserType2 >) const noexcept; + constexpr auto operator>(char) const noexcept; + constexpr auto operator>(char32_t) const noexcept; template<parsable_range_like R> - constexpr auto operator>(R &&) const noexcept; + constexpr auto operator>(R &&) const noexcept; template<typename ParserType2> - constexpr auto operator|(parser_interface< ParserType2 >) const noexcept; + constexpr auto operator|(parser_interface< ParserType2 >) const noexcept; template<typename ParserType2> - constexpr auto operator||(parser_interface< ParserType2 >) const noexcept; - constexpr auto operator|(char) const noexcept; - constexpr auto operator|(char32_t) const noexcept; + constexpr auto operator||(parser_interface< ParserType2 >) const noexcept; + constexpr auto operator|(char) const noexcept; + constexpr auto operator|(char32_t) const noexcept; template<parsable_range_like R> - constexpr auto operator|(R &&) const noexcept; + constexpr auto operator|(R &&) const noexcept; template<typename ParserType2> - constexpr auto operator-(parser_interface< ParserType2 >) const noexcept; - constexpr auto operator-(char) const noexcept; - constexpr auto operator-(char32_t) const noexcept; + constexpr auto operator-(parser_interface< ParserType2 >) const noexcept; + constexpr auto operator-(char) const noexcept; + constexpr auto operator-(char32_t) const noexcept; template<parsable_range_like R> - constexpr auto operator-(R &&) const noexcept; + constexpr auto operator-(R &&) const noexcept; template<typename ParserType2> - constexpr auto operator%(parser_interface< ParserType2 >) const noexcept; - constexpr auto operator%(char) const noexcept; - constexpr auto operator%(char32_t) const noexcept; + constexpr auto operator%(parser_interface< ParserType2 >) const noexcept; + constexpr auto operator%(char) const noexcept; + constexpr auto operator%(char32_t) const noexcept; template<parsable_range_like R> - constexpr auto operator%(R &&) const noexcept; - template<typename Action> constexpr auto operator[](Action) const; + constexpr auto operator%(R &&) const noexcept; + template<typename Action> constexpr auto operator[](Action) const; template<typename Arg, typename... Args> - constexpr auto operator()(Arg &&, Args &&...) const noexcept; + constexpr auto operator()(Arg &&, Args &&...) const noexcept; };
-

Description

+

Description

A wrapper for parsers that provides the operations that must be supported by all parsers (e.g. operator>>()). GlobalState is an optional state object that can be accessed within semantic actions via a call to _globals(). This global state object is ignored for all but the topmost parser; the topmost global state object is available in the semantic actions of all nested parsers. ErrorHandler is the type of the error handler to be used on parse failure. This handler is ignored on all but the topmost parser; the topmost parser's error handler is used for all errors encountered during parsing.

-

+

parser_interface public construct/copy/destruct

    -
  1. parser_interface();
  2. -
  3. parser_interface(parser_type p);
  4. -
  5. parser_interface(parser_type p, global_state_type gs, error_handler_type eh);
  6. +
  7. parser_interface();
  8. +
  9. parser_interface(parser_type p);
  10. +
  11. parser_interface(parser_type p, global_state_type gs, error_handler_type eh);
-

-parser_interface public member functions

+

+parser_interface public member functions

  1. -
    constexpr auto operator!() const noexcept;
    +
    constexpr auto operator!() const noexcept;

    Returns a parser_interface containing a parser equivalent to an expect_parser containing parser_, with FailOnMatch == true.

  2. -
    constexpr auto operator&() const noexcept;
    +
    constexpr auto operator&() const noexcept;

    Returns a parser_interface containing a parser equivalent to an expect_parser containing parser_, with FailOnMatch == false.

  3. -
    constexpr auto operator*() const noexcept;
    +
    constexpr auto operator*() const noexcept;

    Returns a parser_interface containing a parser equivalent to a zero_plus_parser containing parser_.

  4. -
    constexpr auto operator+() const noexcept;
    +
    constexpr auto operator+() const noexcept;

    Returns a parser_interface containing a parser equivalent to a one_plus_parser containing parser_.

  5. -
    constexpr auto operator-() const noexcept;
    +
    constexpr auto operator-() const noexcept;

    Returns a parser_interface containing a parser equivalent to a opt_parser containing parser_.

  6. template<typename ParserType2> 
    -  constexpr auto 
    -  operator>>(parser_interface< ParserType2 > rhs) const noexcept;
    + constexpr auto + operator>>(parser_interface< ParserType2 > rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by rhs.parser_.

  7. -
    constexpr auto operator>>(char rhs) const noexcept;
    +
    constexpr auto operator>>(char rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by lit(rhs).

  8. -
    constexpr auto operator>>(char32_t rhs) const noexcept;
    +
    constexpr auto operator>>(char32_t rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by lit(rhs).

  9. template<parsable_range_like R> 
    -  constexpr auto operator>>(R && r) const noexcept;
    + constexpr auto operator>>(R && r) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by lit(rhs).

  10. template<typename ParserType2> 
    -  constexpr auto operator>(parser_interface< ParserType2 > rhs) const noexcept;
    + constexpr auto operator>(parser_interface< ParserType2 > rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by rhs.parser_. No back-tracking is allowed after parser_ succeeds; if rhs.parser_ fails after parser_ succeeds, the top-level parse fails.

  11. -
    constexpr auto operator>(char rhs) const noexcept;
    +
    constexpr auto operator>(char rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by lit(rhs). No back-tracking is allowed after parser_ succeeds; if lit(rhs) fails after parser_ succeeds, the top-level parse fails.

  12. -
    constexpr auto operator>(char32_t rhs) const noexcept;
    +
    constexpr auto operator>(char32_t rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by lit(rhs). No back-tracking is allowed after parser_ succeeds; if lit(rhs) fails after parser_ succeeds, the top-level parse fails.

  13. template<parsable_range_like R> 
    -  constexpr auto operator>(R && r) const noexcept;
    + constexpr auto operator>(R && r) const noexcept;

    Returns a parser_interface containing a parser equivalent to a seq_parser containing parser_ followed by lit(rhs). No back-tracking is allowed after parser_ succeeds; if lit(rhs) fails after parser_ succeeds, the top-level parse fails.

  14. template<typename ParserType2> 
    -  constexpr auto operator|(parser_interface< ParserType2 > rhs) const noexcept;
    + constexpr auto operator|(parser_interface< ParserType2 > rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to an or_parser containing parser_ followed by rhs.parser_.

  15. template<typename ParserType2> 
    -  constexpr auto 
    -  operator||(parser_interface< ParserType2 > rhs) const noexcept;
    + constexpr auto + operator||(parser_interface< ParserType2 > rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to a perm_parser containing parser_ followed by rhs.parser_. It is an error to use eps (conditional or not) with this operator.

  16. -
    constexpr auto operator|(char rhs) const noexcept;
    +
    constexpr auto operator|(char rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to an or_parser containing parser_ followed by lit(rhs).

  17. -
    constexpr auto operator|(char32_t rhs) const noexcept;
    +
    constexpr auto operator|(char32_t rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to an or_parser containing parser_ followed by lit(rhs).

  18. template<parsable_range_like R> 
    -  constexpr auto operator|(R && r) const noexcept;
    + constexpr auto operator|(R && r) const noexcept;

    Returns a parser_interface containing a parser equivalent to an or_parser containing parser_ followed by lit(rhs).

  19. template<typename ParserType2> 
    -  constexpr auto operator-(parser_interface< ParserType2 > rhs) const noexcept;
    + constexpr auto operator-(parser_interface< ParserType2 > rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to !rhs >> *this.

  20. -
    constexpr auto operator-(char rhs) const noexcept;
    +
    constexpr auto operator-(char rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to !lit(rhs) >> *this.

  21. -
    constexpr auto operator-(char32_t rhs) const noexcept;
    +
    constexpr auto operator-(char32_t rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to !lit(rhs) >> *this.

  22. template<parsable_range_like R> 
    -  constexpr auto operator-(R && r) const noexcept;
    + constexpr auto operator-(R && r) const noexcept;

    Returns a parser_interface containing a parser equivalent to !lit(rhs) >> *this.

  23. template<typename ParserType2> 
    -  constexpr auto operator%(parser_interface< ParserType2 > rhs) const noexcept;
    + constexpr auto operator%(parser_interface< ParserType2 > rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to an delimited_seq_parser containing parser_ and rhs.parser_.

  24. -
    constexpr auto operator%(char rhs) const noexcept;
    +
    constexpr auto operator%(char rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to an delimited_seq_parser containing parser_ and lit(rhs).

  25. -
    constexpr auto operator%(char32_t rhs) const noexcept;
    +
    constexpr auto operator%(char32_t rhs) const noexcept;

    Returns a parser_interface containing a parser equivalent to an delimited_seq_parser containing parser_ and lit(rhs).

  26. template<parsable_range_like R> 
    -  constexpr auto operator%(R && r) const noexcept;
    + constexpr auto operator%(R && r) const noexcept;

    Returns a parser_interface containing a parser equivalent to an delimited_seq_parser containing parser_ and lit(rhs).

  27. -
    template<typename Action> constexpr auto operator[](Action action) const;
    +
    template<typename Action> constexpr auto operator[](Action action) const;

    Returns a parser_interface containing a parser equivalent to an action_parser containing parser_, with semantic action action.

  28. template<typename Arg, typename... Args> 
    -  constexpr auto operator()(Arg && arg, Args &&... args) const noexcept;
    + constexpr auto operator()(Arg && arg, Args &&... args) const noexcept;

    Returns parser_((Arg &&)arg, (Args &&)args...). This is useful for those parsers that have operator() overloads, e.g. <lsquo></lsquo>char_('x<rsquo></rsquo>)<lsquo></lsquo>. By convention, parsers<rsquo></rsquo> operator()s return parser_interfaces.

    This function does not participate in overload resolution unless parser_((Arg &&)arg, (Args &&)args...) is well-formed.

  29. diff --git a/doc/html/boost/parser/perm_parser.html b/doc/html/boost/parser/perm_parser.html index dfedc4b7..3720b7ac 100644 --- a/doc/html/boost/parser/perm_parser.html +++ b/doc/html/boost/parser/perm_parser.html @@ -4,7 +4,7 @@ Struct template perm_parser - + @@ -26,55 +26,55 @@ template<typename ParserTuple> struct perm_parser { // construct/copy/destruct - perm_parser(ParserTuple); + perm_parser(ParserTuple); - // public member functions + // public member functions template<typename Iter, typename Sentinel, typename Context, typename SkipParser> - auto call(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &) const; + auto call(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &) const; template<typename Iter, typename Sentinel, typename Context, typename SkipParser, typename Attribute> - void call(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &, Attribute &) const; + void call(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &, Attribute &) const; template<typename Iter, typename Sentinel, typename Context, typename SkipParser, typename... Ts, int... Is> - void call_impl(Iter &, Sentinel, Context const &, SkipParser const &, - unspecified, bool &, tuple< Ts... > &, - std::integer_sequence< int, Is... >) const; + void call_impl(Iter &, Sentinel, Context const &, SkipParser const &, + unspecified, bool &, tuple< Ts... > &, + std::integer_sequence< int, Is... >) const; // public data members - ParserTuple parsers_; + ParserTuple parsers_; };
-

Description

+

Description

Applies each parsers in ParserTuple, an any order, stopping after all of them have matched the input. The parse succeeds iff all the parsers match, regardless of the order in which they do. The attribute produced is a parser::tuple containing the attributes of the subparsers, in their order of the parsers' appearance in ParserTuple, not the order of the parsers' matches. It is an error to specialize perm_parser with a ParserTuple template parameter that includes an eps_parser.

-

+

perm_parser public construct/copy/destruct

-
  1. perm_parser(ParserTuple parsers);
+
  1. perm_parser(ParserTuple parsers);
-

-perm_parser public member functions

+

+perm_parser public member functions

  1. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser> 
    -  auto call(Iter & first_, Sentinel last, Context const & context, 
    -            SkipParser const & skip, unspecified flags, bool & success) const;
  2. + auto call(Iter & first_, Sentinel last, Context const & context, + SkipParser const & skip, unspecified flags, bool & success) const;
  3. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser, typename Attribute> 
    -  void call(Iter & first_, Sentinel last, Context const & context, 
    -            SkipParser const & skip, unspecified flags, bool & success, 
    -            Attribute & retval) const;
  4. + void call(Iter & first_, Sentinel last, Context const & context, + SkipParser const & skip, unspecified flags, bool & success, + Attribute & retval) const;
  5. template<typename Iter, typename Sentinel, typename Context, 
              typename SkipParser, typename... Ts, int... Is> 
    -  void call_impl(Iter & first, Sentinel last, Context const & context, 
    -                 SkipParser const & skip, unspecified flags, bool & success, 
    +  void call_impl(Iter & first, Sentinel last, Context const & context, 
    +                 SkipParser const & skip, unspecified flags, bool & success, 
                      tuple< Ts... > & retval, 
    -                 std::integer_sequence< int, Is... >) const;
  6. + std::integer_sequence< int, Is... >) const;
diff --git a/doc/html/boost/parser/prefix_parse_idm32537.html b/doc/html/boost/parser/prefix_parse_id15.html similarity index 63% rename from doc/html/boost/parser/prefix_parse_idm32537.html rename to doc/html/boost/parser/prefix_parse_id15.html index 9038345e..87804051 100644 --- a/doc/html/boost/parser/prefix_parse_idm32537.html +++ b/doc/html/boost/parser/prefix_parse_id15.html @@ -4,18 +4,18 @@ Function template prefix_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template prefix_parse

boost::parser::prefix_parse

@@ -27,11 +27,11 @@ template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename Attr> - bool prefix_parse(I & first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, - Attr & attr, trace trace_mode = trace::off);
+ bool prefix_parse(I & first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + Attr & attr, trace trace_mode = trace::off);
-

Description

+

Description

Parses [first, last) using parser, and returns whether the parse was successful. On success, attr will be assigned the value of the attribute produced by parser. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -63,7 +63,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/prefix_parse_idm32610.html b/doc/html/boost/parser/prefix_parse_id16.html similarity index 65% rename from doc/html/boost/parser/prefix_parse_idm32610.html rename to doc/html/boost/parser/prefix_parse_id16.html index 72f607b5..c0b367ab 100644 --- a/doc/html/boost/parser/prefix_parse_idm32610.html +++ b/doc/html/boost/parser/prefix_parse_id16.html @@ -4,18 +4,18 @@ Function template prefix_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template prefix_parse

boost::parser::prefix_parse

@@ -27,11 +27,11 @@ template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler> - auto prefix_parse(I & first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + auto prefix_parse(I & first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, trace trace_mode = trace::off);
-

Description

+

Description

Parses [first, last) using parser. Returns a std::optional containing the attribute produced by parser on parse success, and std::nullopt on parse failure. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -44,7 +44,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/prefix_parse_idm32673.html b/doc/html/boost/parser/prefix_parse_id17.html similarity index 64% rename from doc/html/boost/parser/prefix_parse_idm32673.html rename to doc/html/boost/parser/prefix_parse_id17.html index 102bc353..fafdaa6a 100644 --- a/doc/html/boost/parser/prefix_parse_idm32673.html +++ b/doc/html/boost/parser/prefix_parse_id17.html @@ -4,18 +4,18 @@ Function template prefix_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template prefix_parse

boost::parser::prefix_parse

@@ -28,12 +28,12 @@ typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename SkipParser, typename Attr> - bool prefix_parse(I & first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, - parser_interface< SkipParser > const & skip, Attr & attr, + bool prefix_parse(I & first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + parser_interface< SkipParser > const & skip, Attr & attr, trace trace_mode = trace::off);
-

Description

+

Description

Parses [first, last) using parser, skipping all input recognized by skip between the application of any two parsers, and returns whether the parse was successful. On success, attr will be assigned the value of the attribute produced by parser. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -44,7 +44,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/prefix_parse_idm32749.html b/doc/html/boost/parser/prefix_parse_id18.html similarity index 65% rename from doc/html/boost/parser/prefix_parse_idm32749.html rename to doc/html/boost/parser/prefix_parse_id18.html index e2f39166..bbf5b869 100644 --- a/doc/html/boost/parser/prefix_parse_idm32749.html +++ b/doc/html/boost/parser/prefix_parse_id18.html @@ -4,18 +4,18 @@ Function template prefix_parse - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template prefix_parse

boost::parser::prefix_parse

@@ -27,12 +27,12 @@ template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename SkipParser> - auto prefix_parse(I & first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, - parser_interface< SkipParser > const & skip, + auto prefix_parse(I & first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + parser_interface< SkipParser > const & skip, trace trace_mode = trace::off);
-

Description

+

Description

Parses [first, last) using parser, skipping all input recognized by skip between the application of any two parsers. Returns a std::optional containing the attribute produced by parser on parse success, and std::nullopt on parse failure. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.

@@ -43,7 +43,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/punct.html b/doc/html/boost/parser/punct.html index efb2b121..b057c7cf 100644 --- a/doc/html/boost/parser/punct.html +++ b/doc/html/boost/parser/punct.html @@ -4,7 +4,7 @@ Global punct - + @@ -25,7 +25,7 @@ unspecified punct;
-

Description

+

Description

The punctuation character parser. Matches the full set of Unicode punctuation clases (specifically, "Pc", "Pd", "Pe", "Pf", "Pi", "Ps", and "Po").

diff --git a/doc/html/boost/parser/quoted_string.html b/doc/html/boost/parser/quoted_string.html index ff47ba9c..6ba1d657 100644 --- a/doc/html/boost/parser/quoted_string.html +++ b/doc/html/boost/parser/quoted_string.html @@ -4,7 +4,7 @@ Global quoted_string - + @@ -23,10 +23,10 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< quoted_string_parser<> > quoted_string;
+constexpr parser_interface< quoted_string_parser<> > quoted_string;
-

Description

-

Parses a string delimited by quotation marks. This parser can be used to create parsers that accept one or more specific quotation mark characters. By default, the quotation marks are <lsquo></lsquo><rsquo></rsquo>"'`; an alternate quotation mark can be specified by calling this parser with a single character, or a range of characters. If a range is specified, the opening quote must be one of the characters specified, and the closing quote must match the opening quote. Quotation marks may appear within the string if escaped with a backslash, and a pair of backslashes is treated as a single escaped backslash; all other backslashes cause the parse to fail, unless a symbol table is in use. A symbol table can be provided as a second parameter after the single character or range described above. The symbol table is used to recognize escape sequences. Each escape sequence is a backslash followed by a value in the symbol table. When using a symbol table, any backslash that is not followed by another backslash, the opening quote character, or a symbol from the symbol table will cause the parse to fail. Skipping is disabled during parsing of the entire quoted string, including the quotation marks. There is an expectation point before the closing quotation mark. Produces a std::string attribute.

+

Description

+

Parses a string delimited by quotation marks. This parser can be used to create parsers that accept one or more specific quotation mark characters. By default, the quotation marks are <lsquo></lsquo><rsquo></rsquo>"'; an alternate quotation mark can be specified by calling this parser with a single character, or a range of characters. If a range is specified, the opening quote must be one of the characters specified, and the closing quote must match the opening quote. Quotation marks may appear within the string if escaped with a backslash, and a pair of backslashes is treated as a single escaped backslash; all other backslashes cause the parse to fail, unless a symbol table is in use. A symbol table can be provided as a second parameter after the single character or range described above. The symbol table is used to recognize escape sequences. Each escape sequence is a backslash followed by a value in the symbol table. When using a symbol table, any backslash that is not followed by another backslash, the opening quote character, or a symbol from the symbol table will cause the parse to fail. Skipping is disabled during parsing of the entire quoted string, including the quotation marks. There is an expectation point before the closing quotation mark. Produces astd::string` attribute.

-

Description

+

Description

Matches a string delimited by quotation marks; produces a std::string attribute.

-

-quoted_string_parser public member functions

+

+quoted_string_parser public member functions

    -
  1. constexpr quoted_string_parser() return 
    -parser_interface(quoted_string_parser(std::move(x)));
  2. +
  3. constexpr quoted_string_parser() return 
    +parser_interface(quoted_string_parser(std::move(x)));
  4. template<parsable_range_like R> 
    -  constexpr auto operator()(R && r) const noexcept;
    + constexpr auto operator()(R && r) const noexcept;

    Returns a parser_interface containing a quoted_string_parser that accepts any of the values in r as its quotation marks. If the input being matched during the parse is a a sequence of char32_t, the elements of r are transcoded from their presumed encoding to UTF-32 during the comparison. Otherwise, the character begin matched is directly compared to the elements of r.

  5. template<typename T, typename U> 
    -  auto operator()(T x, symbols< U > const & escapes) const noexcept;
    + auto operator()(T x, symbols< U > const & escapes) const noexcept;

    Returns a parser_interface containing a quoted_string_parser that uses x as its quotation marks. symbols provides a list of strings that may appear after a backslash to form an escape sequence, and what character(s) each escape sequence represents. Note that "\\"</tt> and <tt>"\ch" are always valid escape sequences.

  6. template<parsable_range_like R, typename T> 
    -  auto operator()(R && r, symbols< T > const & escapes) const noexcept;
    + auto operator()(R && r, symbols< T > const & escapes) const noexcept;

    Returns a parser_interface containing a quoted_string_parser that accepts any of the values in r as its quotation marks. If the input being matched during the parse is a a sequence of char32_t, the elements of r are transcoded from their presumed encoding to UTF-32 during the comparison. Otherwise, the character begin matched is directly compared to the elements of r. symbols provides a list of strings that may appear after a backslash to form an escape sequence, and what character(s) each escape sequence represents. Note that "\\"</tt> and <tt>"\ch" are always valid escape sequences.

diff --git a/doc/html/boost/parser/raw.html b/doc/html/boost/parser/raw.html index 63bc258f..6366b2c7 100644 --- a/doc/html/boost/parser/raw.html +++ b/doc/html/boost/parser/raw.html @@ -4,7 +4,7 @@ Global raw - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr directive< raw_parser > raw;
+constexpr directive< raw_parser > raw;
-

Description

+

Description

The raw directive, whose operator[] returns a parser_interface<raw_parser<P>> from a given parser of type parser_interface<P>.

diff --git a/doc/html/boost/parser/raw_parser.html b/doc/html/boost/parser/raw_parser.html index e3a7216a..2240dce8 100644 --- a/doc/html/boost/parser/raw_parser.html +++ b/doc/html/boost/parser/raw_parser.html @@ -4,7 +4,7 @@ Struct template raw_parser - + @@ -27,7 +27,7 @@ struct raw_parser { };
-

Description

+

Description

Applies the given parser p of type Parser; regardless of the attribute produced by Parser, this parser's attribute is equivalent to _where(ctx) within a semantic action on p. The parse succeeds iff p succeeds.

diff --git a/doc/html/boost/parser/repeat_directive.html b/doc/html/boost/parser/repeat_directive.html index bac87bab..723e89d2 100644 --- a/doc/html/boost/parser/repeat_directive.html +++ b/doc/html/boost/parser/repeat_directive.html @@ -4,7 +4,7 @@ Struct template repeat_directive - + @@ -26,22 +26,22 @@ template<typename MinType, typename MaxType> struct repeat_directive { - // public member functions + // public member functions template<typename Parser2> - constexpr auto operator[](parser_interface< Parser2 >) const noexcept; + constexpr auto operator[](parser_interface< Parser2 >) const noexcept; // public data members - MinType min_; - MaxType max_; + MinType min_; + MaxType max_; };
-

Description

+

Description

Represents a repeat_parser as a directive (e.g. repeat[other_parser]).

-

-repeat_directive public member functions

+

+repeat_directive public member functions

  1. template<typename Parser2> 
    -  constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;
+ constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;
diff --git a/doc/html/boost/parser/repeat_idm32218.html b/doc/html/boost/parser/repeat_id13.html similarity index 78% rename from doc/html/boost/parser/repeat_idm32218.html rename to doc/html/boost/parser/repeat_id13.html index 24e60b76..5b08285c 100644 --- a/doc/html/boost/parser/repeat_idm32218.html +++ b/doc/html/boost/parser/repeat_id13.html @@ -4,18 +4,18 @@ Function template repeat - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template repeat

boost::parser::repeat

@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<typename T> constexpr repeat_directive< T, T > repeat(T n);
+template<typename T> constexpr repeat_directive< T, T > repeat(T n);
-

Description

+

Description

Returns a repeat_directive that repeats exactly n times, and whose operator[] returns a parser_interface<repeat_parser<P>> from a given parser of type parser_interface<P>.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/repeat_idm32236.html b/doc/html/boost/parser/repeat_id14.html similarity index 66% rename from doc/html/boost/parser/repeat_idm32236.html rename to doc/html/boost/parser/repeat_id14.html index 4af31214..237cfa5b 100644 --- a/doc/html/boost/parser/repeat_idm32236.html +++ b/doc/html/boost/parser/repeat_id14.html @@ -4,18 +4,18 @@ Function template repeat - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template repeat

boost::parser::repeat

@@ -25,10 +25,10 @@ template<typename MinType, typename MaxType> - constexpr repeat_directive< MinType, MaxType > - repeat(MinType min_, MaxType max_);
+ constexpr repeat_directive< MinType, MaxType > + repeat(MinType min_, MaxType max_);
-

Description

+

Description

Returns a repeat_directive that repeats between min_ and max_ times, inclusive, and whose operator[] returns a parser_interface<repeat_parser<P>> from a given parser of type parser_interface<P>.

@@ -39,7 +39,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/repeat_parser.html b/doc/html/boost/parser/repeat_parser.html index 27b604fc..ca694fc9 100644 --- a/doc/html/boost/parser/repeat_parser.html +++ b/doc/html/boost/parser/repeat_parser.html @@ -4,7 +4,7 @@ Struct template repeat_parser - + @@ -24,11 +24,11 @@
// In header: <boost/parser/parser_fwd.hpp>
 
 template<typename Parser, typename DelimiterParser = detail::nope, 
-         typename MinType = int64_t, typename MaxType = int64_t> 
+         typename MinType = int64_t, typename MaxType = int64_t> 
 struct repeat_parser {
 };
-

Description

+

Description

Repeats the application of another parser p of type Parser, optionally applying another parser d of type DelimiterParser in between each pair of applications of p. The parse succeeds if p succeeds at least the minumum number of times, and d succeeds each time it is applied. The attribute produced is a sequence of the type of attribute produced by Parser.

diff --git a/doc/html/boost/parser/replace.html b/doc/html/boost/parser/replace.html index dae6504c..8968b66a 100644 --- a/doc/html/boost/parser/replace.html +++ b/doc/html/boost/parser/replace.html @@ -4,7 +4,7 @@ Global replace - + @@ -25,7 +25,7 @@ unspecified replace;
-

Description

+

Description

A range adaptor object ([range.adaptor.object]). Given subexpressions E and P, Q, R, and 'S', each of the expressions replace(E, P), replace(E, P, Q). replace(E, P, Q, R), and replace(E, P, Q, R, S) are expression-equivalent to replace_view(E, P), replace_view(E, P, Q), replace_view(E, P, Q, R), replace_view(E, diff --git a/doc/html/boost/parser/replace_view.html b/doc/html/boost/parser/replace_view.html index 88ee0f3f..668ece36 100644 --- a/doc/html/boost/parser/replace_view.html +++ b/doc/html/boost/parser/replace_view.html @@ -4,7 +4,7 @@ Struct template replace_view - + @@ -38,68 +38,68 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr reference_type operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr reference_type operator*() const; }; template<bool Const> struct sentinel { }; // construct/copy/destruct - replace_view() = default; - replace_view(V, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, ReplacementV, + replace_view() = default; + replace_view(V, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, ReplacementV, trace = trace::off); - replace_view(V, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + replace_view(V, + parser_interface< Parser, GlobalState, ErrorHandler > const &, ReplacementV, trace = trace::off); - // public member functions - constexpr V base() const; - constexpr V base(); - constexpr V replacement() const; - constexpr V replacement(); - constexpr auto begin(); - constexpr auto end(); - constexpr auto begin() const; - constexpr auto end() const; + // public member functions + constexpr V base() const; + constexpr V base(); + constexpr V replacement() const; + constexpr V replacement(); + constexpr auto begin(); + constexpr auto end(); + constexpr auto begin() const; + constexpr auto end() const; };

-

Description

+

Description

Produces a range of subranges of a given range base. Each subrange is either a subrange of base that does not match the given parser parser, or is the given replacement for a match, replacement.

In addition to the template parameter constraints, V and ReplacementV must be ranges of char, or must have the same UTF format, and V and ReplacementV must meet the same compatibility requirements as described in std::ranges::join_view.

-

+

replace_view public construct/copy/destruct

    -
  1. replace_view() = default;
  2. -
  3. replace_view(V base, 
    -             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    -             parser_interface< SkipParser > const & skip, 
    +
  4. replace_view() = default;
  5. +
  6. replace_view(V base, 
    +             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +             parser_interface< SkipParser > const & skip, 
                  ReplacementV replacement, trace trace_mode = trace::off);
  7. -
  8. replace_view(V base, 
    -             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +
  9. replace_view(V base, 
    +             parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
                  ReplacementV replacement, trace trace_mode = trace::off);
-

-replace_view public member functions

+

+replace_view public member functions

    -
  1. constexpr V base() const;
  2. -
  3. constexpr V base();
  4. -
  5. constexpr V replacement() const;
  6. -
  7. constexpr V replacement();
  8. -
  9. constexpr auto begin();
  10. -
  11. constexpr auto end();
  12. -
  13. constexpr auto begin() const;
  14. -
  15. constexpr auto end() const;
  16. +
  17. constexpr V base() const;
  18. +
  19. constexpr V base();
  20. +
  21. constexpr V replacement() const;
  22. +
  23. constexpr V replacement();
  24. +
  25. constexpr auto begin();
  26. +
  27. constexpr auto end();
  28. +
  29. constexpr auto begin() const;
  30. +
  31. constexpr auto end() const;
diff --git a/doc/html/boost/parser/replace_view/iterator.html b/doc/html/boost/parser/replace_view/iterator.html index 2f7a50f9..aaf78401 100644 --- a/doc/html/boost/parser/replace_view/iterator.html +++ b/doc/html/boost/parser/replace_view/iterator.html @@ -4,15 +4,15 @@ Struct template iterator - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -34,31 +34,31 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr reference_type operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr reference_type operator*() const; };
-

Description

+

Description

-

+

iterator public construct/copy/destruct

    -
  1. iterator() = default;
  2. -
  3. iterator(unspecified parent);
  4. +
  5. iterator() = default;
  6. +
  7. iterator(unspecified parent);
-

-iterator public member functions

+

+iterator public member functions

    -
  1. constexpr iterator & operator++();
  2. -
  3. constexpr reference_type operator*() const;
  4. +
  5. constexpr iterator & operator++();
  6. +
  7. constexpr reference_type operator*() const;
@@ -70,7 +70,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/replace_view/sentinel.html b/doc/html/boost/parser/replace_view/sentinel.html index c5c685d3..99c72f77 100644 --- a/doc/html/boost/parser/replace_view/sentinel.html +++ b/doc/html/boost/parser/replace_view/sentinel.html @@ -4,15 +4,15 @@ Struct template sentinel - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -35,7 +35,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/report_error_idm33470.html b/doc/html/boost/parser/report_error_id25.html similarity index 78% rename from doc/html/boost/parser/report_error_idm33470.html rename to doc/html/boost/parser/report_error_id25.html index 702f55b7..1e9f5bc1 100644 --- a/doc/html/boost/parser/report_error_idm33470.html +++ b/doc/html/boost/parser/report_error_id25.html @@ -4,18 +4,18 @@ Function template _report_error - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template _report_error

boost::parser::_report_error

@@ -25,10 +25,10 @@ template<std::forward_iterator I, typename Context> - void _report_error(Context const & context, std::string_view message, + void _report_error(Context const & context, std::string_view message, I location);
-

Description

+

Description

Report that the error described in message occurred at location, using the context's error handler.

@@ -39,7 +39,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/report_error_idm33486.html b/doc/html/boost/parser/report_error_id26.html similarity index 53% rename from doc/html/boost/parser/report_error_idm33486.html rename to doc/html/boost/parser/report_error_id26.html index 53000d07..1f687e45 100644 --- a/doc/html/boost/parser/report_error_idm33486.html +++ b/doc/html/boost/parser/report_error_id26.html @@ -4,18 +4,18 @@ Function template _report_error - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template _report_error

boost::parser::_report_error

@@ -25,9 +25,9 @@ template<typename Context> - void _report_error(Context const & context, std::string_view message);
+ void _report_error(Context const & context, std::string_view message);
-

Description

+

Description

Report that the error described in message occurred at _where(context).begin(), using the context's error handler.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/report_warning_idm33498.html b/doc/html/boost/parser/report_warning_id27.html similarity index 57% rename from doc/html/boost/parser/report_warning_idm33498.html rename to doc/html/boost/parser/report_warning_id27.html index 9983d57e..1bc1c8fd 100644 --- a/doc/html/boost/parser/report_warning_idm33498.html +++ b/doc/html/boost/parser/report_warning_id27.html @@ -4,18 +4,18 @@ Function template _report_warning - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template _report_warning

boost::parser::_report_warning

@@ -25,10 +25,10 @@ template<std::forward_iterator I, typename Context> - void _report_warning(Context const & context, std::string_view message, + void _report_warning(Context const & context, std::string_view message, I location);
-

Description

+

Description

Report that the warning described in message occurred at location, using the context's error handler.

@@ -39,7 +39,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/report_warning_idm33514.html b/doc/html/boost/parser/report_warning_id28.html similarity index 56% rename from doc/html/boost/parser/report_warning_idm33514.html rename to doc/html/boost/parser/report_warning_id28.html index d6aea706..57a19391 100644 --- a/doc/html/boost/parser/report_warning_idm33514.html +++ b/doc/html/boost/parser/report_warning_id28.html @@ -4,18 +4,18 @@ Function template _report_warning - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template _report_warning

boost::parser::_report_warning

@@ -25,9 +25,9 @@ template<typename Context> - void _report_warning(Context const & context, std::string_view message);
+ void _report_warning(Context const & context, std::string_view message);
-

Description

+

Description

Report that the warning described in message occurred at _where(context).begin(), using the context's error handler.

@@ -38,7 +38,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/rethrow_error_handler.html b/doc/html/boost/parser/rethrow_error_handler.html index eccc6e97..2e8fd6ec 100644 --- a/doc/html/boost/parser/rethrow_error_handler.html +++ b/doc/html/boost/parser/rethrow_error_handler.html @@ -4,7 +4,7 @@ Struct rethrow_error_handler - + @@ -26,31 +26,31 @@ struct rethrow_error_handler { - // public member functions + // public member functions template<typename Iter, typename Sentinel> error_handler_result - operator()(Iter, Sentinel, parse_error< Iter > const &) const; + operator()(Iter, Sentinel, parse_error< Iter > const &) const; template<typename Context, typename Iter> - void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; + void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; template<typename Context> - void diagnose(diagnostic_kind, std::string_view, Context const &) const; + void diagnose(diagnostic_kind, std::string_view, Context const &) const; };
-

Description

+

Description

An error handler that just re-throws any exception generated by the parse.

-

-rethrow_error_handler public member functions

+

+rethrow_error_handler public member functions

  1. template<typename Iter, typename Sentinel> 
       error_handler_result 
    -  operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;
  2. + operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;
  3. template<typename Context, typename Iter> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context, Iter it) const;
  4. + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context, Iter it) const;
  5. template<typename Context> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context) const;
  6. + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context) const;
diff --git a/doc/html/boost/parser/rule.html b/doc/html/boost/parser/rule.html index 6428389d..7dd92af9 100644 --- a/doc/html/boost/parser/rule.html +++ b/doc/html/boost/parser/rule.html @@ -4,7 +4,7 @@ Struct template rule - + @@ -29,7 +29,7 @@ struct rule { };
-

Description

+

Description

A type used to declare named parsing rules. The TagType template parameter is used to associate a particular rule with the rule_parser used during parsing.

diff --git a/doc/html/boost/parser/rule_parser.html b/doc/html/boost/parser/rule_parser.html index ddac0183..bf68a85a 100644 --- a/doc/html/boost/parser/rule_parser.html +++ b/doc/html/boost/parser/rule_parser.html @@ -4,7 +4,7 @@ Struct template rule_parser - + @@ -28,7 +28,7 @@ struct rule_parser { };
-

Description

+

Description

Applies another parser p, associated with this parser via TagType. The attribute produced is Attribute. Both a default-constructed object of type LocalState, and a default-constructed object of type ParamsTuple, are added to the parse context before the associated parser is applied. The parse succeeds iff p succeeds. If CanUseCallbacks is true, and if this parser is used within a call to callback_parse(), the attribute is produced via callback; otherwise, the attribute is produced as normal (as a return value, or as an out-param). The rule may be constructed with user-friendly diagnostic text that will appear if the top-level parse is executed with trace_mode == boost::parser::trace::on.

diff --git a/doc/html/boost/parser/search_all.html b/doc/html/boost/parser/search_all.html index 753d53f8..0ebf20ec 100644 --- a/doc/html/boost/parser/search_all.html +++ b/doc/html/boost/parser/search_all.html @@ -4,15 +4,15 @@ Global search_all - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,7 +25,7 @@ unspecified search_all;
-

Description

+

Description

A range adaptor object ([range.adaptor.object]). Given subexpressions E and P, Q, and R, each of the expressions search_all(E, P), search_all(E, P, Q), and search_all(E, P, Q, R) are expression-equivalent to search_all_view(E, P), search_all_view(E, P, Q), and search_all_view(E, P, Q, R), respectively.

@@ -37,7 +37,7 @@ P, Q)
, and search_all_view(E, P, Q, R)
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/search_all_view.html b/doc/html/boost/parser/search_all_view.html index c4eb4ea2..61690dca 100644 --- a/doc/html/boost/parser/search_all_view.html +++ b/doc/html/boost/parser/search_all_view.html @@ -4,7 +4,7 @@ Struct template search_all_view - + @@ -35,62 +35,62 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; }; template<bool Const> struct sentinel { }; // construct/copy/destruct - search_all_view() = default; - search_all_view(V, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, trace = trace::off); - search_all_view(V, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + search_all_view() = default; + search_all_view(V, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, trace = trace::off); + search_all_view(V, + parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); - // public member functions - constexpr V base() const; - constexpr V base(); - constexpr auto begin(); - constexpr auto end(); - constexpr auto begin() const; - constexpr auto end() const; + // public member functions + constexpr V base() const; + constexpr V base(); + constexpr auto begin(); + constexpr auto end(); + constexpr auto begin() const; + constexpr auto end() const; };
-

Description

+

Description

Produces a sequence of subranges of the underlying sequence of type V. Each subrange is a nonoverlapping match of the given parser, using a skip-parser if provided.

-

+

search_all_view public construct/copy/destruct

    -
  1. search_all_view() = default;
  2. -
  3. search_all_view(V base, 
    -                parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    -                parser_interface< SkipParser > const & skip, 
    +
  4. search_all_view() = default;
  5. +
  6. search_all_view(V base, 
    +                parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +                parser_interface< SkipParser > const & skip, 
                     trace trace_mode = trace::off);
  7. -
  8. search_all_view(V base, 
    -                parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +
  9. search_all_view(V base, 
    +                parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
                     trace trace_mode = trace::off);
-

-search_all_view public member functions

+

+search_all_view public member functions

    -
  1. constexpr V base() const;
  2. -
  3. constexpr V base();
  4. -
  5. constexpr auto begin();
  6. -
  7. constexpr auto end();
  8. -
  9. constexpr auto begin() const;
  10. -
  11. constexpr auto end() const;
  12. +
  13. constexpr V base() const;
  14. +
  15. constexpr V base();
  16. +
  17. constexpr auto begin();
  18. +
  19. constexpr auto end();
  20. +
  21. constexpr auto begin() const;
  22. +
  23. constexpr auto end() const;
diff --git a/doc/html/boost/parser/search_all_view/iterator.html b/doc/html/boost/parser/search_all_view/iterator.html index e7caf364..64d91485 100644 --- a/doc/html/boost/parser/search_all_view/iterator.html +++ b/doc/html/boost/parser/search_all_view/iterator.html @@ -4,15 +4,15 @@ Struct template iterator - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -32,31 +32,31 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; };
-

Description

+

Description

-

+

iterator public construct/copy/destruct

    -
  1. iterator() = default;
  2. -
  3. iterator(unspecified parent);
  4. +
  5. iterator() = default;
  6. +
  7. iterator(unspecified parent);
-

-iterator public member functions

+

+iterator public member functions

    -
  1. constexpr iterator & operator++();
  2. -
  3. constexpr BOOST_PARSER_SUBRANGE< I > operator*() const;
  4. +
  5. constexpr iterator & operator++();
  6. +
  7. constexpr BOOST_PARSER_SUBRANGE< I > operator*() const;
@@ -68,7 +68,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/search_all_view/sentinel.html b/doc/html/boost/parser/search_all_view/sentinel.html index f5ff00bc..66485cae 100644 --- a/doc/html/boost/parser/search_all_view/sentinel.html +++ b/doc/html/boost/parser/search_all_view/sentinel.html @@ -4,15 +4,15 @@ Struct template sentinel - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -35,7 +35,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/search_idm33809.html b/doc/html/boost/parser/search_id21.html similarity index 68% rename from doc/html/boost/parser/search_idm33809.html rename to doc/html/boost/parser/search_id21.html index 7ae41caa..ffcb1647 100644 --- a/doc/html/boost/parser/search_idm33809.html +++ b/doc/html/boost/parser/search_id21.html @@ -4,18 +4,18 @@ Function template search - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template search

boost::parser::search

@@ -24,14 +24,14 @@
// In header: <boost/parser/search.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler, typename SkipParser> 
-  auto search(R && r, 
-              parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
-              parser_interface< SkipParser > const & skip, 
+  auto search(R && r, 
+              parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+              parser_interface< SkipParser > const & skip, 
               trace trace_mode = trace::off);
-

Description

+

Description

Returns a subrange to the first match for parser parser in r, using skip-parser skip. This function has a similar interface and semantics to std::ranges::search(). Returns std::ranges::dangling in C++20 and later if r is a non-borrowable rvalue.

@@ -42,7 +42,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/search_idm33837.html b/doc/html/boost/parser/search_id22.html similarity index 63% rename from doc/html/boost/parser/search_idm33837.html rename to doc/html/boost/parser/search_id22.html index 065c7b51..fbfc71d4 100644 --- a/doc/html/boost/parser/search_idm33837.html +++ b/doc/html/boost/parser/search_id22.html @@ -4,18 +4,18 @@ Function template search - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template search

boost::parser::search

@@ -27,12 +27,12 @@ template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename SkipParser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler> - auto search(I first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, - parser_interface< SkipParser > const & skip, + auto search(I first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + parser_interface< SkipParser > const & skip, trace trace_mode = trace::off);
-

Description

+

Description

Returns a subrange to the first match for parser parser in [first, last), using skip-parser skip. This function has a similar interface and semantics to std::ranges::search().

@@ -43,7 +43,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/search_idm33868.html b/doc/html/boost/parser/search_id23.html similarity index 56% rename from doc/html/boost/parser/search_idm33868.html rename to doc/html/boost/parser/search_id23.html index 80d04d81..ba649ed8 100644 --- a/doc/html/boost/parser/search_idm33868.html +++ b/doc/html/boost/parser/search_id23.html @@ -4,18 +4,18 @@ Function template search - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template search

boost::parser::search

@@ -24,13 +24,13 @@
// In header: <boost/parser/search.hpp>
 
 
-template<parsable_range_like R, typename Parser, typename GlobalState, 
+template<parsable_range R, typename Parser, typename GlobalState, 
          typename ErrorHandler> 
-  auto search(R && r, 
-              parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
+  auto search(R && r, 
+              parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
               trace trace_mode = trace::off);
-

Description

+

Description

Returns a subrange to the first match for parser parser in r. This function has a similar interface and semantics to std::ranges::search(). Returns std::ranges::dangling in C++20 and later if r is a non-borrowable rvalue.

@@ -41,7 +41,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/search_idm33891.html b/doc/html/boost/parser/search_id24.html similarity index 65% rename from doc/html/boost/parser/search_idm33891.html rename to doc/html/boost/parser/search_id24.html index 148e075f..c2ab5a0d 100644 --- a/doc/html/boost/parser/search_idm33891.html +++ b/doc/html/boost/parser/search_id24.html @@ -4,18 +4,18 @@ Function template search - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template search

boost::parser::search

@@ -27,11 +27,11 @@ template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler> - auto search(I first, S last, - parser_interface< Parser, GlobalState, ErrorHandler > const & parser, + auto search(I first, S last, + parser_interface< Parser, GlobalState, ErrorHandler > const & parser, trace trace_mode = trace::off);
-

Description

+

Description

Returns a subrange to the first match for parser parser in [first, last). This function has a similar interface and semantics to std::ranges::search().

@@ -42,7 +42,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/separate.html b/doc/html/boost/parser/separate.html index 3f760d7d..506bb4c3 100644 --- a/doc/html/boost/parser/separate.html +++ b/doc/html/boost/parser/separate.html @@ -4,7 +4,7 @@ Global separate - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr separate_directive separate;
+constexpr separate_directive separate;
-

Description

+

Description

The separate_directive, whose operator[] returns a parser_interface<P2>, from a given parser of type parser_interface<P>, where P is a seq_parser. P2 is the same as P, except that its CombiningGroups template parameter is replaced with a tag type that prevents each subparser's attribute from merging with any other subparser's attribute.

diff --git a/doc/html/boost/parser/separate_directive.html b/doc/html/boost/parser/separate_directive.html index 99aa05ee..f6ed9392 100644 --- a/doc/html/boost/parser/separate_directive.html +++ b/doc/html/boost/parser/separate_directive.html @@ -4,7 +4,7 @@ Struct separate_directive - + @@ -26,22 +26,22 @@ struct separate_directive { - // public member functions + // public member functions template<typename ParserTuple, typename BacktrackingTuple, typename CombiningGroups> - constexpr auto - operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > >) const noexcept; + constexpr auto + operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > >) const noexcept; };
-

Description

+

Description

A directive type that can only be used on sequence parsers, that prevents each of the sequence_parser's subparser's attributes from merging with any other subparser's attribute.

-

-separate_directive public member functions

+

+separate_directive public member functions

  1. template<typename ParserTuple, typename BacktrackingTuple, 
              typename CombiningGroups> 
    -  constexpr auto 
    -  operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > > rhs) const noexcept;
+ constexpr auto + operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > > rhs) const noexcept;
diff --git a/doc/html/boost/parser/seq_parser.html b/doc/html/boost/parser/seq_parser.html index 0f7c078c..928debcd 100644 --- a/doc/html/boost/parser/seq_parser.html +++ b/doc/html/boost/parser/seq_parser.html @@ -4,7 +4,7 @@ Struct template seq_parser - + @@ -28,7 +28,7 @@ struct seq_parser { };
-

Description

+

Description

Applies each parser in ParserTuple, in order. The parse succeeds iff all of the sub-parsers succeed. The attribute produced is a std::tuple over the types of attribute produced by the parsers in ParserTuple. The BacktrackingTuple template parameter is a parser::tuple of std::bool_constant values. The ith such value indicates whether backtracking is allowed if the ith parser fails.

diff --git a/doc/html/boost/parser/short_.html b/doc/html/boost/parser/short_.html index 1acdbc60..926e7df3 100644 --- a/doc/html/boost/parser/short_.html +++ b/doc/html/boost/parser/short_.html @@ -4,7 +4,7 @@ Global short_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< int_parser< short > > short_;
+constexpr parser_interface< int_parser< short > > short_;
-

Description

+

Description

The short parser. Produces a short attribute. To parse a particular value x, use short_(x).

diff --git a/doc/html/boost/parser/skip.html b/doc/html/boost/parser/skip.html index a69320a8..fe51e6d7 100644 --- a/doc/html/boost/parser/skip.html +++ b/doc/html/boost/parser/skip.html @@ -4,7 +4,7 @@ Global skip - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr skip_directive skip;
+constexpr skip_directive skip;
-

Description

+

Description

The skip_directive, whose operator[] returns a parser_interface<skip_parser<P>> from a given parser of type parser_interface<P>.

diff --git a/doc/html/boost/parser/skip_directive.html b/doc/html/boost/parser/skip_directive.html index 9834e1ef..ec107583 100644 --- a/doc/html/boost/parser/skip_directive.html +++ b/doc/html/boost/parser/skip_directive.html @@ -4,7 +4,7 @@ Struct template skip_directive - + @@ -26,28 +26,28 @@ template<typename SkipParser = detail::nope> struct skip_directive { - // public member functions + // public member functions template<typename Parser> - constexpr auto operator[](parser_interface< Parser >) const noexcept; + constexpr auto operator[](parser_interface< Parser >) const noexcept; template<typename SkipParser2> - constexpr auto operator()(parser_interface< SkipParser2 >) const noexcept; + constexpr auto operator()(parser_interface< SkipParser2 >) const noexcept; // public data members - SkipParser skip_parser_; + SkipParser skip_parser_; };
-

Description

+

Description

Represents a skip parser as a directive. When used without a skip parser, e.g. skip[parser_in_which_to_do_skipping], the skipper for the entire parse is used. When given another parser, e.g. skip(skip_parser)[parser_in_which_to_do_skipping], that other parser is used as the skipper within the directive.

-

-skip_directive public member functions

+

+skip_directive public member functions

  1. template<typename Parser> 
    -  constexpr auto operator[](parser_interface< Parser > rhs) const noexcept;
  2. + constexpr auto operator[](parser_interface< Parser > rhs) const noexcept;
  3. template<typename SkipParser2> 
    -  constexpr auto 
    -  operator()(parser_interface< SkipParser2 > skip_parser) const noexcept;
    + constexpr auto + operator()(parser_interface< SkipParser2 > skip_parser) const noexcept;

    Returns a skip_directive with skip_parser as its skipper.

diff --git a/doc/html/boost/parser/skip_parser.html b/doc/html/boost/parser/skip_parser.html index 71d9a0d0..4e8fe844 100644 --- a/doc/html/boost/parser/skip_parser.html +++ b/doc/html/boost/parser/skip_parser.html @@ -4,7 +4,7 @@ Struct template skip_parser - + @@ -27,7 +27,7 @@ struct skip_parser { };
-

Description

+

Description

Applies the given parser p of type Parser, using a parser of type SkipParser as the skipper. The parse succeeds iff p succeeds. The attribute produced is the type of attribute produced by Parser.

diff --git a/doc/html/boost/parser/sorted.html b/doc/html/boost/parser/sorted.html index a9992b05..8b7a3179 100644 --- a/doc/html/boost/parser/sorted.html +++ b/doc/html/boost/parser/sorted.html @@ -4,15 +4,15 @@ Global sorted - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -23,7 +23,7 @@

Synopsis

// In header: <boost/parser/parser_fwd.hpp>
 
-constexpr sorted_t sorted;
+constexpr sorted_t sorted;

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/sorted_t.html b/doc/html/boost/parser/sorted_t.html index 87b1c61b..264fe5b3 100644 --- a/doc/html/boost/parser/sorted_t.html +++ b/doc/html/boost/parser/sorted_t.html @@ -4,7 +4,7 @@ Struct sorted_t - + @@ -27,7 +27,7 @@ struct sorted_t { };
-

Description

+

Description

A tag type that can be passed as the first parameter to char_() when the second parameter is a sorted, random access sequence that can be matched using a binary search.

diff --git a/doc/html/boost/parser/split.html b/doc/html/boost/parser/split.html index ecc4fbe9..ae11179b 100644 --- a/doc/html/boost/parser/split.html +++ b/doc/html/boost/parser/split.html @@ -4,7 +4,7 @@ Global split - + @@ -25,7 +25,7 @@ unspecified split;
-

Description

+

Description

A range adaptor object ([range.adaptor.object]). Given subexpressions E and P, Q, and R, each of the expressions split(E, P), split(E, P, Q), and split(E, P, Q, R) are expression-equivalent to split_view(E, P), split_view(E, P, Q), and split_view(E, P, Q, R), respectively.

diff --git a/doc/html/boost/parser/split_view.html b/doc/html/boost/parser/split_view.html index 60d00b8b..d73c27e0 100644 --- a/doc/html/boost/parser/split_view.html +++ b/doc/html/boost/parser/split_view.html @@ -4,7 +4,7 @@ Struct template split_view - + @@ -35,60 +35,60 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; }; template<bool Const> struct sentinel { }; // construct/copy/destruct - split_view() = default; - split_view(V, parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, trace = trace::off); - split_view(V, parser_interface< Parser, GlobalState, ErrorHandler > const &, + split_view() = default; + split_view(V, parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, trace = trace::off); + split_view(V, parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); - // public member functions - constexpr V base() const; - constexpr V base(); - constexpr auto begin(); - constexpr auto end(); - constexpr auto begin() const; - constexpr auto end() const; + // public member functions + constexpr V base() const; + constexpr V base(); + constexpr auto begin(); + constexpr auto end(); + constexpr auto begin() const; + constexpr auto end() const; };
-

Description

+

Description

Produces a sequence of subranges of the underlying sequence of type V. the underlying sequence is split into subranges delimited by matches of the given parser, possibly using a given skip-parser.

-

+

split_view public construct/copy/destruct

    -
  1. split_view() = default;
  2. -
  3. split_view(V base, 
    -           parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    -           parser_interface< SkipParser > const & skip, 
    +
  4. split_view() = default;
  5. +
  6. split_view(V base, 
    +           parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +           parser_interface< SkipParser > const & skip, 
                trace trace_mode = trace::off);
  7. -
  8. split_view(V base, 
    -           parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +
  9. split_view(V base, 
    +           parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
                trace trace_mode = trace::off);
-

-split_view public member functions

+

+split_view public member functions

    -
  1. constexpr V base() const;
  2. -
  3. constexpr V base();
  4. -
  5. constexpr auto begin();
  6. -
  7. constexpr auto end();
  8. -
  9. constexpr auto begin() const;
  10. -
  11. constexpr auto end() const;
  12. +
  13. constexpr V base() const;
  14. +
  15. constexpr V base();
  16. +
  17. constexpr auto begin();
  18. +
  19. constexpr auto end();
  20. +
  21. constexpr auto begin() const;
  22. +
  23. constexpr auto end() const;
diff --git a/doc/html/boost/parser/split_view/iterator.html b/doc/html/boost/parser/split_view/iterator.html index 4ee5b23a..417635c7 100644 --- a/doc/html/boost/parser/split_view/iterator.html +++ b/doc/html/boost/parser/split_view/iterator.html @@ -4,15 +4,15 @@ Struct template iterator - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -32,31 +32,31 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; };
-

Description

+

Description

-

+

iterator public construct/copy/destruct

    -
  1. iterator() = default;
  2. -
  3. iterator(unspecified parent);
  4. +
  5. iterator() = default;
  6. +
  7. iterator(unspecified parent);
-

-iterator public member functions

+

+iterator public member functions

    -
  1. constexpr iterator & operator++();
  2. -
  3. constexpr BOOST_PARSER_SUBRANGE< I > operator*() const;
  4. +
  5. constexpr iterator & operator++();
  6. +
  7. constexpr BOOST_PARSER_SUBRANGE< I > operator*() const;
@@ -68,7 +68,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/split_view/sentinel.html b/doc/html/boost/parser/split_view/sentinel.html index 084bbbd3..674420b7 100644 --- a/doc/html/boost/parser/split_view/sentinel.html +++ b/doc/html/boost/parser/split_view/sentinel.html @@ -4,15 +4,15 @@ Struct template sentinel - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -35,7 +35,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/stream_error_handler.html b/doc/html/boost/parser/stream_error_handler.html index 88867db6..3286afe6 100644 --- a/doc/html/boost/parser/stream_error_handler.html +++ b/doc/html/boost/parser/stream_error_handler.html @@ -4,7 +4,7 @@ Struct stream_error_handler - + @@ -26,72 +26,72 @@ struct stream_error_handler { // construct/copy/destruct - stream_error_handler(); - stream_error_handler(std::string_view); - stream_error_handler(std::string_view, std::ostream &); - stream_error_handler(std::string_view, std::ostream &, std::ostream &); - stream_error_handler(std::wstring_view); - stream_error_handler(std::wstring_view, std::ostream &); - stream_error_handler(std::wstring_view, std::ostream &, std::ostream &); + stream_error_handler(); + stream_error_handler(std::string_view); + stream_error_handler(std::string_view, std::ostream &); + stream_error_handler(std::string_view, std::ostream &, std::ostream &); + stream_error_handler(std::wstring_view); + stream_error_handler(std::wstring_view, std::ostream &); + stream_error_handler(std::wstring_view, std::ostream &, std::ostream &); - // public member functions + // public member functions template<typename Iter, typename Sentinel> error_handler_result - operator()(Iter, Sentinel, parse_error< Iter > const &) const; + operator()(Iter, Sentinel, parse_error< Iter > const &) const; template<typename Context, typename Iter> - void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; + void diagnose(diagnostic_kind, std::string_view, Context const &, Iter) const; template<typename Context> - void diagnose(diagnostic_kind, std::string_view, Context const &) const; + void diagnose(diagnostic_kind, std::string_view, Context const &) const; };
-

Description

+

Description

Prints warnings and errors to the std::ostreams provided by the user, or std::cerr if neither stream is specified. If a filename is provided, that is used to print all diagnostics.

-

+

stream_error_handler public construct/copy/destruct

    -
  1. stream_error_handler();
  2. -
  3. stream_error_handler(std::string_view filename);
  4. -
  5. stream_error_handler(std::string_view filename, std::ostream & errors);
  6. -
  7. stream_error_handler(std::string_view filename, std::ostream & errors, 
    +
  8. stream_error_handler();
  9. +
  10. stream_error_handler(std::string_view filename);
  11. +
  12. stream_error_handler(std::string_view filename, std::ostream & errors);
  13. +
  14. stream_error_handler(std::string_view filename, std::ostream & errors, 
                          std::ostream & warnings);
  15. -
    stream_error_handler(std::wstring_view filename);
    +
    stream_error_handler(std::wstring_view filename);

    This overload is Windows-only.

  16. -
    stream_error_handler(std::wstring_view filename, std::ostream & errors);
    +
    stream_error_handler(std::wstring_view filename, std::ostream & errors);

    This overload is Windows-only.

  17. -
    stream_error_handler(std::wstring_view filename, std::ostream & errors, 
    +
    stream_error_handler(std::wstring_view filename, std::ostream & errors, 
                          std::ostream & warnings);

    This overload is Windows-only.

-

-stream_error_handler public member functions

+

+stream_error_handler public member functions

  1. template<typename Iter, typename Sentinel> 
       error_handler_result 
    -  operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;
    + operator()(Iter first, Sentinel last, parse_error< Iter > const & e) const;

    Handles a parse_error exception thrown during parsing. A formatted parse-expectation failure is printed to *err_os_ when err_os_ is non-null, or std::cerr otherwise. Always returns error_handler_result::fail.

  2. template<typename Context, typename Iter> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context, Iter it) const;
    + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context, Iter it) const;

    Let std::ostream * s = kind == diagnostic_kind::error : err_os_ : warn_os_; prints message to *s when s is non-null, or std::cerr otherwise. The diagnostic is printed with the given kind, indicating the location as being at it. This must be called within a parser semantic action, providing the parse context.

  3. template<typename Context> 
    -  void diagnose(diagnostic_kind kind, std::string_view message, 
    -                Context const & context) const;
    + void diagnose(diagnostic_kind kind, std::string_view message, + Context const & context) const;

    Let std::ostream * s = kind == diagnostic_kind::error : err_os_ : warn_os_; prints message to *s when s is non-null, or std::cerr otherwise. The diagnostic is printed with the given kind, at no particular location. This must be called within a parser semantic action, providing the parse context.

diff --git a/doc/html/boost/parser/string.html b/doc/html/boost/parser/string.html index 390ef39e..c5aee28d 100644 --- a/doc/html/boost/parser/string.html +++ b/doc/html/boost/parser/string.html @@ -4,15 +4,15 @@ Function template string - + - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<parsable_range_like R> constexpr auto string(R && str);
+template<parsable_range_like R> constexpr auto string(R && str);
-

Description

+

Description

Returns a parser that matches str that produces the matched string as its attribute.

@@ -37,7 +37,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/string_parser.html b/doc/html/boost/parser/string_parser.html index 4b476922..36c5ee87 100644 --- a/doc/html/boost/parser/string_parser.html +++ b/doc/html/boost/parser/string_parser.html @@ -4,7 +4,7 @@ Struct template string_parser - + @@ -27,7 +27,7 @@ struct string_parser { };
-

Description

+

Description

Matches a particular string, delimited by an iterator sentinel pair; produces no attribute.

diff --git a/doc/html/boost/parser/string_view.html b/doc/html/boost/parser/string_view.html index e8015ae4..281d29f2 100644 --- a/doc/html/boost/parser/string_view.html +++ b/doc/html/boost/parser/string_view.html @@ -4,7 +4,7 @@ Global string_view - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr directive< string_view_parser > string_view;
+constexpr directive< string_view_parser > string_view;
-

Description

+

Description

The string_view directive, whose operator[] returns a parser_interface<string_view_parser<P>> from a given parser of type parser_interface<P>. This is only available in C++20 and later.

diff --git a/doc/html/boost/parser/string_view_parser.html b/doc/html/boost/parser/string_view_parser.html index efdaf731..cac17e23 100644 --- a/doc/html/boost/parser/string_view_parser.html +++ b/doc/html/boost/parser/string_view_parser.html @@ -4,7 +4,7 @@ Struct template string_view_parser - + @@ -27,7 +27,7 @@ struct string_view_parser { };
-

Description

+

Description

Applies the given parser p of type Parser. Regardless of the attribute produced by Parser, this parser's attribute is equivalent to std::basic_string_view<char_type> within a semantic action on p, where char_type is the type of character in the sequence being parsed. If the parsed range is transcoded, char_type will be the type being transcoded from. If the underlying range of char_type is non-contiguous, code using string_view_parser is ill-formed. The parse succeeds iff p succeeds. This parser is only available in C++20 and later.

diff --git a/doc/html/boost/parser/subrange.html b/doc/html/boost/parser/subrange.html index 3c6b0d0b..e0eb0779 100644 --- a/doc/html/boost/parser/subrange.html +++ b/doc/html/boost/parser/subrange.html @@ -4,7 +4,7 @@ Struct template subrange - + @@ -26,46 +26,46 @@ template<std::forward_iterator I, std::sentinel_for< I > S = I> struct subrange { // construct/copy/destruct - subrange() = default; - subrange(I, S); - template<typename R> explicit subrange(R const &); + subrange() = default; + subrange(I, S); + template<typename R> explicit subrange(R const &); - // public member functions - constexpr I begin() const; - constexpr S end() const; - constexpr subrange next(std::ptrdiff_t = 1) const; - constexpr subrange prev(std::ptrdiff_t = 1) const; - constexpr subrange & advance(std::ptrdiff_t); + // public member functions + constexpr I begin() const; + constexpr S end() const; + constexpr subrange next(std::ptrdiff_t = 1) const; + constexpr subrange prev(std::ptrdiff_t = 1) const; + constexpr subrange & advance(std::ptrdiff_t); template<typename I2, typename S2, - typename Enable = std::enable_if_t< std::is_convertible<I, I2>::value && std::is_convertible<S, S2>::value> > - constexpr operator subrange< I2, S2 >() const; + typename Enable = std::enable_if_t< std::is_convertible<I, I2>::value && std::is_convertible<S, S2>::value> > + constexpr operator subrange< I2, S2 >() const; };
-

Description

+

Description

A simple view type used throughout the rest of the library in C++17 builds; similar to std::ranges::subrange.

-

+

subrange public construct/copy/destruct

    -
  1. subrange() = default;
  2. -
  3. subrange(I first, S last);
  4. -
  5. template<typename R> explicit subrange(R const & r);
  6. +
  7. subrange() = default;
  8. +
  9. subrange(I first, S last);
  10. +
  11. template<typename R> explicit subrange(R const & r);
-

-subrange public member functions

+

+subrange public member functions

    -
  1. constexpr I begin() const;
  2. -
  3. constexpr S end() const;
  4. -
  5. constexpr subrange next(std::ptrdiff_t n = 1) const;
  6. -
  7. constexpr subrange prev(std::ptrdiff_t n = 1) const;
  8. -
  9. constexpr subrange & advance(std::ptrdiff_t n);
  10. +
  11. constexpr I begin() const;
  12. +
  13. constexpr S end() const;
  14. +
  15. constexpr subrange next(std::ptrdiff_t n = 1) const;
  16. +
  17. constexpr subrange prev(std::ptrdiff_t n = 1) const;
  18. +
  19. constexpr subrange & advance(std::ptrdiff_t n);
  20. template<typename I2, typename S2, 
    -         typename Enable = std::enable_if_t<                std::is_convertible<I, I2>::value &&                std::is_convertible<S, S2>::value> > 
    -  constexpr operator subrange< I2, S2 >() const;
  21. + typename Enable = std::enable_if_t< std::is_convertible<I, I2>::value && std::is_convertible<S, S2>::value> > + constexpr operator subrange< I2, S2 >() const;
diff --git a/doc/html/boost/parser/switch_.html b/doc/html/boost/parser/switch_.html index 30952973..01e84634 100644 --- a/doc/html/boost/parser/switch_.html +++ b/doc/html/boost/parser/switch_.html @@ -4,15 +4,15 @@ Function template switch_ - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<typename T> constexpr auto switch_(T x);
+template<typename T> constexpr auto switch_(T x);
-

Description

+

Description

Returns a switch-like parser. The resulting parser uses the given value x to select one of the following value/parser pairs, and to apply the selected parser. x may be a value to be used directly, or a unary invocable that takes a reference to the parse context, and returns the value to use. You can add more value/parser cases to the returned parser, using its call operator, e.g. switch_(x)(y1, p1)(y2, p2). As with the x passed to this function, each yN value can be a value or a unary invocable.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/switch_parser.html b/doc/html/boost/parser/switch_parser.html index 3913bd5b..08f05426 100644 --- a/doc/html/boost/parser/switch_parser.html +++ b/doc/html/boost/parser/switch_parser.html @@ -4,7 +4,7 @@ Struct template switch_parser - + @@ -27,7 +27,7 @@ struct switch_parser { };
-

Description

+

Description

Applies at most one of the parsers in OrParser. If switch_value_ matches one or more of the values in the parsers in OrParser, the first such parser is applied, and the success or failure and attribute of the parse are those of the applied parser. Otherwise, the parse fails.

diff --git a/doc/html/boost/parser/symbol_parser.html b/doc/html/boost/parser/symbol_parser.html index 46111c5a..f9ea56e2 100644 --- a/doc/html/boost/parser/symbol_parser.html +++ b/doc/html/boost/parser/symbol_parser.html @@ -4,7 +4,7 @@ Struct template symbol_parser - + @@ -27,7 +27,7 @@ struct symbol_parser { };
-

Description

+

Description

Matches one of a set S of possible inputs, each of which is associated with an attribute value of type T, forming a symbol table. New elements and their associated attributes may be added to or removed from S dynamically, during parsing; any such changes are reverted at the end of parsing. The parse succeeds iff an element of S is matched.

See Also:

symbols

diff --git a/doc/html/boost/parser/symbols.html b/doc/html/boost/parser/symbols.html index 257c32be..b5f1c119 100644 --- a/doc/html/boost/parser/symbols.html +++ b/doc/html/boost/parser/symbols.html @@ -4,7 +4,7 @@ Struct template symbols - + @@ -26,65 +26,80 @@ template<typename T> struct symbols : public boost::parser::parser_interface< symbol_parser< T > > { // construct/copy/destruct - symbols(); - symbols(char const *); - symbols(std::initializer_list< std::pair< std::string_view, T > >); - symbols(char const *, - std::initializer_list< std::pair< std::string_view, T > >); + symbols(); + symbols(char const *); + symbols(std::initializer_list< std::pair< std::string_view, T > >); + symbols(char const *, + std::initializer_list< std::pair< std::string_view, T > >); - // public member functions - symbols & insert_for_next_parse(std::string_view, T); - symbols & operator()(std::string_view, T); + // public member functions + symbols & insert_for_next_parse(std::string_view, T); + void erase_for_next_parse(std::string_view); + void clear_for_next_parse(); + symbols & operator()(std::string_view, T); template<typename Context> - unspecified find(Context const &, std::string_view) const; + unspecified find(Context const &, std::string_view) const; template<typename Context> - void insert(Context const &, std::string_view, T) const; + void insert(Context const &, std::string_view, T) const; template<typename Context> - void erase(Context const &, std::string_view) const; + void erase(Context const &, std::string_view) const; + template<typename Context> void clear(Context const &) const; };
-

Description

+

Description

A symbols<T> represents the initial state of a symbol table parser that produces attributes of type T. The entries in the symbol table can be changed during parsing, but those mutations to not affect the symbols<T> object itself; all mutations happen to a copy of the symbol table in the parse context. For table entries that should be used during every parse, add entries via add() or operator(). For mid-parse mutations, use insert() and erase().

-

+

symbols public construct/copy/destruct

    -
  1. symbols();
  2. -
  3. symbols(char const * diagnostic_text);
  4. -
  5. symbols(std::initializer_list< std::pair< std::string_view, T > > il);
  6. -
  7. symbols(char const * diagnostic_text, 
    -        std::initializer_list< std::pair< std::string_view, T > > il);
  8. +
  9. symbols();
  10. +
  11. symbols(char const * diagnostic_text);
  12. +
  13. symbols(std::initializer_list< std::pair< std::string_view, T > > il);
  14. +
  15. symbols(char const * diagnostic_text, 
    +        std::initializer_list< std::pair< std::string_view, T > > il);
-

-symbols public member functions

+

+symbols public member functions

  1. -
    symbols & insert_for_next_parse(std::string_view str, T x);
    -

    Adds an entry consisting of a UTF-8 string str to match, and an associated attribute x, to *this. The entry is added for use in all subsequent top-level parses. Subsequent lookups during the current top-level parse will not match str.

    +
    symbols & insert_for_next_parse(std::string_view str, T x);
    +

    Inserts an entry consisting of a UTF-8 string str to match, and an associated attribute x, to *this. The entry is added for use in all subsequent top-level parses. Subsequent lookups during the current top-level parse will not necessarily match str.

  2. -
    symbols & operator()(std::string_view str, T x);
    +
    void erase_for_next_parse(std::string_view str);
    +

    Erases the entry whose UTF-8 match string is str, from *this. The entry will no longer be available for use in all subsequent top-level parses. str will not be removed from the symbols matched in the current top-level parse.

    +
  3. +
  4. +
    void clear_for_next_parse();
    +

    Erases all the entries from the copy of the symbol table inside the parse context context.

    +
  5. +
  6. +
    symbols & operator()(std::string_view str, T x);

    Equivalent to insert_for_next_parse(str, std::move(x)).

  7. template<typename Context> 
    -  unspecified find(Context const & context, std::string_view str) const;
    + unspecified find(Context const & context, std::string_view str) const;

    Uses UTF-8 string str to look up an attribute in the table during parsing, returning it as an optional reference. The lookup is done on the copy of the symbol table inside the parse context context, not *this.

  8. template<typename Context> 
    -  void insert(Context const & context, std::string_view str, T x) const;
    + void insert(Context const & context, std::string_view str, T x) const;

    Inserts an entry consisting of a UTF-8 string to match str, and an associtated attribute x, to the copy of the symbol table inside the parse context context.

  9. template<typename Context> 
    -  void erase(Context const & context, std::string_view str) const;
    + void erase(Context const & context, std::string_view str) const;

    Erases the entry whose UTF-8 match string is str from the copy of the symbol table inside the parse context context.

  10. +
  11. +
    template<typename Context> void clear(Context const & context) const;
    +

    Erases all the entries from the copy of the symbol table inside the parse context context.

    +
diff --git a/doc/html/boost/parser/trace.html b/doc/html/boost/parser/trace.html index 317d10a3..eae334e0 100644 --- a/doc/html/boost/parser/trace.html +++ b/doc/html/boost/parser/trace.html @@ -4,7 +4,7 @@ Type trace - + @@ -27,7 +27,7 @@ enum trace { off, on };
-

Description

+

Description

An enumeration used for parameters to enable and disable trace in the *parse() functions.

diff --git a/doc/html/boost/parser/transform.html b/doc/html/boost/parser/transform.html index 106cb79b..fac788bf 100644 --- a/doc/html/boost/parser/transform.html +++ b/doc/html/boost/parser/transform.html @@ -4,15 +4,15 @@ Function template transform - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -24,9 +24,9 @@
// In header: <boost/parser/parser.hpp>
 
 
-template<typename F> auto transform(F f);
+template<typename F> auto transform(F f);
-

Description

+

Description

Returns a transform_directive that uses invocable F to do its work.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/transform_directive.html b/doc/html/boost/parser/transform_directive.html index 9d2bfcff..35c30ac2 100644 --- a/doc/html/boost/parser/transform_directive.html +++ b/doc/html/boost/parser/transform_directive.html @@ -4,7 +4,7 @@ Struct template transform_directive - + @@ -26,21 +26,21 @@ template<typename F> struct transform_directive { - // public member functions + // public member functions template<typename Parser> - constexpr auto operator[](parser_interface< Parser >) const noexcept; + constexpr auto operator[](parser_interface< Parser >) const noexcept; // public data members F f_; };
-

Description

+

Description

A directive that transforms the attribute generated by a parser. operator[] returns a parser_interface<transform_parser<Parser, F>>.

-

-transform_directive public member functions

+

+transform_directive public member functions

  1. template<typename Parser> 
    -  constexpr auto operator[](parser_interface< Parser > rhs) const noexcept;
+ constexpr auto operator[](parser_interface< Parser > rhs) const noexcept;
diff --git a/doc/html/boost/parser/transform_parser.html b/doc/html/boost/parser/transform_parser.html index d9cc10f1..462f8cda 100644 --- a/doc/html/boost/parser/transform_parser.html +++ b/doc/html/boost/parser/transform_parser.html @@ -4,7 +4,7 @@ Struct template transform_parser - + @@ -27,7 +27,7 @@ struct transform_parser { };
-

Description

+

Description

Applies the given parser p of type Parser. The attribute produced by p is passed to the fiven invocable f of type F. f will only be invoked if p succeeds and sttributes are currently being generated. The parse succeeds iff p succeeds. The attribute produced is the the result of the call to f.

diff --git a/doc/html/boost/parser/transform_replace.html b/doc/html/boost/parser/transform_replace.html index 133e4e4c..bd42281f 100644 --- a/doc/html/boost/parser/transform_replace.html +++ b/doc/html/boost/parser/transform_replace.html @@ -4,7 +4,7 @@ Global transform_replace - + @@ -25,7 +25,7 @@ unspecified transform_replace;
-

Description

+

Description

A range adaptor object ([range.adaptor.object]). Given subexpressions E and P, Q, R, and 'S', each of the expressions replace(E, P), replace(E, P, Q). replace(E, P, Q, R), and replace(E, P, Q, R, S) are expression-equivalent to replace_view(E, P), replace_view(E, P, Q), replace_view(E, P, Q, R), replace_view(E, diff --git a/doc/html/boost/parser/transform_replace_view.html b/doc/html/boost/parser/transform_replace_view.html index 45cdd4ed..296d32a4 100644 --- a/doc/html/boost/parser/transform_replace_view.html +++ b/doc/html/boost/parser/transform_replace_view.html @@ -4,7 +4,7 @@ Struct template transform_replace_view - + @@ -38,66 +38,66 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr reference_type operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr reference_type operator*() const; }; template<bool Const> struct sentinel { }; // construct/copy/destruct - transform_replace_view() = default; - transform_replace_view(V, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, F, + transform_replace_view() = default; + transform_replace_view(V, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, F, trace = trace::off); - transform_replace_view(V, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + transform_replace_view(V, + parser_interface< Parser, GlobalState, ErrorHandler > const &, F, trace = trace::off); - // public member functions - constexpr V base() const; - constexpr V base(); - constexpr F const & f() const; - constexpr auto begin(); - constexpr auto end(); - constexpr auto begin() const; - constexpr auto end() const; + // public member functions + constexpr V base() const; + constexpr V base(); + constexpr F const & f() const; + constexpr auto begin(); + constexpr auto end(); + constexpr auto begin() const; + constexpr auto end() const; };

-

Description

+

Description

Produces a range of subranges of a given range base. Each subrange is either a subrange of base that does not match the given parser parser, or is f(*boost::parser::parse(match, parser)), where f is the given invocable and match is the matching subrange.

In addition to the template parameter constraints, F must be invocable with the attribute type of Parser; V and the range type produced by F, "`Rf`" must be ranges of char, or must have the same UTF format; and V and Rf must meet the same compatibility requirements as described in std::ranges::join_view.

-

+

transform_replace_view public construct/copy/destruct

    -
  1. transform_replace_view() = default;
  2. -
  3. transform_replace_view(V base, 
    -                       parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    -                       parser_interface< SkipParser > const & skip, F f, 
    +
  4. transform_replace_view() = default;
  5. +
  6. transform_replace_view(V base, 
    +                       parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +                       parser_interface< SkipParser > const & skip, F f, 
                            trace trace_mode = trace::off);
  7. -
  8. transform_replace_view(V base, 
    -                       parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
    +
  9. transform_replace_view(V base, 
    +                       parser_interface< Parser, GlobalState, ErrorHandler > const & parser, 
                            F f, trace trace_mode = trace::off);
-

-transform_replace_view public member functions

+

+transform_replace_view public member functions

    -
  1. constexpr V base() const;
  2. -
  3. constexpr V base();
  4. -
  5. constexpr F const & f() const;
  6. -
  7. constexpr auto begin();
  8. -
  9. constexpr auto end();
  10. -
  11. constexpr auto begin() const;
  12. -
  13. constexpr auto end() const;
  14. +
  15. constexpr V base() const;
  16. +
  17. constexpr V base();
  18. +
  19. constexpr F const & f() const;
  20. +
  21. constexpr auto begin();
  22. +
  23. constexpr auto end();
  24. +
  25. constexpr auto begin() const;
  26. +
  27. constexpr auto end() const;
diff --git a/doc/html/boost/parser/transform_replace_view/iterator.html b/doc/html/boost/parser/transform_replace_view/iterator.html index cf8bc9b1..06f3ce30 100644 --- a/doc/html/boost/parser/transform_replace_view/iterator.html +++ b/doc/html/boost/parser/transform_replace_view/iterator.html @@ -4,15 +4,15 @@ Struct template iterator - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -34,31 +34,31 @@ typedef unspecified base_type; // construct/copy/destruct - iterator() = default; - iterator(unspecified); + iterator() = default; + iterator(unspecified); - // public member functions - constexpr iterator & operator++(); - constexpr reference_type operator*() const; + // public member functions + constexpr iterator & operator++(); + constexpr reference_type operator*() const; };
-

Description

+

Description

-

+

iterator public construct/copy/destruct

    -
  1. iterator() = default;
  2. -
  3. iterator(unspecified parent);
  4. +
  5. iterator() = default;
  6. +
  7. iterator(unspecified parent);
-

-iterator public member functions

+

+iterator public member functions

    -
  1. constexpr iterator & operator++();
  2. -
  3. constexpr reference_type operator*() const;
  4. +
  5. constexpr iterator & operator++();
  6. +
  7. constexpr reference_type operator*() const;
@@ -70,7 +70,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/transform_replace_view/sentinel.html b/doc/html/boost/parser/transform_replace_view/sentinel.html index 5a41704c..b296fb56 100644 --- a/doc/html/boost/parser/transform_replace_view/sentinel.html +++ b/doc/html/boost/parser/transform_replace_view/sentinel.html @@ -4,15 +4,15 @@ Struct template sentinel - - + +
-PrevUpHomeNext +PrevUpHomeNext
@@ -35,7 +35,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/tuple.html b/doc/html/boost/parser/tuple.html index adf4f600..c87e5fd2 100644 --- a/doc/html/boost/parser/tuple.html +++ b/doc/html/boost/parser/tuple.html @@ -4,15 +4,15 @@ Type definition tuple - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -26,7 +26,7 @@ typedef hana::tuple< Args... > tuple;
-

Description

+

Description

The tuple template alias used within Boost.Parser. This will be boost::hana::tuple if BOOST_PARSER_USE_HANA_TUPLE is defined, and std::tuple otherwise.

@@ -37,7 +37,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/uint_.html b/doc/html/boost/parser/uint_.html index 75265c8b..7ad232cd 100644 --- a/doc/html/boost/parser/uint_.html +++ b/doc/html/boost/parser/uint_.html @@ -4,7 +4,7 @@ Global uint_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned int > > uint_;
+constexpr parser_interface< uint_parser< unsigned int > > uint_;
-

Description

+

Description

The unsigned int parser. Produces an unsigned int attribute. To parse a particular value x, use uint_(x).

diff --git a/doc/html/boost/parser/uint_parser.html b/doc/html/boost/parser/uint_parser.html index c4b06618..b03a9918 100644 --- a/doc/html/boost/parser/uint_parser.html +++ b/doc/html/boost/parser/uint_parser.html @@ -4,7 +4,7 @@ Struct template uint_parser - + @@ -28,7 +28,7 @@ struct uint_parser { };
-

Description

+

Description

Matches an unsigned number of radix Radix, of at least MinDigits and at most MaxDigits, producing an attribute of type T. Fails on any other input. The parse will also fail if Expected is anything but detail::nope (which it is by default), and the produced attribute is not equal to expected_. Radix must be in [2, 36].

diff --git a/doc/html/boost/parser/ulong_.html b/doc/html/boost/parser/ulong_.html index 6c77df01..06a7b82a 100644 --- a/doc/html/boost/parser/ulong_.html +++ b/doc/html/boost/parser/ulong_.html @@ -4,7 +4,7 @@ Global ulong_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned long > > ulong_;
+constexpr parser_interface< uint_parser< unsigned long > > ulong_;
-

Description

+

Description

The unsigned long parser. Produces an unsigned long attribute. To parse a particular value x, use ulong_(x).

diff --git a/doc/html/boost/parser/ulong_long.html b/doc/html/boost/parser/ulong_long.html index 0e92bd94..8b8e4839 100644 --- a/doc/html/boost/parser/ulong_long.html +++ b/doc/html/boost/parser/ulong_long.html @@ -4,7 +4,7 @@ Global ulong_long - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned long long > > ulong_long;
+constexpr parser_interface< uint_parser< unsigned long long > > ulong_long;
-

Description

+

Description

The unsigned long long parser. Produces an unsigned long long attribute. To parse a particular value x, use ulong_long(x).

diff --git a/doc/html/boost/parser/upper.html b/doc/html/boost/parser/upper.html index dd25f1da..4c159c77 100644 --- a/doc/html/boost/parser/upper.html +++ b/doc/html/boost/parser/upper.html @@ -4,7 +4,7 @@ Global upper - + @@ -25,7 +25,7 @@ unspecified upper;
-

Description

+

Description

The lower case character parser. Matches the full set of Unicode lower case code points (class "Lu").

diff --git a/doc/html/boost/parser/ushort_.html b/doc/html/boost/parser/ushort_.html index 4b3ab892..fceae763 100644 --- a/doc/html/boost/parser/ushort_.html +++ b/doc/html/boost/parser/ushort_.html @@ -4,7 +4,7 @@ Global ushort_ - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< uint_parser< unsigned short > > ushort_;
+constexpr parser_interface< uint_parser< unsigned short > > ushort_;
-

Description

+

Description

The unsigned short parser. Produces an unsigned short attribute. To parse a particular value x, use ushort_(x).

diff --git a/doc/html/boost/parser/utf16_view.html b/doc/html/boost/parser/utf16_view.html index e879d3e1..2533ee6c 100644 --- a/doc/html/boost/parser/utf16_view.html +++ b/doc/html/boost/parser/utf16_view.html @@ -4,7 +4,7 @@ Class template utf16_view - + @@ -27,29 +27,29 @@ class utf16_view { public: // construct/copy/destruct - utf16_view() = default; - utf16_view(V); + utf16_view() = default; + utf16_view(V); };
-

Description

+

Description

A view that produces UTF-16 from an given sequence of UTF.

-

Template Parameters

+

Template Parameters

  1. unspecified V

    Constrained by std::ranges::view<V>. Additionally, the value type of V must be char, wchar_t, char8_t, char16_t, or char32_t.

-

+

utf16_view public construct/copy/destruct

    -
  1. utf16_view() = default;
  2. -
  3. utf16_view(V base);
  4. +
  5. utf16_view() = default;
  6. +
  7. utf16_view(V base);
diff --git a/doc/html/boost/parser/utf32_view.html b/doc/html/boost/parser/utf32_view.html index a783e0be..67d4a9a5 100644 --- a/doc/html/boost/parser/utf32_view.html +++ b/doc/html/boost/parser/utf32_view.html @@ -4,7 +4,7 @@ Class template utf32_view - + @@ -27,29 +27,29 @@ class utf32_view { public: // construct/copy/destruct - utf32_view() = default; - utf32_view(V); + utf32_view() = default; + utf32_view(V); };
-

Description

+

Description

A view that produces UTF-32 from an given sequence of UTF.

-

Template Parameters

+

Template Parameters

  1. unspecified V

    Constrained by std::ranges::view<V>. Additionally, the value type of V must be char, wchar_t, char8_t, char16_t, or char32_t.

-

+

utf32_view public construct/copy/destruct

    -
  1. utf32_view() = default;
  2. -
  3. utf32_view(V base);
  4. +
  5. utf32_view() = default;
  6. +
  7. utf32_view(V base);
diff --git a/doc/html/boost/parser/utf8_view.html b/doc/html/boost/parser/utf8_view.html index 16bea561..4c86749f 100644 --- a/doc/html/boost/parser/utf8_view.html +++ b/doc/html/boost/parser/utf8_view.html @@ -4,7 +4,7 @@ Class template utf8_view - + @@ -27,29 +27,29 @@ class utf8_view { public: // construct/copy/destruct - utf8_view() = default; - utf8_view(V); + utf8_view() = default; + utf8_view(V); };
-

Description

+

Description

A view that produces UTF-8 from an given sequence of UTF.

-

Template Parameters

+

Template Parameters

  1. unspecified V

    Constrained by std::ranges::view<V>. Additionally, the value type of V must be char, wchar_t, char8_t, char16_t, or char32_t.

-

+

utf8_view public construct/copy/destruct

    -
  1. utf8_view() = default;
  2. -
  3. utf8_view(V base);
  4. +
  5. utf8_view() = default;
  6. +
  7. utf8_view(V base);
diff --git a/doc/html/boost/parser/vs_output_error_handler.html b/doc/html/boost/parser/vs_output_error_handler.html index c3e94589..65b8a9e9 100644 --- a/doc/html/boost/parser/vs_output_error_handler.html +++ b/doc/html/boost/parser/vs_output_error_handler.html @@ -4,15 +4,15 @@ Struct vs_output_error_handler - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -26,22 +26,22 @@ struct vs_output_error_handler : public boost::parser::stream_error_handler { // construct/copy/destruct - vs_output_error_handler(); - vs_output_error_handler(std::string_view); - vs_output_error_handler(std::wstring_view); + vs_output_error_handler(); + vs_output_error_handler(std::string_view); + vs_output_error_handler(std::wstring_view); };
-

Description

+

Description

An error handler that prints to the Visual Studio debugger via calls to OutputDebugString().

-

+

vs_output_error_handler public construct/copy/destruct

    -
  1. vs_output_error_handler();
  2. -
  3. vs_output_error_handler(std::string_view filename);
  4. -
  5. vs_output_error_handler(std::wstring_view filename);
  6. +
  7. vs_output_error_handler();
  8. +
  9. vs_output_error_handler(std::string_view filename);
  10. +
  11. vs_output_error_handler(std::wstring_view filename);
@@ -53,7 +53,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/with_error_handler.html b/doc/html/boost/parser/with_error_handler.html index ec6a79f3..5c1b3640 100644 --- a/doc/html/boost/parser/with_error_handler.html +++ b/doc/html/boost/parser/with_error_handler.html @@ -4,15 +4,15 @@ Function template with_error_handler - + - +
-PrevUpHomeNext +PrevUpHomeNext
@@ -25,10 +25,10 @@ template<typename Parser, typename GlobalState, typename ErrorHandler> - auto with_error_handler(parser_interface< Parser, GlobalState, default_error_handler > const & parser, - ErrorHandler & error_handler);
+ auto with_error_handler(parser_interface< Parser, GlobalState, default_error_handler > const & parser, + ErrorHandler & error_handler);
-

Description

+

Description

Returns a parser_interface with the same parser and globals, with error_handler added. The resut of passing any non-top-level parser for the parser argument is undefined.

@@ -39,7 +39,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/with_globals.html b/doc/html/boost/parser/with_globals.html index 6eaf2139..e16853cd 100644 --- a/doc/html/boost/parser/with_globals.html +++ b/doc/html/boost/parser/with_globals.html @@ -4,7 +4,7 @@ Function template with_globals - + @@ -25,9 +25,9 @@ template<typename Parser, typename GlobalState, typename ErrorHandler> - auto with_globals(unspecified parser, GlobalState & globals); + auto with_globals(unspecified parser, GlobalState & globals);
-

Description

+

Description

Returns a parser_interface with the same parser and error handler, with globals added. The resut of passing any non-top-level parser for the parser argument is undefined.

diff --git a/doc/html/boost/parser/write_formatted_e_idm30151.html b/doc/html/boost/parser/write_formatted_expec_id35.html similarity index 74% rename from doc/html/boost/parser/write_formatted_e_idm30151.html rename to doc/html/boost/parser/write_formatted_expec_id35.html index a93e8ce8..48fb04b5 100644 --- a/doc/html/boost/parser/write_formatted_e_idm30151.html +++ b/doc/html/boost/parser/write_formatted_expec_id35.html @@ -4,18 +4,18 @@ Function template write_formatted_expectation_failure_error_message - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template write_formatted_expectation_failure_error_message

boost::parser::write_formatted_expectation_failure_error_message

@@ -28,13 +28,13 @@ std::ostream & write_formatted_expectation_failure_error_message(std::ostream & os, std::string_view filename, - Iter first, - Sentinel last, - parse_error< Iter > const & e, - int64_t preferred_max_line_length = 80, - int64_t max_after_caret = 40);
+ Iter first, + Sentinel last, + parse_error< Iter > const & e, + int64_t preferred_max_line_length = 80, + int64_t max_after_caret = 40);
-

Description

+

Description

Writes a formatted parse-expectation failure (meaning prefixed with the file name, line, and column number) to os.

@@ -45,7 +45,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/write_formatted_e_idm30436.html b/doc/html/boost/parser/write_formatted_expec_id52.html similarity index 74% rename from doc/html/boost/parser/write_formatted_e_idm30436.html rename to doc/html/boost/parser/write_formatted_expec_id52.html index c185cd7f..21978a75 100644 --- a/doc/html/boost/parser/write_formatted_e_idm30436.html +++ b/doc/html/boost/parser/write_formatted_expec_id52.html @@ -4,18 +4,18 @@ Function template write_formatted_expectation_failure_error_message - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template write_formatted_expectation_failure_error_message

boost::parser::write_formatted_expectation_failure_error_message

@@ -28,13 +28,13 @@ std::ostream & write_formatted_expectation_failure_error_message(std::ostream & os, std::wstring_view filename, - Iter first, - Sentinel last, - parse_error< Iter > const & e, - int64_t preferred_max_line_length = 80, - int64_t max_after_caret = 40);
+ Iter first, + Sentinel last, + parse_error< Iter > const & e, + int64_t preferred_max_line_length = 80, + int64_t max_after_caret = 40);
-

Description

+

Description

Writes a formatted parse-expectation failure (meaning prefixed with the file name, line, and column number) to os. This overload is Windows-only.

@@ -45,7 +45,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/write_formatted_m_idm30125.html b/doc/html/boost/parser/write_formatted_messa_id34.html similarity index 78% rename from doc/html/boost/parser/write_formatted_m_idm30125.html rename to doc/html/boost/parser/write_formatted_messa_id34.html index 1d9697fb..5406d324 100644 --- a/doc/html/boost/parser/write_formatted_m_idm30125.html +++ b/doc/html/boost/parser/write_formatted_messa_id34.html @@ -4,18 +4,18 @@ Function template write_formatted_message - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template write_formatted_message

boost::parser::write_formatted_message

@@ -27,12 +27,12 @@ template<typename Iter, typename Sentinel> std::ostream & write_formatted_message(std::ostream & os, std::string_view filename, - Iter first, Iter it, Sentinel last, + Iter first, Iter it, Sentinel last, std::string_view message, - int64_t preferred_max_line_length = 80, - int64_t max_after_caret = 40);
+ int64_t preferred_max_line_length = 80, + int64_t max_after_caret = 40);
-

Description

+

Description

Writes a formatted message (meaning prefixed with the file name, line, and column number) to os.

@@ -43,7 +43,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/write_formatted_m_idm30410.html b/doc/html/boost/parser/write_formatted_messa_id51.html similarity index 78% rename from doc/html/boost/parser/write_formatted_m_idm30410.html rename to doc/html/boost/parser/write_formatted_messa_id51.html index e639c09a..26e39cec 100644 --- a/doc/html/boost/parser/write_formatted_m_idm30410.html +++ b/doc/html/boost/parser/write_formatted_messa_id51.html @@ -4,18 +4,18 @@ Function template write_formatted_message - + - +
-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template write_formatted_message

boost::parser::write_formatted_message

@@ -27,12 +27,12 @@ template<typename Iter, typename Sentinel> std::ostream & write_formatted_message(std::ostream & os, std::wstring_view filename, - Iter first, Iter it, Sentinel last, + Iter first, Iter it, Sentinel last, std::string_view message, - int64_t preferred_max_line_length = 80, - int64_t max_after_caret = 40);
+ int64_t preferred_max_line_length = 80, + int64_t max_after_caret = 40);
-

Description

+

Description

Writes a formatted message (meaning prefixed with the file name, line, and column number) to os. This overload is Windows-only.

@@ -43,7 +43,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost/parser/ws.html b/doc/html/boost/parser/ws.html index 1b156bb6..663db9ee 100644 --- a/doc/html/boost/parser/ws.html +++ b/doc/html/boost/parser/ws.html @@ -4,7 +4,7 @@ Global ws - + @@ -23,9 +23,9 @@

Synopsis

// In header: <boost/parser/parser.hpp>
 
-constexpr parser_interface< ws_parser< false, false > > ws;
+constexpr parser_interface< ws_parser< false, false > > ws;
-

Description

+

Description

The whitespace parser. This matches "\r\n", or any one of the Unicode code points with the White_Space property, as defined in https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt. Produces no attribute.

diff --git a/doc/html/boost/parser/ws_parser.html b/doc/html/boost/parser/ws_parser.html index c1e07be8..109c98ba 100644 --- a/doc/html/boost/parser/ws_parser.html +++ b/doc/html/boost/parser/ws_parser.html @@ -4,7 +4,7 @@ Struct template ws_parser - + @@ -27,7 +27,7 @@ struct ws_parser { };
-

Description

+

Description

Matches an end-of-line (NewlinesOnly == true), whitespace (NewlinesOnly == false), or (NoNewlines == true) blank (whitespace but not newline) code point, based on the Unicode definitions of each (also matches the two code points "\r\n"). Produces no attribute.

diff --git a/doc/html/boost/parser/zero_plus_parser.html b/doc/html/boost/parser/zero_plus_parser.html index 7d3d3894..7423e808 100644 --- a/doc/html/boost/parser/zero_plus_parser.html +++ b/doc/html/boost/parser/zero_plus_parser.html @@ -4,7 +4,7 @@ Struct template zero_plus_parser - + @@ -26,17 +26,17 @@ template<typename Parser> struct zero_plus_parser : public boost::parser::repeat_parser< Parser > { // construct/copy/destruct - zero_plus_parser(Parser); + zero_plus_parser(Parser); };
-

Description

+

Description

Repeats the application of another parser p of type Parser, [0, Inf) times. The parse always succeeds. The attribute produced is a sequence of the type of attribute produced by Parser.

-

+

zero_plus_parser public construct/copy/destruct

-
  1. zero_plus_parser(Parser parser);
+
  1. zero_plus_parser(Parser parser);
diff --git a/doc/html/boost_parser__proposed_/cheat_sheet.html b/doc/html/boost_parser/cheat_sheet.html similarity index 95% rename from doc/html/boost_parser__proposed_/cheat_sheet.html rename to doc/html/boost_parser/cheat_sheet.html index 98f9b7b8..1cc3f5f9 100644 --- a/doc/html/boost_parser__proposed_/cheat_sheet.html +++ b/doc/html/boost_parser/cheat_sheet.html @@ -4,8 +4,8 @@ Cheat Sheet - - + + @@ -16,7 +16,7 @@

Here are all the tables containing the various Boost.Parser parsers, examples, @@ -24,8 +24,8 @@ of the tutorial.

- - The + + The parsers

@@ -80,7 +80,7 @@

  • r is an object whose type - models parsable_range_like; + models parsable_range; and
  • @@ -99,32 +99,17 @@

    - The definition of parsable_range_like + The definition of parsable_range is:

    -

    -
    template<typename T>
    -concept parsable_range = std::ranges::forward_range<T> &&
    -    code_unit<std::ranges::range_value_t<T>>;
    -
    -template<typename T>
    -concept parsable_pointer = std::is_pointer_v<std::remove_cvref_t<T>> &&
    -    code_unit<std::remove_pointer_t<std::remove_cvref_t<T>>>;
    -
    -template<typename T>
    -concept parsable_range_like = parsable_range<T> || parsable_pointer<T>;
    -
    -

    -

    -

    - It is intended to be a range-like thing; a null-terminated sequence of characters - is considered range-like, given that a pointer T - * to a null-terminated string is isomorphic - with subrange<T *, null_sentinel_t>. + [parsable_range_concept

  • +

    + ] +

    @@ -136,7 +121,7 @@

    [Note]
    -

    Table 1.1. Parsers and Their Semantics

    +

    Table 1.1. Parsers and Their Semantics

    @@ -614,7 +599,7 @@ @@ -653,7 +638,7 @@ @@ -661,7 +646,7 @@ @@ -700,7 +685,7 @@ @@ -1258,7 +1243,7 @@

    - lit(c) + lit(c)

    @@ -629,7 +614,7 @@

    - lit() does not + lit() does not take parse arguments.

    This is a UDL - that represents lit(c), + that represents lit(c), for example 'F'_l.

    - lit(r) + lit(r)

    @@ -676,7 +661,7 @@

    - lit() does not + lit() does not take parse arguments.

    This is a UDL - that represents lit(s), + that represents lit(s), for example "a string"_l.

    - repeat(arg0)[p] + repeat(arg0)[p]

    @@ -1282,7 +1267,7 @@ eps an unlimited number of times creates an infinite loop, which is undefined behavior in C++. Boost.Parser will assert in debug mode when it encounters - repeat(Inf)[eps] (this applies to unconditional + repeat(Inf)[eps] (this applies to unconditional eps only).

    @@ -1291,7 +1276,7 @@

    - repeat(arg0, arg1)[p] + repeat(arg0, arg1)[p]

    @@ -1315,7 +1300,7 @@ eps an unlimited number of times creates an infinite loop, which is undefined behavior in C++. Boost.Parser will assert in debug mode when it encounters - repeat(n, Inf)[eps] (this applies to unconditional + repeat(n, Inf)[eps] (this applies to unconditional eps only).

    @@ -1571,8 +1556,8 @@

    - - Operators + + Operators defined on parsers

    @@ -1588,9 +1573,8 @@

  • r is an object whose type - models parsable_range_like - (see Concepts); - and + models parsable_range (see + Concepts); and
  • p, p1, @@ -1608,7 +1592,7 @@

  • -

    Table 1.2. Combining Operations and Their Semantics

    +

    Table 1.2. Combining Operations and Their Semantics

    @@ -1945,8 +1929,8 @@ |p3) are all equivalent. This attribute type only applies to the case where p1 and p2 both generate - attributes, and where the attribute types are different; see Attribute - Generation for the full rules. + attributes, and where the attribute types are different; see Attribute Generation + for the full rules.

    @@ -2223,8 +2207,8 @@ is allowed to appear anywhere within an alternative parser.

    - - Attribute + + Attribute generation for certain parsers

    @@ -2244,7 +2228,7 @@

    -

    Table 1.3. Parsers and Their Attributes

    +

    Table 1.3. Parsers and Their Attributes

    @@ -2377,7 +2361,7 @@

    - lit(x) + lit(x)

    @@ -2661,8 +2645,8 @@ to enforce a non-polymorphic attribute type.

    - - Attributes + + Attributes for operations on parsers

    @@ -2692,7 +2676,7 @@

    -

    Table 1.4. Combining Operations and Their Attributes

    +

    Table 1.4. Combining Operations and Their Attributes

    @@ -2969,7 +2953,7 @@

    - repeat(arg0)[p] + repeat(arg0)[p]

    @@ -2983,7 +2967,7 @@

    - repeat(arg0, arg1)[p] + repeat(arg0, arg1)[p]

    @@ -3050,8 +3034,8 @@

    - - More + + More attributes for operations on parsers

    @@ -3062,7 +3046,7 @@ same attribute generation rules.

    -

    Table 1.5. Sequence and Alternative Combining Operations and Their Attributes

    +

    Table 1.5. Sequence and Alternative Combining Operations and Their Attributes

    diff --git a/doc/html/boost_parser__proposed_/concepts.html b/doc/html/boost_parser/concepts.html similarity index 99% rename from doc/html/boost_parser__proposed_/concepts.html rename to doc/html/boost_parser/concepts.html index d2a127f4..7030cedc 100644 --- a/doc/html/boost_parser__proposed_/concepts.html +++ b/doc/html/boost_parser/concepts.html @@ -4,8 +4,8 @@ Concepts - - + + @@ -16,7 +16,7 @@

    diff --git a/doc/html/boost_parser__proposed_/configuration_and_optional_features.html b/doc/html/boost_parser/configuration_and_optional_features.html similarity index 97% rename from doc/html/boost_parser__proposed_/configuration_and_optional_features.html rename to doc/html/boost_parser/configuration_and_optional_features.html index e2402005..67a4ea76 100644 --- a/doc/html/boost_parser__proposed_/configuration_and_optional_features.html +++ b/doc/html/boost_parser/configuration_and_optional_features.html @@ -4,8 +4,8 @@ Configuration and Optional Features - - + + @@ -16,7 +16,7 @@

    @@ -87,7 +87,7 @@ Boost.Parser automatically treats aggregate structs as if they were tuples in many cases. There is some metaprogramming logic that makes this work, and this logic has a hard limit on the size of a struct that it can operate on. There is a configuration - macro BOOST_PARSER_MAX_AGGREGATE_SIZE + macro BOOST_PARSER_MAX_AGGREGATE_SIZE that you can adjust if the default value is too small. Note that turning this value up significantly can significantly increase compile times. Also, MSVC seems to have a hard time with large values; I successfully set this value @@ -147,7 +147,7 @@

    Boost.Parser allows you to debug your parsers by passing trace::on to - parse(). Sometimes, your run environment + parse(). Sometimes, your run environment does not include a terminal. If you're running Boost.Parser code in the Visual Studio debugger, you can see this trace output in the Visual Studio debugger output panel rather than in a terminal by defining BOOST_PARSER_TRACE_TO_VS_OUTPUT. diff --git a/doc/html/boost_parser__proposed_/extended_examples.html b/doc/html/boost_parser/extended_examples.html similarity index 92% rename from doc/html/boost_parser__proposed_/extended_examples.html rename to doc/html/boost_parser/extended_examples.html index 38f431a3..06a83ce4 100644 --- a/doc/html/boost_parser__proposed_/extended_examples.html +++ b/doc/html/boost_parser/extended_examples.html @@ -4,8 +4,8 @@ Extended Examples - - + + @@ -16,7 +16,7 @@

    diff --git a/doc/html/boost_parser__proposed_/extended_examples/parsing_json_with_callbacks.html b/doc/html/boost_parser/extended_examples/parsing_json_with_callbacks.html similarity index 99% rename from doc/html/boost_parser__proposed_/extended_examples/parsing_json_with_callbacks.html rename to doc/html/boost_parser/extended_examples/parsing_json_with_callbacks.html index 71e78d23..4f24b72c 100644 --- a/doc/html/boost_parser__proposed_/extended_examples/parsing_json_with_callbacks.html +++ b/doc/html/boost_parser/extended_examples/parsing_json_with_callbacks.html @@ -4,7 +4,7 @@ Parsing JSON With Callbacks - + @@ -16,7 +16,7 @@

    diff --git a/doc/html/boost_parser__proposed_/introduction.html b/doc/html/boost_parser/introduction.html similarity index 93% rename from doc/html/boost_parser__proposed_/introduction.html rename to doc/html/boost_parser/introduction.html index b6613bb8..77683650 100644 --- a/doc/html/boost_parser__proposed_/introduction.html +++ b/doc/html/boost_parser/introduction.html @@ -4,9 +4,9 @@ Introduction - - - + + + @@ -16,7 +16,7 @@

    Boost.Parser is a parser @@ -51,8 +51,8 @@ reporting the results of subparsers as they are finished, via callbacks. Boost.Parser accommodates all these ways of working, and even makes it possible to do callback-based or non-callback-based parsing without rewriting any code (except by changing - the top-level call from parse() - to callback_parse()). + the top-level call from parse() + to callback_parse()).

    All of Boost.Parser's public interfaces are sentinel- and range-friendly, just @@ -91,7 +91,7 @@ to get a trace of your entire parse, with easy-to-read (and very verbose) indications of where each part of the trace is within the parse, the state of values produced by the parse, etc. Again, you don't need to write any code to make this happen - — you just pass a parameter to parse(). + — you just pass a parameter to parse().

    Dependencies are still a nightmare in C++, so Boost.Parser can be used as a diff --git a/doc/html/boost_parser__proposed_/rationale.html b/doc/html/boost_parser/rationale.html similarity index 95% rename from doc/html/boost_parser__proposed_/rationale.html rename to doc/html/boost_parser/rationale.html index 37a3fa03..5ca3d631 100644 --- a/doc/html/boost_parser__proposed_/rationale.html +++ b/doc/html/boost_parser/rationale.html @@ -4,8 +4,8 @@ Rationale - - + + @@ -15,11 +15,11 @@

    - - char_'s + + char_'s attribute type is polymorphic

    @@ -41,8 +41,8 @@ does, and why it does it.

    - - none + + none is weird

    @@ -230,8 +230,8 @@ make: *** [Makefile:827: json] Error 2

    - - Attribute + + Attribute types are flexible

    @@ -243,8 +243,8 @@ make: *** [Makefile:827: json] Error 2 concept is what allows generic use of different containers.

    - - Sequences + + Sequences of character type are treated specially

    @@ -283,8 +283,8 @@ auto parser_2 = +(bp::char_ - ' ') >> ' ' >> +(bp::char_ - ' '); directives to let you opt-in to generating the less-common attributes.

    - - Attribute + + Attribute compatibility rules are more strict than in Spirit

    @@ -355,14 +355,14 @@ auto parser = -(bp::char_ % ','); I can express my intent, and not be surprised.

    - - Out-parameter + + Out-parameter attributes passed to parse() are cleared on parse failure

    - At the end of a call to any of the parse() - overloads that takes an attribute out-param (including variants like callback_parse(), etc.), the parse either succeeds + At the end of a call to any of the parse() + overloads that takes an attribute out-param (including variants like callback_parse(), etc.), the parse either succeeds or fails. If the call fails, the attribute is explicitly "cleared" by assigning its default-constructed value.

    @@ -388,7 +388,7 @@ assert(result == std::vector<int>({3, 4})); attribute does not know do clear its attribute.

    - This is why the explicit clearing behavior happens at the end of parse(). This is not without its downsides, + This is why the explicit clearing behavior happens at the end of parse(). This is not without its downsides, though. Consider this.

    // With explicit clearing.
    diff --git a/doc/html/boost_parser__proposed_/this_library_s_relationship_to_boost_spirit.html b/doc/html/boost_parser/this_library_s_relationship_to_boost_spirit.html
    similarity index 95%
    rename from doc/html/boost_parser__proposed_/this_library_s_relationship_to_boost_spirit.html
    rename to doc/html/boost_parser/this_library_s_relationship_to_boost_spirit.html
    index 43fceb4d..fcf176fa 100644
    --- a/doc/html/boost_parser__proposed_/this_library_s_relationship_to_boost_spirit.html
    +++ b/doc/html/boost_parser/this_library_s_relationship_to_boost_spirit.html
    @@ -4,8 +4,8 @@
     This Library's Relationship to Boost.Spirit
     
     
    -
    -
    +
    +
     
     
     
    @@ -16,7 +16,7 @@
     
    @@ -57,8 +57,7 @@ Spirit X3 is missing many of the convenient interfaces to parsers that Spirit 2 had. For instance, you cannot add parameters to a parser (see description of _locals() - in More - About Rules). + in More About Rules).
  • All versions of Spirit have Unicode support, but it is quite difficult @@ -93,8 +92,8 @@
  • - - The + + The Spirit X3 rule problem

    diff --git a/doc/html/boost_parser__proposed_/tutorial.html b/doc/html/boost_parser/tutorial.html similarity index 86% rename from doc/html/boost_parser__proposed_/tutorial.html rename to doc/html/boost_parser/tutorial.html index 8136b77e..39654936 100644 --- a/doc/html/boost_parser__proposed_/tutorial.html +++ b/doc/html/boost_parser/tutorial.html @@ -4,8 +4,8 @@ Tutorial - - + + @@ -16,22 +16,18 @@

    diff --git a/doc/html/boost_parser__proposed_/tutorial/a_trivial_example.html b/doc/html/boost_parser/tutorial/a_trivial_example.html similarity index 97% rename from doc/html/boost_parser__proposed_/tutorial/a_trivial_example.html rename to doc/html/boost_parser/tutorial/a_trivial_example.html index 669f6ca4..373d6062 100644 --- a/doc/html/boost_parser__proposed_/tutorial/a_trivial_example.html +++ b/doc/html/boost_parser/tutorial/a_trivial_example.html @@ -4,7 +4,7 @@ A Trivial Example - + @@ -16,8 +16,7 @@

    Let's look at a slightly more complicated example, even if it is still trivial. @@ -82,10 +81,10 @@

    The first example filled in an out-parameter to deliver the result of the - parse. This call to parse() + parse. This call to parse() returns a result instead. As you can see, the result is contextually convertible to bool, and *result is some sort of range. In fact, - the return type of this call to parse() + the return type of this call to parse() is std::optional<std::vector<double>>. Naturally, if the parse fails, std::nullopt is returned. We'll look at how Boost.Parser maps the type of the parser to the return type, or the filled diff --git a/doc/html/boost_parser__proposed_/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html b/doc/html/boost_parser/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html similarity index 91% rename from doc/html/boost_parser__proposed_/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html rename to doc/html/boost_parser/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html index ef7d5ac6..353694c7 100644 --- a/doc/html/boost_parser__proposed_/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html +++ b/doc/html/boost_parser/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html @@ -4,7 +4,7 @@ A Trivial Example That Gracefully Handles Whitespace - + @@ -16,15 +16,15 @@

    Let's modify the trivial parser we just saw to ignore any spaces it might find among the doubles and commas. To skip whitespace wherever we find it, we can pass a skip parser - to our call to parse() (we don't need to touch - the parser passed to parse()). + to our call to parse() (we don't need to touch + the parser passed to parse()). Here, we use ws, which matches any Unicode whitespace character.

    @@ -61,7 +61,7 @@

    The skip parser, or skipper, is run between the subparsers - within the parser passed to parse(). + within the parser passed to parse(). In this case, the skipper is run before the first double is parsed, before any subsequent comma or double is parsed, and at the end. So, the strings "3.6,5.9" @@ -71,7 +71,7 @@

    Skipping is an important concept in Boost.Parser. You can skip anything, not just whitespace; there are lots of other things you might want to skip. - The skipper you pass to parse() + The skipper you pass to parse() can be an arbitrary parser. For example, if you write a parser for a scripting language, you can write a skipper to skip whitespace, inline comments, and end-of-line comments. diff --git a/doc/html/boost_parser__proposed_/tutorial/algorithms_and_views_that_use_parsers.html b/doc/html/boost_parser/tutorial/algorithms_and_views_that_use_parsers.html similarity index 91% rename from doc/html/boost_parser__proposed_/tutorial/algorithms_and_views_that_use_parsers.html rename to doc/html/boost_parser/tutorial/algorithms_and_views_that_use_parsers.html index acc4b1d0..a3e41ad4 100644 --- a/doc/html/boost_parser__proposed_/tutorial/algorithms_and_views_that_use_parsers.html +++ b/doc/html/boost_parser/tutorial/algorithms_and_views_that_use_parsers.html @@ -4,7 +4,7 @@ Algorithms and Views That Use Parsers - + @@ -16,18 +16,18 @@

    Unless otherwise noted, all the algorithms and views are constrained very - much like the way the parse() + much like the way the parse() overloads are. The kinds of ranges, parsers, etc., that they accept are the same.

    - - boost::parser::search() + + boost::parser::search()

    As shown in The @@ -56,7 +56,7 @@ However, it often turns out you only need to find some subrange in the parsed range. In these cases, it would be nice to turn this into a proper algorithm in the pattern of the ones in std::ranges, - since that's more idiomatic. boost::parser::search() + since that's more idiomatic. boost::parser::search() is that algorithm. It has very similar semantics to std::ranges::search, except that it searches not for a match to an exact subrange, but to a match with the given parser. Like std::ranges::search(), it returns a subrange (boost::parser::subrange @@ -68,19 +68,19 @@ assert(std::string_view(result.begin(), result.end() - result.begin()) == "XYZ");

    - Since boost::parser::search() returns a subrange, whatever + Since boost::parser::search() returns a subrange, whatever parser you give it produces no attribute. I wrote bp::lit("XYZ") above; if I had written bp::string("XYZ") instead, the result (and lack of std::string construction) would not change.

    - As you can see above, one aspect of boost::parser::search() + As you can see above, one aspect of boost::parser::search() differs intentionally from the conventions of the std::ranges algorithms — it accepts C-style strings, treating them as if they were proper ranges.

    - Also, boost::parser::search() knows how to accommodate + Also, boost::parser::search() knows how to accommodate your iterator type. You can pass the C-style string "aaXYZq" as in the example above, or "aaXYZq" | bp::as_utf32, @@ -98,7 +98,7 @@ adaptors, this accommodation will operate correctly.

    - boost::parser::search() has multiple overloads. + boost::parser::search() has multiple overloads. You can pass a range or an iterator/sentinel pair, and you can pass a skip parser or not. That's four overloads. Also, all four overloads take an optional boost::parser::trace @@ -106,8 +106,8 @@ finding something in the input that you expected to.

    - - boost::parser::search_all + + boost::parser::search_all

    boost::parser::search_all @@ -129,7 +129,7 @@ assert(count == 4);

    - All the details called out in the subsection on boost::parser::search() + All the details called out in the subsection on boost::parser::search() above apply to boost::parser::search_all: its parser produces no attributes; it accepts C-style strings as if they were ranges; and it knows how to get from the internally-used iterator type back to the given @@ -142,8 +142,8 @@ overloads.

    - - boost::parser::split + + boost::parser::split

    boost::parser::split @@ -171,7 +171,7 @@ assert(count == 5);

    - All the details called out in the subsection on boost::parser::search() + All the details called out in the subsection on boost::parser::search() above apply to boost::parser::split: its parser produces no attributes; it accepts C-style strings as if they were ranges; and it knows how to get from the internally-used iterator type @@ -184,8 +184,8 @@ overloads.

    - - boost::parser::replace + + boost::parser::replace
    @@ -301,7 +301,7 @@ and UTF-encoded ranges that does not work.

    - All the details called out in the subsection on boost::parser::search() + All the details called out in the subsection on boost::parser::search() above apply to boost::parser::replace: its parser produces no attributes; it accepts C-style strings for the r and replacement parameters as if they were ranges; and it knows how to get from the internally-used @@ -314,8 +314,8 @@ overloads.

    - - boost::parser::transform_replace + + boost::parser::transform_replace
    diff --git a/doc/html/boost_parser__proposed_/tutorial/alternative_parsers.html b/doc/html/boost_parser/tutorial/alternative_parsers.html similarity index 97% rename from doc/html/boost_parser__proposed_/tutorial/alternative_parsers.html rename to doc/html/boost_parser/tutorial/alternative_parsers.html index 93fbbcbf..2c8ee007 100644 --- a/doc/html/boost_parser__proposed_/tutorial/alternative_parsers.html +++ b/doc/html/boost_parser/tutorial/alternative_parsers.html @@ -4,7 +4,7 @@ Alternative Parsers - + @@ -16,7 +16,7 @@

    diff --git a/doc/html/boost_parser__proposed_/tutorial/attribute_generation.html b/doc/html/boost_parser/tutorial/attribute_generation.html similarity index 94% rename from doc/html/boost_parser__proposed_/tutorial/attribute_generation.html rename to doc/html/boost_parser/tutorial/attribute_generation.html index 7cd71b4b..3b61c5fb 100644 --- a/doc/html/boost_parser__proposed_/tutorial/attribute_generation.html +++ b/doc/html/boost_parser/tutorial/attribute_generation.html @@ -4,7 +4,7 @@ Attribute Generation - + @@ -16,7 +16,7 @@

    @@ -45,7 +45,7 @@ Within semantic actions, asking for the attribute of a non-attribute-producing parser (using _attr(ctx)) will yield a value of the special type boost::parser::none. - When calling parse() in a form that returns + When calling parse() in a form that returns the attribute parsed, when there is no attribute, simply returns bool; this indicates the success of failure of the parse.

    @@ -62,14 +62,14 @@

    - - The + + The attribute type trait, attribute

    You can use attribute (and the associated alias, attribute_t) to determine the - attribute a parser would have if it were passed to parse(). + attribute a parser would have if it were passed to parse(). Since at least one parser (char_) has a polymorphic attribute type, attribute also takes the type of the range being parsed. If a parser produces no attribute, @@ -95,11 +95,11 @@ type none. Therefore, attribute cannot tell you what attribute your parser will produce under all circumstances; - it only tells you what it would produce if it were passed to parse(). + it only tells you what it would produce if it were passed to parse().

    - - Parser + + Parser attributes

    @@ -119,7 +119,7 @@

    -

    Table 1.8. Parsers and Their Attributes

    +

    Table 1.8. Parsers and Their Attributes

    @@ -252,7 +252,7 @@

    - lit(x) + lit(x)

    @@ -536,8 +536,8 @@ to enforce a non-polymorphic attribute type.

    - - Combining + + Combining operation attributes

    @@ -567,7 +567,7 @@

    -

    Table 1.9. Combining Operations and Their Attributes

    +

    Table 1.9. Combining Operations and Their Attributes

    @@ -844,7 +844,7 @@

    - repeat(arg0)[p] + repeat(arg0)[p]

    @@ -858,7 +858,7 @@

    - repeat(arg0, arg1)[p] + repeat(arg0, arg1)[p]

    @@ -930,8 +930,8 @@ examples below.)

    - - Sequence + + Sequence parser attribute rules

    @@ -1072,8 +1072,8 @@

    - - Alternative + + Alternative parser attribute rules

    @@ -1104,8 +1104,8 @@

    - - Formation + + Formation of containers in attributes

    @@ -1134,8 +1134,8 @@ special case.

    - - Another + + Another special case: std::string assignment

    @@ -1157,8 +1157,8 @@ or whatever to a std::string, do it in a semantic action.

    - - Examples + + Examples of attributes generated by sequence and alternative parsers

    @@ -1169,7 +1169,7 @@ same attribute generation rules.

    -

    Table 1.10. Sequence and Alternative Combining Operations and Their Attributes

    +

    Table 1.10. Sequence and Alternative Combining Operations and Their Attributes

    @@ -1462,8 +1462,8 @@

    - - Controlling + + Controlling attribute generation with merge[] and separate[]
    @@ -1541,8 +1541,8 @@ produces the attribute boost::parser::tuple<std::string, char32_t>.

    - - merge[] and separate[] + + merge[] and separate[] in more detail

    @@ -1613,8 +1613,8 @@ similar, they have different attributes.

    - - transform(f)[] + + transform(f)[]

    transform(f)[] @@ -1665,8 +1665,8 @@ with no attribute. You may therefore write something like transform(f)[eps], and Boost.Parser will happily call f with this special no-attribute type.

    - - Other + + Other directives that affect attribute generation

    @@ -1677,8 +1677,8 @@ to a view that indicates the subrange of the input that was matched by p. string_view[p] is just like raw[p], except that it produces std::basic_string_views. - See Directives - for details. + See Directives for + details.

    As described in the previous page, backtracking occurs when the parse attempts @@ -86,8 +86,8 @@

    - - Expectation + + Expectation points

    diff --git a/doc/html/boost_parser__proposed_/tutorial/best_practices.html b/doc/html/boost_parser/tutorial/best_practices.html similarity index 75% rename from doc/html/boost_parser__proposed_/tutorial/best_practices.html rename to doc/html/boost_parser/tutorial/best_practices.html index 0e4688fe..b1f06a77 100644 --- a/doc/html/boost_parser__proposed_/tutorial/best_practices.html +++ b/doc/html/boost_parser/tutorial/best_practices.html @@ -4,7 +4,7 @@ Best Practices - + @@ -16,12 +16,11 @@

    - - Parse + + Parse unicode from the start

    @@ -38,8 +37,8 @@ with no additional effort on your part.

    - - Write + + Write rules, and test them in isolation

    @@ -50,8 +49,8 @@ manageable.

    - - Prefer + + Prefer auto-generated attributes to semantic actions

    @@ -62,7 +61,7 @@ use whatever attribute the parser generates;

  • - provide an attribute out-argument to parse() + provide an attribute out-argument to parse() for the parser to fill in;
  • @@ -90,8 +89,8 @@ methods, and only use semantic actions with a good reason.

    - - If + + If your parser takes end-user input, give rules names that you would want an end-user to see
    @@ -125,8 +124,8 @@ bp::rule<class single_escaped_char, uint32_t> const single_escaped_char = 'f', 'n', 'r', or 't' here", which is pretty helpful.

    - - Have + + Have a simple test that you can run to find ill-formed-code-as-asserts

    diff --git a/doc/html/boost_parser__proposed_/tutorial/callback_parsing.html b/doc/html/boost_parser/tutorial/callback_parsing.html similarity index 85% rename from doc/html/boost_parser__proposed_/tutorial/callback_parsing.html rename to doc/html/boost_parser/tutorial/callback_parsing.html index a22d5cd2..a44b3c53 100644 --- a/doc/html/boost_parser__proposed_/tutorial/callback_parsing.html +++ b/doc/html/boost_parser/tutorial/callback_parsing.html @@ -4,7 +4,7 @@ Callback Parsing - + @@ -16,8 +16,7 @@

  • In most parsing cases, being able to generate an attribute that represents @@ -27,7 +26,7 @@ cases, you may want to generate attributes sometimes, and not others. callback_rules exist for these kinds of uses. A callback_rule is just like a rule, except that it allows the rule's attribute to be returned to the - caller via a callback, as long as the parse is started with a call to callback_parse() instead of parse(). Within a call to parse(), a callback_rule is identical + caller via a callback, as long as the parse is started with a call to callback_parse() instead of parse(). Within a call to parse(), a callback_rule is identical to a regular rule.

    @@ -73,11 +72,11 @@

    - You opt into callback parsing by parsing with a call to callback_parse() - instead of parse(). If you use callback_rules with parse(), they're just regular rules. + You opt into callback parsing by parsing with a call to callback_parse() + instead of parse(). If you use callback_rules with parse(), they're just regular rules. This allows you to choose whether to do "normal" attribute-generating/attribute-assigning - parsing with parse(), or callback parsing with - callback_parse(), without rewriting much + parsing with parse(), or callback parsing with + callback_parse(), without rewriting much parsing code, if any.

    diff --git a/doc/html/boost_parser__proposed_/tutorial/combining_operations.html b/doc/html/boost_parser/tutorial/combining_operations.html similarity index 99% rename from doc/html/boost_parser__proposed_/tutorial/combining_operations.html rename to doc/html/boost_parser/tutorial/combining_operations.html index f309b73a..60d796cc 100644 --- a/doc/html/boost_parser__proposed_/tutorial/combining_operations.html +++ b/doc/html/boost_parser/tutorial/combining_operations.html @@ -4,7 +4,7 @@ Combining Operations - + @@ -16,7 +16,7 @@

    @@ -40,9 +40,8 @@

  • r is an object whose - type models parsable_range_like - (see Concepts); - and + type models parsable_range + (see Concepts); and
  • p, p1, @@ -60,7 +59,7 @@

  • -

    Table 1.7. Combining Operations and Their Semantics

    +

    Table 1.7. Combining Operations and Their Semantics

    diff --git a/doc/html/boost_parser__proposed_/tutorial/directives.html b/doc/html/boost_parser/tutorial/directives.html similarity index 81% rename from doc/html/boost_parser__proposed_/tutorial/directives.html rename to doc/html/boost_parser/tutorial/directives.html index a3a1398c..2ba0a007 100644 --- a/doc/html/boost_parser__proposed_/tutorial/directives.html +++ b/doc/html/boost_parser/tutorial/directives.html @@ -4,7 +4,7 @@ Directives - + @@ -16,7 +16,7 @@

    A directive is an element of your parser that doesn't have any meaning by @@ -29,13 +29,13 @@

    The directives that are second order parsers are technically directives, but since they are also used to create parsers, it is more useful just to - focus on that. The directives repeat() + focus on that. The directives repeat() and if_() were already described in the section on parsers; we won't say much about them here.

    - - Interaction + + Interaction with sequence, alternative, and permutation parsers

    @@ -68,29 +68,29 @@ each directive below.

    - - The + + The directives
    - - repeat() + + repeat()

    See The Parsers And Their Uses. Creates a repeat_parser.

    - - if_() + + if_()

    See The Parsers And Their Uses. Creates a seq_parser.

    - - omit[] + + omit[]

    omit[p] @@ -113,8 +113,8 @@ Creates an omit_parser.

    - - raw[] + + raw[]

    raw[p] @@ -124,8 +124,8 @@ subrange<I>, where I is the type of the iterator used within the parse. Note that this may not be the same as the - iterator type passed to parse(). - For instance, when parsing UTF-8, the iterator passed to parse() + iterator type passed to parse(). + For instance, when parsing UTF-8, the iterator passed to parse() may be char8_t const *, but within the parse it will be a UTF-8 to UTF-32 transcoding (converting) iterator. Just like omit[], raw[] @@ -142,8 +142,8 @@ Creates a raw_parser.

    - - string_view[] + + string_view[]

    string_view[p] @@ -169,8 +169,8 @@ Creates a string_view_parser.

    - - no_case[] + + no_case[]

    no_case[p] @@ -229,8 +229,8 @@ Creates a no_case_parser.

    - - lexeme[] + + lexeme[]

    lexeme[p] @@ -253,13 +253,13 @@ Creates a lexeme_parser.

    - - skip[] + + skip[]

    skip[] is like the inverse of lexeme[]. It enables skipping in the parse, even if it was not enabled before. For example, within a call to - parse() that uses a skipper, let's + parse() that uses a skipper, let's say we have these parsers in use:

    namespace bp = boost::parser;
    @@ -270,14 +270,14 @@
             The use of lexeme[] disables skipping, but then
             the use of skip[] turns it back on. The net
             result is that the first occurrence of one_or_more
    -        will use the skipper passed to parse();
    +        will use the skipper passed to parse();
             the second will not.
           

    skip[] has another use. You can parameterize skip with a different parser to change the skipper just within the scope - of the directive. Let's say we passed ws to parse(), - and we're using these parsers somewhere within that parse() + of the directive. Let's say we passed ws to parse(), + and we're using these parsers somewhere within that parse() call:

    namespace bp = boost::parser;
    @@ -286,7 +286,7 @@
     

    The first occurrence of zero_or_more - will use the skipper passed to parse(), + will use the skipper passed to parse(), which is ws; the second will use blank as its skipper.

    @@ -294,8 +294,8 @@ Creates a skip_parser.

    - - merge[], separate[], + + merge[], separate[], and transform(f)[]

    diff --git a/doc/html/boost_parser__proposed_/tutorial/error_handling_and_debugging.html b/doc/html/boost_parser/tutorial/error_handling_and_debugging.html similarity index 90% rename from doc/html/boost_parser__proposed_/tutorial/error_handling_and_debugging.html rename to doc/html/boost_parser/tutorial/error_handling_and_debugging.html index 23f6e91d..bf02d3f4 100644 --- a/doc/html/boost_parser__proposed_/tutorial/error_handling_and_debugging.html +++ b/doc/html/boost_parser/tutorial/error_handling_and_debugging.html @@ -4,7 +4,7 @@ Error Handling and Debugging - + @@ -16,12 +16,12 @@

    - - Error + + Error handling

    @@ -109,8 +109,8 @@ be used.

    - - How + + How diagnostics are generated

    @@ -186,8 +186,8 @@ auto result = bp::parse("acb", a_b | c_b);

    - - Using + + Using error handlers in semantic actions

    @@ -252,13 +252,13 @@ auto result = bp::parse("acb", a_b | c_b); }

    - - _report_error() and _report_warning() + + _report_error() and _report_warning()

    There are also some convenience functions that make the above code a little - less verbose, _report_error() - and _report_warning(): + less verbose, _report_error() + and _report_warning():

    [](auto & ctx) {
         // Assume we have a std::vector of open tags, and another
    @@ -294,8 +294,8 @@ auto result = bp::parse("acb", a_b | c_b);
             and error_handling.hpp.
           

    - - Creating + + Creating your own error handler

    @@ -416,15 +416,15 @@ auto result = bp::parse("acb", a_b | c_b); ^

    - - Fixing + + Fixing ill-formed code

    Sometimes, during the writing of a parser, you make a simple mistake that is diagnosed horrifyingly, due to the high number of template instantiations between the line you just wrote and the point of use (usually, the call to - parse()). By "sometimes", + parse()). By "sometimes", I mean "almost always and many, many times". Boost.Parser has a workaround for situations like this. The workaround is to make the ill-formed code well-formed in as many circumstances as possible, and then do a runtime @@ -435,15 +435,15 @@ auto result = bp::parse("acb", a_b | c_b); as they can. That usually means making as much bad code ill-formed as possible. Counter-intuitively, this does not work well in parser combinator situations. For an example of just how dramatically different these two debugging scenarios - can be with Boost.Parser, please see the very long discussion in the none is weird section of Rationale. + can be with Boost.Parser, please see the very long discussion in the none is weird section of Rationale.

    If you are morally opposed to this approach, or just hate fun, good news: you can turn off the use of this technique entirely by defining BOOST_PARSER_NO_RUNTIME_ASSERTIONS.

    - - Runtime + + Runtime debugging

    @@ -451,14 +451,14 @@ auto result = bp::parse("acb", a_b | c_b); nearly impossible to debug simply by looking at the parser's code. Stepping through the parse in a debugger is even worse. To provide a reasonable chance of debugging your parsers, Boost.Parser has a trace mode that you can turn - on simply by providing an extra parameter to parse() - or callback_parse(): + on simply by providing an extra parameter to parse() + or callback_parse():

    boost::parser::parse(input, parser, boost::parser::trace::on);
     

    - Every overload of parse() - and callback_parse() takes this final parameter, + Every overload of parse() + and callback_parse() takes this final parameter, which is defaulted to boost::parser::trace::off.

    diff --git a/doc/html/boost_parser__proposed_/tutorial/hello__whomever.html b/doc/html/boost_parser/tutorial/hello__whomever.html similarity index 95% rename from doc/html/boost_parser__proposed_/tutorial/hello__whomever.html rename to doc/html/boost_parser/tutorial/hello__whomever.html index 1cc0eb5a..cfc31111 100644 --- a/doc/html/boost_parser__proposed_/tutorial/hello__whomever.html +++ b/doc/html/boost_parser/tutorial/hello__whomever.html @@ -4,7 +4,7 @@ Hello, Whomever - + @@ -16,8 +16,7 @@

    This is just about the most minimal example of using Boost.Parser that one @@ -63,7 +62,7 @@ fail. Even an empty string will match it.

    - The parse operation is performed by calling the parse() + The parse operation is performed by calling the parse() function, passing the parser as one of the arguments:

    bp::parse(input, *bp::char_, result);
    @@ -73,7 +72,7 @@
             the range to parse; *bp::char_,
             the parser used to do the parse; and result,
             an out-parameter into which to put the result of the parse. Don't get too
    -        caught up on this method of getting the parse result out of parse(); there are multiple ways
    +        caught up on this method of getting the parse result out of parse(); there are multiple ways
             of doing so, and we'll cover all of them in subsequent sections.
           

    @@ -83,7 +82,7 @@ that we'll cover later.

    - The effects of this call to parse() + The effects of this call to parse() is not very interesting — since the parser we gave it cannot ever fail, and because we're placing the output in the same type as the input, it just copies the contents of input diff --git a/doc/html/boost_parser__proposed_/tutorial/memory_allocation.html b/doc/html/boost_parser/tutorial/memory_allocation.html similarity index 94% rename from doc/html/boost_parser__proposed_/tutorial/memory_allocation.html rename to doc/html/boost_parser/tutorial/memory_allocation.html index 10017608..3275b3b8 100644 --- a/doc/html/boost_parser__proposed_/tutorial/memory_allocation.html +++ b/doc/html/boost_parser/tutorial/memory_allocation.html @@ -4,7 +4,7 @@ Memory Allocation - + @@ -16,8 +16,7 @@

    Boost.Parser seldom allocates memory. The exceptions to this are: @@ -50,7 +49,7 @@ type for the attribute that does not allocate.

  • - The attribute for repeat(p) in + The attribute for repeat(p) in all its forms, including operator*, operator+, and operator%, is std::vector<ATTR(p)>, the use of which implies allocation. You can avoid this allocation by diff --git a/doc/html/boost_parser__proposed_/tutorial/more_about_rules.html b/doc/html/boost_parser/tutorial/more_about_rules.html similarity index 94% rename from doc/html/boost_parser__proposed_/tutorial/more_about_rules.html rename to doc/html/boost_parser/tutorial/more_about_rules.html index 4d767b40..6da16de3 100644 --- a/doc/html/boost_parser__proposed_/tutorial/more_about_rules.html +++ b/doc/html/boost_parser/tutorial/more_about_rules.html @@ -4,7 +4,7 @@ More About Rules - + @@ -16,8 +16,7 @@
  • In the earlier page about rules (Rule @@ -49,12 +48,12 @@ Let's look at the use cases in detail.

    - - Fixing + + Fixing the attribute type

    - We saw in the previous section how parse() + We saw in the previous section how parse() is flexible in what types it will accept as attribute out-parameters. Here's another example.

    @@ -93,8 +92,8 @@

    - You can then use it in a call to parse(), - and parse() will return a std::optional<std::vector<double>>: + You can then use it in a call to parse(), + and parse() will return a std::optional<std::vector<double>>:

    @@ -103,7 +102,7 @@

    - If you call parse() with an attribute out-parameter, + If you call parse() with an attribute out-parameter, it must be exactly std::vector<double>:

    std::vector<double> vec_result;
    @@ -142,8 +141,8 @@
     

    Where attribute_out_param - is the attribute out-parameter we pass to parse(). - If that final move assignment is ill-formed, the call to parse() + is the attribute out-parameter we pass to parse(). + If that final move assignment is ill-formed, the call to parse() is too.

    @@ -228,15 +227,15 @@ API.

    - - Creating + + Creating a parser for better diagnostics

    Each rule has associated diagnostic text that Boost.Parser can use for failures of that rule. This is useful when the parse reaches a parse failure at an expectation - point (see Expectation + point (see Expectation points). Let's say you have the following code defined somewhere.

    namespace bp = boost::parser;
    @@ -310,8 +309,8 @@
             for those other potential uses.
           

    - - Recursive + + Recursive rules

    @@ -400,8 +399,8 @@ a unique value, locals, and parameters.

    - - Mutually-recursive + + Mutually-recursive rules

    @@ -436,8 +435,8 @@ those two parsers to be able to refer to each other.

    - - Callback + + Callback parsing

    @@ -448,13 +447,13 @@ JSON With Callbacks for an extended example of callback parsing.

    - - Accessors + + Accessors available in semantic actions on rules
    - - _val() + + _val()

    Inside all of a rule's semantic actions, the expression _val(ctx) @@ -486,8 +485,8 @@

    - - Locals + + Locals

    The rule @@ -528,8 +527,8 @@ to track state as they parse.

    - - Parameters + + Parameters

    Sometimes, it is convenient to parameterize parsers. Consider these parsing @@ -688,8 +687,8 @@ c-flow-sequence(n,c) ::= “[” s-separate(n,c)? in-flow(c)? “]” if the other rules were implemented, like [138].

    - - The + + The _p variable template
    @@ -717,8 +716,8 @@ c-flow-sequence(n,c) ::= “[” s-separate(n,c)? in-flow(c)? “]” action, you have to call it.

    - - Special + + Special forms of semantic actions usable within a rule

    diff --git a/doc/html/boost_parser__proposed_/tutorial/mutable_symbol_tables.html b/doc/html/boost_parser/tutorial/mutable_symbol_tables.html similarity index 91% rename from doc/html/boost_parser__proposed_/tutorial/mutable_symbol_tables.html rename to doc/html/boost_parser/tutorial/mutable_symbol_tables.html index d5eb341d..b4126711 100644 --- a/doc/html/boost_parser__proposed_/tutorial/mutable_symbol_tables.html +++ b/doc/html/boost_parser/tutorial/mutable_symbol_tables.html @@ -4,7 +4,7 @@ Mutable Symbol Tables - + @@ -16,7 +16,7 @@

    @@ -129,19 +129,6 @@

    -
    - - - - - -
    [Note]Note

    - It is possible to add symbols to a symbols permanently. To do - so, you have to use a mutable symbols object s, and add the symbols by calling s.insert_for_next_parse(), instead of s.insert(). These two operations are orthogonal, - so if you want to both add a symbol to the table for the current top-level - parse, and leave it in the table for subsequent top-level parses, you need - to call both functions. -

    @@ -177,6 +164,20 @@ Support for more information.

    [Tip]
    +

    + It is possible to add symbols to a symbols permanently. To do + so, you have to use a mutable symbols object s, and add the symbols by calling s.insert_for_next_parse(), instead of s.insert(). These two operations are orthogonal, so + if you want to both add a symbol to the table for the current top-level parse, + and leave it in the table for subsequent top-level parses, you need to call + both functions. +

    +

    + It is also possible to erase a single entry from the symbol table, or to + clear the symbol table entirely. Just as with insertion, there are versions + of erase and clear for the current parse, and another that applies only to + subsequent parses. The full set of operations can be found in the symbols + API docs. +

    Now that you've seen some examples, let's see how parsing works in a bit @@ -97,8 +96,8 @@ The next page has more details on the semantics of backtracking.

    - - Parsers + + Parsers in detail

    diff --git a/doc/html/boost_parser__proposed_/tutorial/parsing_into__struct_s_and__class_es.html b/doc/html/boost_parser/tutorial/parsing_into__struct_s_and__class_es.html similarity index 97% rename from doc/html/boost_parser__proposed_/tutorial/parsing_into__struct_s_and__class_es.html rename to doc/html/boost_parser/tutorial/parsing_into__struct_s_and__class_es.html index de3588b4..a55f365e 100644 --- a/doc/html/boost_parser__proposed_/tutorial/parsing_into__struct_s_and__class_es.html +++ b/doc/html/boost_parser/tutorial/parsing_into__struct_s_and__class_es.html @@ -4,7 +4,7 @@ Parsing into structs and classes - + @@ -16,7 +16,7 @@

    @@ -48,8 +48,8 @@ and non-aggregates that are constructible from the tuple at hand.

    - - Aggregate + + Aggregate types as attributes

    @@ -199,12 +199,12 @@ This automatic use of structs as if they were tuples depends on a bit of metaprogramming. Due to compiler limits, the metaprogram that detects the number of data members of a struct is limited to a maximum number of - members. Fortunately, that limit is configurable; see BOOST_PARSER_MAX_AGGREGATE_SIZE. + members. Fortunately, that limit is configurable; see BOOST_PARSER_MAX_AGGREGATE_SIZE.

    - - General + + General class types as attributes

    diff --git a/doc/html/boost_parser__proposed_/tutorial/parsing_quoted_strings.html b/doc/html/boost_parser/tutorial/parsing_quoted_strings.html similarity index 98% rename from doc/html/boost_parser__proposed_/tutorial/parsing_quoted_strings.html rename to doc/html/boost_parser/tutorial/parsing_quoted_strings.html index b2f1e118..ca6d5b3c 100644 --- a/doc/html/boost_parser__proposed_/tutorial/parsing_quoted_strings.html +++ b/doc/html/boost_parser/tutorial/parsing_quoted_strings.html @@ -4,7 +4,7 @@ Parsing Quoted Strings - + @@ -16,7 +16,7 @@

    diff --git a/doc/html/boost_parser__proposed_/tutorial/parsing_to_find_subranges.html b/doc/html/boost_parser/tutorial/parsing_to_find_subranges.html similarity index 91% rename from doc/html/boost_parser__proposed_/tutorial/parsing_to_find_subranges.html rename to doc/html/boost_parser/tutorial/parsing_to_find_subranges.html index f352867b..9c9b764a 100644 --- a/doc/html/boost_parser__proposed_/tutorial/parsing_to_find_subranges.html +++ b/doc/html/boost_parser/tutorial/parsing_to_find_subranges.html @@ -4,7 +4,7 @@ Parsing to Find Subranges - + @@ -16,7 +16,7 @@

    @@ -32,8 +32,8 @@ and changes some aspect of how it functions.)

    - - raw[] + + raw[]

    raw[] changes the attribute of its @@ -68,18 +68,18 @@

    Note that the subrange has the iterator type std::string::const_iterator, - because that's the iterator type passed to prefix_parse(). + because that's the iterator type passed to prefix_parse(). If we had passed char const - * iterators to prefix_parse(), + * iterators to prefix_parse(), that would have been the iterator type. The only exception to this comes from Unicode-aware parsing (see Unicode Support). In some of those cases, the iterator being used in the parse - is not the one you passed. For instance, if you call prefix_parse() + is not the one you passed. For instance, if you call prefix_parse() with char8_t * iterators, it will create a UTF-8 to UTF-32 transcoding view, and parse the iterators of that view. In such a case, you'll get a subrange whose iterator type is a transcoding iterator. When that happens, you can get the underlying - iterator — the one you passed to prefix_parse() + iterator — the one you passed to prefix_parse() — by calling the .base() member function on each transcoding iterator in the returned subrange.

    @@ -91,8 +91,8 @@ assert(u8range->end().base() == u8str.begin() + 10);
    - - string_view[] + + string_view[]

    string_view[] has very similar semantics @@ -121,8 +121,8 @@ CharT with string_view[], you get exactly a std::basic_string_view<CharT>. If the parse is using transcoding in the Unicode-aware path, string_view[] will decompose the transcoding - iterator as necessary. If you pass a transcoding view to parse() - or transcoding iterators to prefix_parse(), + iterator as necessary. If you pass a transcoding view to parse() + or transcoding iterators to prefix_parse(), string_view[] will still see through the transcoding iterators without issue, and give you a string_view of part of the underlying range. diff --git a/doc/html/boost_parser__proposed_/tutorial/rule_parsers.html b/doc/html/boost_parser/tutorial/rule_parsers.html similarity index 99% rename from doc/html/boost_parser__proposed_/tutorial/rule_parsers.html rename to doc/html/boost_parser/tutorial/rule_parsers.html index a7979c72..5af0155e 100644 --- a/doc/html/boost_parser__proposed_/tutorial/rule_parsers.html +++ b/doc/html/boost_parser/tutorial/rule_parsers.html @@ -4,7 +4,7 @@ Rule Parsers - + @@ -16,7 +16,7 @@

    -Rule Parsers +Rule Parsers

    This example is very similar to the others we've seen so far. This one is @@ -229,8 +229,7 @@ All this is intended to introduce the notion of rules. It still may be a bit unclear why you would want to use rules. The use cases for, and lots of detail about, rules is in a later section, - More About - Rules. + More About Rules.

    diff --git a/doc/html/boost_parser__proposed_/tutorial/semantic_actions.html b/doc/html/boost_parser/tutorial/semantic_actions.html similarity index 96% rename from doc/html/boost_parser__proposed_/tutorial/semantic_actions.html rename to doc/html/boost_parser/tutorial/semantic_actions.html index 349e5e00..2acc50db 100644 --- a/doc/html/boost_parser__proposed_/tutorial/semantic_actions.html +++ b/doc/html/boost_parser/tutorial/semantic_actions.html @@ -4,7 +4,7 @@ Semantic Actions - + @@ -16,8 +16,7 @@

    Like all parsing systems (lex & yacc, Boost.Spirit, @@ -135,15 +134,15 @@ You entered:

    - - Semantic + + Semantic actions inside rules

    There are some other forms for semantic actions, when they are used inside of rules. - See More - About Rules for details. + See More About Rules + for details.

    -Symbol - Tables +Symbol Tables

    When writing a parser, it often comes up that there is a set of strings that, @@ -112,13 +111,12 @@ literal parser. That is, it is a parser that parses a literal char, code point, or string. In this case, a char - "M" is being parsed. The _l - bit at the end is a UDL + 'M' is being parsed. The _l bit at the end is a UDL suffix that you can put after any char, char32_t, or char const * to form a literal parser. You can also make a literal parser by writing - lit(), passing an argument of + lit(), passing an argument of one of the previously mentioned types.

    @@ -139,7 +137,7 @@ Boost.Parser subparser p, as in 'x' >> p. Otherwise, you need to wrap - it in a call to lit(), or use the _l UDL + it in a call to lit(), or use the _l UDL suffix.

    @@ -243,8 +241,8 @@

    - - Diagnostic + + Diagnostic messages

    diff --git a/doc/html/boost_parser__proposed_/tutorial/terminology.html b/doc/html/boost_parser/tutorial/terminology.html similarity index 93% rename from doc/html/boost_parser__proposed_/tutorial/terminology.html rename to doc/html/boost_parser/tutorial/terminology.html index 0d3d3be6..8403cc04 100644 --- a/doc/html/boost_parser__proposed_/tutorial/terminology.html +++ b/doc/html/boost_parser/tutorial/terminology.html @@ -4,7 +4,7 @@ Terminology - + @@ -16,7 +16,7 @@

    -Terminology +Terminology

    First, let's cover some terminology that we'll be using throughout the docs: @@ -69,17 +69,17 @@ The top-level parse is the parse operation being performed by the top-level parser. This term is necessary because, though most parse failures are local to a particular parser, some parse failures cause the - call to parse() to indicate failure of the + call to parse() to indicate failure of the entire parse. For these cases, we say that such a local failure "causes the top-level parse to fail".

    Throughout the Boost.Parser documentation, I will refer to "the call - to parse()". Read this as "the + to parse()". Read this as "the call to any one of the functions described in The parse() - API". That includes prefix_parse(), - callback_parse(), and callback_prefix_parse(). + API". That includes prefix_parse(), + callback_parse(), and callback_prefix_parse().

    There are some special kinds of parsers that come up often in this documentation. diff --git a/doc/html/boost_parser__proposed_/tutorial/the__parse____api.html b/doc/html/boost_parser/tutorial/the__parse____api.html similarity index 83% rename from doc/html/boost_parser__proposed_/tutorial/the__parse____api.html rename to doc/html/boost_parser/tutorial/the__parse____api.html index 9cf7bea2..e3839645 100644 --- a/doc/html/boost_parser__proposed_/tutorial/the__parse____api.html +++ b/doc/html/boost_parser/tutorial/the__parse____api.html @@ -4,7 +4,7 @@ The parse() API - + @@ -16,9 +16,7 @@

    -The - parse() - API +The parse() API

    There are multiple top-level parse functions. They have some things in common: @@ -29,9 +27,7 @@

  • They each take at least a range to parse and a parser. The "range - to parse" may be an iterator/sentinel pair or an single range-like - object. Note that "range-like" includes null-terminated string - pointers. + to parse" may be an iterator/sentinel pair or an single range object.
  • They each require forward iterability of the range to parse. @@ -44,7 +40,7 @@
  • The overloads with prefix_ - in their name take an iterator/sentinel pair. For example prefix_parse(first, last, p, ws), + in their name take an iterator/sentinel pair. For example prefix_parse(first, last, p, ws), which parses the range [first, last), advancing first as it goes. If the parse succeeds, the entire input may or may not have been @@ -52,11 +48,11 @@ will indicate the last location within the input that p matched. The whole input was matched if and only if first == last - after the call to parse(). + after the call to parse().
  • - When you call any of the range-like overloads of parse(), - for example parse(r, p, ws), parse() + When you call any of the range overloads of parse(), + for example parse(r, p, ws), parse() only indicates success if all of r was matched by p.
  • @@ -72,22 +68,21 @@

    - - The - overloads + + The overloads

    - There are eight overloads of parse() - and prefix_parse() combined, because there + There are eight overloads of parse() + and prefix_parse() combined, because there are three either/or options in how you call them.

    - - Iterator/sentinel - versus range-like + + Iterator/sentinel + versus range

    - You can call prefix_parse() + You can call prefix_parse() with an iterator and sentinel that delimit a range of character values. For example:

    @@ -106,13 +101,13 @@ The iterator/sentinel overloads can parse successfully without matching the entire input. You can tell if the entire input was matched by checking if first == - last is true after prefix_parse() returns. + last is true after prefix_parse() returns.

    - By contrast, you call parse() + By contrast, you call parse() with a range of character values. When the range is a reference to an array of characters, any terminating 0 - is ignored; this allows calls like parse("str", + is ignored; this allows calls like parse("str", p) to work naturally.

    @@ -126,40 +121,17 @@ auto result_2 = bp::parse(U"str", p, bp::ws); char const * str_3 = "str"; -auto result_3 = bp::parse(str_3 | boost::parser::as_utf16, p, bp::ws); - -

    - You can also call parse() - with a pointer to a null-terminated string of character values. parse() considers pointers to null-terminated - strings to be ranges, since, for any pointer T - * to a null-terminated string, T * is - isomorphic with subrange<T *, null_sentinel_t>. -

    -
    namespace bp = boost::parser;
    -auto const p = /* some parser ... */;
    -
    -char const * str_1 = /* ... */ ;
    -auto result_1 = bp::parse(str_1, p, bp::ws);
    -char8_t const * str_2 = /* ... */ ;
    -auto result_2 = bp::parse(str_2, p, bp::ws);
    -char16_t const * str_3 = /* ... */ ;
    -auto result_3 = bp::parse(str_3, p, bp::ws);
    -char32_t const * str_4 = /* ... */ ;
    -auto result_4 = bp::parse(str_4, p, bp::ws);
    -
    -int const array[] = { 's', 't', 'r', 0 };
    -int const * array_ptr = array;
    -auto result_5 = bp::parse(array_ptr, p, bp::ws);
    +auto result_3 = bp::parse(bp::null_term(str_3) | bp::as_utf16, p, bp::ws);
     

    Since there is no way to indicate that p - matches the input, but only a prefix of the input was matched, the range-like - (non-iterator/sentinel) overloads of parse() + matches the input, but only a prefix of the input was matched, the range + (non-iterator/sentinel) overloads of parse() indicate failure if the entire input is not matched.

    - - With + + With or without an attribute out-parameter
    namespace bp = boost::parser;
    @@ -171,14 +143,14 @@
     auto result_2 = bp::parse(str, p);                  // !!result_2 is true; *result_2 is "two words"
     

    - When you call parse() with + When you call parse() with an attribute out-parameter and parser p, the expected type is something like ATTR(p). It doesn't have to be exactly that; I'll explain in a bit. The return type is bool.

    - When you call parse() without + When you call parse() without an attribute out-parameter and parser p, the return type is std::optional<ATTR(p)>. Note that when ATTR(p) @@ -190,8 +162,8 @@ the inner one.

    - - With + + With or without a skipper
    namespace bp = boost::parser;
    @@ -202,13 +174,13 @@
     auto result_2 = bp::parse(str, p, bp::ws); // !!result_2 is true; *result_2 is "twowords"
     
    - - Compatibility + + Compatibility of attribute out-parameters

    - For any call to parse() that takes an attribute - out-parameter, like parse("str", + For any call to parse() that takes an attribute + out-parameter, like parse("str", p, bp::ws, out), the call is well-formed for a number of possible types of out; decltype(out) does @@ -231,10 +203,10 @@ std::string attribute, when it actually takes the data it generates and writes it into an attribute, it only assumes that the attribute is a container - (see Concepts), not - that it is some particular container type. It will happily insert() - into a std::string or a std::vector<char> - all the same. std::string and std::vector<char> + (see Concepts), not that it + is some particular container type. It will happily insert() into a std::string + or a std::vector<char> all + the same. std::string and std::vector<char> are both containers of char, but it will also insert into a container with a different element type. p just needs to be able to @@ -304,7 +276,7 @@ to std::vector<int>, or std::vector<char32_t> to std::deque<int>), - the call to parse() will often still be + the call to parse() will often still be well-formed.

  • @@ -359,7 +331,7 @@

    The take-away for this last example is that the ability to arbitrarily swap - out data types within the type of the attribute you pass to parse() is very flexible, but is + out data types within the type of the attribute you pass to parse() is very flexible, but is also limited to structurally simple cases. When we discuss rules in the next section, we'll see how this flexibility in the types of attributes can help when writing complicated parsers. @@ -390,7 +362,7 @@

    This looks wrong, but is expected behavior. At every stage of the parse that produces an attribute, Boost.Parser tries to assign that attribute to some - part of the out-param attribute provided to parse(), + part of the out-param attribute provided to parse(), if there is one. Note that ATTR(parser) is std::string, because each sequence parser is three char_ parsers in a row, which forms a std::string; @@ -411,7 +383,7 @@ parser would have appended to the string.

    - Boost.Parser never looks at the arity of the tuple passed to parse() to see if there are too + Boost.Parser never looks at the arity of the tuple passed to parse() to see if there are too many or too few elements in it, compared to the expected attribute for the parser. In this case, there are two extra elements that are never touched. If there had been too few elements in the tuple, you would have seen a compilation @@ -421,8 +393,8 @@ but not whether a passed attribute of another type is a suitable stand-in.

    - - Compatibility + + Compatibility of variant attribute out-parameters

    @@ -491,12 +463,12 @@ exact variant alternative type, or the variant itself, and use P as your rule's parser.

    - - Unicode + + Unicode versus non-Unicode parsing

    - A call to parse() either considers the entire + A call to parse() either considers the entire input to be in a UTF format (UTF-8, UTF-16, or UTF-32), or it considers the entire input to be in some unknown encoding. Here is how it deduces which case the call falls under: @@ -536,7 +508,7 @@ If you want to ensure all input is parsed as Unicode, pass the input range r as r | boost::parser::as_utf32 - — that's the first thing that happens to it inside parse() in the Unicode parsing + — that's the first thing that happens to it inside parse() in the Unicode parsing path anyway.

    @@ -553,25 +525,25 @@

    - - The + + The trace_mode parameter to parse()

    Debugging parsers is notoriously difficult once they reach a certain size. - To get a verbose trace of your parse, pass boost::parser::trace::on as the final parameter to parse(). It will show you the current + To get a verbose trace of your parse, pass boost::parser::trace::on as the final parameter to parse(). It will show you the current parser being matched, the next few characters to be parsed, and any attributes generated. See the Error Handling and Debugging section of the tutorial for details.

    - - Globals + + Globals and error handlers

    - Each call to parse() can optionally have a globals + Each call to parse() can optionally have a globals object associated with it. To use a particular globals object with you parser, you call with_globals() to create a new parser with the globals object in it: @@ -586,7 +558,7 @@ auto result = boost::parser::parse("str", boost::parser::with_globals(parser, globals));

    - Every semantic action within that call to parse() + Every semantic action within that call to parse() can access the same globals_t object using _globals(ctx).

    diff --git a/doc/html/boost_parser__proposed_/tutorial/the_parse_context.html b/doc/html/boost_parser/tutorial/the_parse_context.html similarity index 75% rename from doc/html/boost_parser__proposed_/tutorial/the_parse_context.html rename to doc/html/boost_parser/tutorial/the_parse_context.html index d7013483..2183d786 100644 --- a/doc/html/boost_parser__proposed_/tutorial/the_parse_context.html +++ b/doc/html/boost_parser/tutorial/the_parse_context.html @@ -4,7 +4,7 @@ The Parse Context - + @@ -16,8 +16,7 @@

    Now would be a good time to describe the parse context in some detail. Any @@ -58,8 +57,8 @@

    - - Accessors + + Accessors for data that are always available

    @@ -68,8 +67,8 @@ a leading underscore.

    - - _pass() + + _pass()

    _pass() returns a reference to a @@ -92,13 +91,13 @@ does nothing; it's redundant.

    - - _begin(), _end() + + _begin(), _end() and _where()

    _begin() and _end() - return the beginning and end of the range that you passed to parse(), respectively. _where() returns a subrange indicating the bounds + return the beginning and end of the range that you passed to parse(), respectively. _where() returns a subrange indicating the bounds of the input matched by the current parse. _where() can be useful if you just want to parse some text and return a result consisting of where certain elements are located, without producing any other attributes. @@ -112,24 +111,24 @@ Handling and Debugging for an example of this.

    - - _error_handler() + + _error_handler()

    _error_handler() returns a reference to the - error handler associated with the parser passed to parse(). + error handler associated with the parser passed to parse(). Using _error_handler(), you can generate errors and warnings from within your semantic actions. See Error Handling and Debugging for concrete examples.

    - - Accessors + + Accessors for data that are only sometimes available
    - - _attr() + + _attr()

    _attr() returns a reference to the @@ -144,8 +143,8 @@ If the current parser has no attribute, a none is returned.

    - - _val() + + _val()

    _val() returns a reference to the @@ -170,12 +169,11 @@ compute the rule's attribute from the rule's parser's generated attribute. For more info on rules, see the next page, and - More About - Rules. + More About Rules.

    - - _globals() + + _globals()

    _globals() returns a reference to a @@ -184,8 +182,7 @@ a struct — that you give to the top-level parser. Then you can use _globals() to access it at any time during the parse. We'll see how globals get associated with the top-level - parser in The - parse() + parser in The parse() API later. As an example, say that you have an early part of the parse that needs to record some black-listed values, and that later parts of the parse might need to parse values, failing the parse if they see the black-listed @@ -206,8 +203,8 @@ }

    - - _locals() + + _locals()

    _locals() returns a reference to one @@ -234,8 +231,8 @@ is returned.

    - - _params() + + _params()

    _params(), like _locals(), @@ -268,13 +265,13 @@ etc. should compile, and produce an assertion at runtime. Experience has shown that using a debugger for investigating the stack that leads to your mistake is a far better user experience than sifting through compiler diagnostics. - See the Rationale - section for a more detailed explanation. + See the Rationale section + for a more detailed explanation.

    - - _no_case() + + _no_case()

    _no_case() returns true diff --git a/doc/html/boost_parser__proposed_/tutorial/the_parsers_and_their_uses.html b/doc/html/boost_parser/tutorial/the_parsers_and_their_uses.html similarity index 93% rename from doc/html/boost_parser__proposed_/tutorial/the_parsers_and_their_uses.html rename to doc/html/boost_parser/tutorial/the_parsers_and_their_uses.html index 7e659668..1af6dd2a 100644 --- a/doc/html/boost_parser__proposed_/tutorial/the_parsers_and_their_uses.html +++ b/doc/html/boost_parser/tutorial/the_parsers_and_their_uses.html @@ -4,7 +4,7 @@ The Parsers And Their Uses - + @@ -16,7 +16,7 @@

    @@ -158,7 +158,7 @@

  • r is an object whose - type models parsable_range_like; + type models parsable_range; and
  • @@ -177,31 +177,17 @@

    - The definition of parsable_range_like + The definition of parsable_range is:

    -

    -
    template<typename T>
    -concept parsable_range = std::ranges::forward_range<T> &&
    -    code_unit<std::ranges::range_value_t<T>>;
    -
    -template<typename T>
    -concept parsable_pointer = std::is_pointer_v<std::remove_cvref_t<T>> &&
    -    code_unit<std::remove_pointer_t<std::remove_cvref_t<T>>>;
    -
    -template<typename T>
    -concept parsable_range_like = parsable_range<T> || parsable_pointer<T>;
    -
    -

    -

    -

    - It is intended to be a range-like thing; a null-terminated sequence of - characters is considered range-like, given that a pointer T * to - a null-terminated string is isomorphic with subrange<T *, null_sentinel_t>. + [parsable_range_concept

    +

    + ] +

    @@ -213,7 +199,7 @@

    [Note]
    -

    Table 1.6. Parsers and Their Semantics

    +

    Table 1.6. Parsers and Their Semantics

    @@ -689,7 +675,7 @@ @@ -727,7 +713,7 @@ @@ -735,7 +721,7 @@ @@ -773,7 +759,7 @@ @@ -1332,7 +1318,7 @@

    - lit(c) + lit(c)

    @@ -704,7 +690,7 @@

    - lit() does not take parse arguments. + lit() does not take parse arguments.

    This is a UDL - that represents lit(c), + that represents lit(c), for example 'F'_l.

    - lit(r) + lit(r)

    @@ -750,7 +736,7 @@

    - lit() does not take parse arguments. + lit() does not take parse arguments.

    This is a UDL - that represents lit(s), + that represents lit(s), for example "a string"_l.

    - repeat(arg0)[p] + repeat(arg0)[p]

    @@ -1356,7 +1342,7 @@ eps an unlimited number of times creates an infinite loop, which is undefined behavior in C++. Boost.Parser will assert in debug mode - when it encounters repeat(Inf)[eps] (this applies to unconditional + when it encounters repeat(Inf)[eps] (this applies to unconditional eps only).

    @@ -1365,7 +1351,7 @@

    - repeat(arg0, arg1)[p] + repeat(arg0, arg1)[p]

    @@ -1389,7 +1375,7 @@ eps an unlimited number of times creates an infinite loop, which is undefined behavior in C++. Boost.Parser will assert in debug mode - when it encounters repeat(n, Inf)[eps] (this applies to unconditional + when it encounters repeat(n, Inf)[eps] (this applies to unconditional eps only).

    diff --git a/doc/html/boost_parser__proposed_/tutorial/unicode_support.html b/doc/html/boost_parser/tutorial/unicode_support.html similarity index 89% rename from doc/html/boost_parser__proposed_/tutorial/unicode_support.html rename to doc/html/boost_parser/tutorial/unicode_support.html index c834abbf..a30d737b 100644 --- a/doc/html/boost_parser__proposed_/tutorial/unicode_support.html +++ b/doc/html/boost_parser/tutorial/unicode_support.html @@ -4,7 +4,7 @@ Unicode Support - + @@ -16,8 +16,7 @@

    Boost.Parser was designed from the start to be Unicode friendly. There are @@ -27,12 +26,12 @@ different in the two code paths, as they are written generically. The only difference is that the Unicode code path parses the input as a range of code points, and the non-Unicode path does not. In effect, this means that, in - the Unicode code path, when you call parse(r, p) for some input range r + the Unicode code path, when you call parse(r, p) for some input range r and some parser p, the parse - happens as if you called parse(r | boost::parser::as_utf32, p) + happens as if you called parse(r | boost::parser::as_utf32, p) instead. (Of course, it does not matter if r - is a null-terminated pointer, a proper range, or an iterator/sentinel pair; - those all work fine with boost::parser::as_utf32.) + is a proper range, or an iterator/sentinel pair; those both work fine with + boost::parser::as_utf32.)

    Matching "characters" within Boost.Parser's parsers is assumed @@ -126,8 +125,8 @@ }

    - - Implicit + + Implicit transcoding

    @@ -161,8 +160,8 @@ internally.

    - - Explicit + + Explicit transcoding

    @@ -197,7 +196,7 @@ assert(result_2);

    - The first call to parse() + The first call to parse() treats each char as a code point, and since "ö" is the pair of code units 0xc3 0xb6, the parse matches the second code unit @@ -206,7 +205,7 @@ each code unit/char in str is treated as an independent code point.

    - The second call to parse() + The second call to parse() succeeds because, when the parse gets to the code point for 'ö', it is 0xf6 (U+00F6), which does not match the - 0xb6 part of the parser. @@ -215,8 +214,7 @@ The other adaptors as_utf8 and as_utf16 are also provided for completeness, if you want to use them. They each can transcode any sequence - of character types. A null-terminated string is considered a sequence of - character type. + of character types.

    @@ -231,8 +229,8 @@

    - - (Lack + + (Lack of) normalization

    diff --git a/doc/html/boost_parser__proposed_/tutorial/writing_your_own_parsers.html b/doc/html/boost_parser/tutorial/writing_your_own_parsers.html similarity index 96% rename from doc/html/boost_parser__proposed_/tutorial/writing_your_own_parsers.html rename to doc/html/boost_parser/tutorial/writing_your_own_parsers.html index ada30459..2195b73c 100644 --- a/doc/html/boost_parser__proposed_/tutorial/writing_your_own_parsers.html +++ b/doc/html/boost_parser/tutorial/writing_your_own_parsers.html @@ -4,7 +4,7 @@ Writing Your Own Parsers - + @@ -16,7 +16,7 @@

    @@ -267,8 +267,8 @@ is zero-or-one, if the subparser fails, opt_parse still succeeds.

    - - When + + When to make a new parse context

    @@ -280,8 +280,8 @@ you create a new one with the appropriate call to detail::make_context().

    - - detail::apply_parser() + + detail::apply_parser()

    Sometimes a parser needs to operate on an out-param that is not exactly the diff --git a/doc/html/header/boost/parser/config_hpp.html b/doc/html/header/boost/parser/config_hpp.html index 175938a5..fa054d79 100644 --- a/doc/html/header/boost/parser/config_hpp.html +++ b/doc/html/header/boost/parser/config_hpp.html @@ -4,29 +4,29 @@ Header <boost/parser/config.hpp> - + - +

    -PrevUpHomeNext +PrevUpHomeNext

    -PrevUpHomeNext +PrevUpHomeNext
    diff --git a/doc/html/header/boost/parser/error_handling_fwd_hpp.html b/doc/html/header/boost/parser/error_handling_fwd_hpp.html index a2f037fd..ce1aad82 100644 --- a/doc/html/header/boost/parser/error_handling_fwd_hpp.html +++ b/doc/html/header/boost/parser/error_handling_fwd_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/error_handling_fwd.hpp> - + @@ -28,17 +28,17 @@ enum diagnostic_kind; template<typename Iter, typename Sentinel> std::ostream & - write_formatted_message(std::ostream &, std::wstring_view, Iter, Iter, - Sentinel, std::string_view, int64_t = 80, - int64_t = 40); + write_formatted_message(std::ostream &, std::wstring_view, Iter, Iter, + Sentinel, std::string_view, int64_t = 80, + int64_t = 40); template<typename Iter, typename Sentinel> std::ostream & - write_formatted_expectation_failure_error_message(std::ostream &, + write_formatted_expectation_failure_error_message(std::ostream &, std::wstring_view, - Iter, Sentinel, - parse_error< Iter > const &, - int64_t = 80, - int64_t = 40); + Iter, Sentinel, + parse_error< Iter > const &, + int64_t = 80, + int64_t = 40); } }
    diff --git a/doc/html/header/boost/parser/error_handling_hpp.html b/doc/html/header/boost/parser/error_handling_hpp.html index 44bdf6d8..d160a612 100644 --- a/doc/html/header/boost/parser/error_handling_hpp.html +++ b/doc/html/header/boost/parser/error_handling_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/error_handling.hpp> - + @@ -24,21 +24,21 @@ struct vs_output_error_handler; template<typename Iter, typename Sentinel> std::ostream & - write_formatted_message(std::ostream &, std::string_view, Iter, Iter, - Sentinel, std::string_view, int64_t = 80, - int64_t = 40); + write_formatted_message(std::ostream &, std::string_view, Iter, Iter, + Sentinel, std::string_view, int64_t = 80, + int64_t = 40); template<typename Iter, typename Sentinel> std::ostream & - write_formatted_expectation_failure_error_message(std::ostream &, + write_formatted_expectation_failure_error_message(std::ostream &, std::string_view, - Iter, Sentinel, - parse_error< Iter > const &, - int64_t = 80, - int64_t = 40); + Iter, Sentinel, + parse_error< Iter > const &, + int64_t = 80, + int64_t = 40); template<typename Iter> - line_position< Iter > find_line_position(Iter, Iter); + line_position< Iter > find_line_position(Iter, Iter); template<typename Iter, typename Sentinel> - Iter find_line_end(Iter, Sentinel); + Iter find_line_end(Iter, Sentinel); } } diff --git a/doc/html/header/boost/parser/parser_fwd_hpp.html b/doc/html/header/boost/parser/parser_fwd_hpp.html index fcbab9ad..55d53057 100644 --- a/doc/html/header/boost/parser/parser_fwd_hpp.html +++ b/doc/html/header/boost/parser/parser_fwd_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/parser_fwd.hpp> - + @@ -25,7 +25,7 @@ typename LocalState = no_local_state, typename ParamsTuple = no_params> struct callback_rule; - template<typename Expected, typename AttributeType = void> + template<typename Expected, typename AttributeType = void> struct char_parser; template<typename Tag> struct char_set_parser; template<typename Tag> struct char_subrange_parser; @@ -40,7 +40,7 @@ template<typename Parser> struct omit_parser; template<typename Parser> struct raw_parser; template<typename Parser, typename DelimiterParser = detail::nope, - typename MinType = int64_t, typename MaxType = int64_t> + typename MinType = int64_t, typename MaxType = int64_t> struct repeat_parser; template<typename TagType, typename Attribute = no_attribute, typename LocalState = no_local_state, @@ -66,32 +66,33 @@ struct uint_parser; template<bool NewlinesOnly, bool NoNewlines> struct ws_parser; typedef unspecified null_sentinel_t; - typedef typename attribute< R, Parser >::type attribute_t; + typedef typename attribute< R, Parser >::type attribute_t; typedef unspecified no_attribute; typedef unspecified no_local_state; typedef unspecified no_params; - constexpr bool enable_optional; - constexpr bool enable_variant; - constexpr sorted_t sorted; - decltype(auto) _val(Context const &); - template<typename Context> decltype(auto) _attr(Context const &); - template<typename Context> decltype(auto) _where(Context const &); - template<typename Context> decltype(auto) _begin(Context const &); - template<typename Context> decltype(auto) _end(Context const &); - template<typename Context> decltype(auto) _pass(Context const &); - template<typename Context> decltype(auto) _locals(Context const &); - template<typename Context> decltype(auto) _params(Context const &); - template<typename Context> decltype(auto) _globals(Context const &); - template<typename Context> decltype(auto) _error_handler(Context const &); + constexpr bool enable_optional; + constexpr bool enable_variant; + constexpr sorted_t sorted; + template<typename CharT> constexpr auto null_term(CharT *); + decltype(auto) _val(Context const &); + template<typename Context> decltype(auto) _attr(Context const &); + template<typename Context> decltype(auto) _where(Context const &); + template<typename Context> decltype(auto) _begin(Context const &); + template<typename Context> decltype(auto) _end(Context const &); + template<typename Context> decltype(auto) _pass(Context const &); + template<typename Context> decltype(auto) _locals(Context const &); + template<typename Context> decltype(auto) _params(Context const &); + template<typename Context> decltype(auto) _globals(Context const &); + template<typename Context> decltype(auto) _error_handler(Context const &); template<std::forward_iterator I, typename Context> - void _report_error(Context const &, std::string_view, I); + void _report_error(Context const &, std::string_view, I); template<typename Context> - void _report_error(Context const &, std::string_view); + void _report_error(Context const &, std::string_view); template<std::forward_iterator I, typename Context> - void _report_warning(Context const &, std::string_view, I); + void _report_warning(Context const &, std::string_view, I); template<typename Context> - void _report_warning(Context const &, std::string_view); + void _report_warning(Context const &, std::string_view); } } diff --git a/doc/html/header/boost/parser/parser_hpp.html b/doc/html/header/boost/parser/parser_hpp.html index 57531bb2..320be8b4 100644 --- a/doc/html/header/boost/parser/parser_hpp.html +++ b/doc/html/header/boost/parser/parser_hpp.html @@ -4,15 +4,15 @@ Header <boost/parser/parser.hpp> - + - - + +
    -PrevUpHomeNext +PrevUpHomeNext

    @@ -46,179 +46,179 @@ enum trace; unspecified _p; - int64_t const Inf; - constexpr directive< omit_parser > omit; - constexpr directive< raw_parser > raw; - constexpr directive< string_view_parser > string_view; - constexpr directive< lexeme_parser > lexeme; - constexpr directive< no_case_parser > no_case; - constexpr skip_directive skip; - constexpr merge_directive merge; - constexpr separate_directive separate; + int64_t const Inf; + constexpr directive< omit_parser > omit; + constexpr directive< raw_parser > raw; + constexpr directive< string_view_parser > string_view; + constexpr directive< lexeme_parser > lexeme; + constexpr directive< no_case_parser > no_case; + constexpr skip_directive skip; + constexpr merge_directive merge; + constexpr separate_directive separate; unspecified eps; - constexpr parser_interface< eoi_parser > eoi; + constexpr parser_interface< eoi_parser > eoi; unspecified char_; unspecified cp; unspecified cu; - constexpr parser_interface< quoted_string_parser<> > quoted_string; - constexpr parser_interface< ws_parser< true, false > > eol; - constexpr parser_interface< ws_parser< false, false > > ws; - constexpr parser_interface< ws_parser< false, true > > blank; - constexpr parser_interface< digit_parser > digit; + constexpr parser_interface< quoted_string_parser<> > quoted_string; + constexpr parser_interface< ws_parser< true, false > > eol; + constexpr parser_interface< ws_parser< false, false > > ws; + constexpr parser_interface< ws_parser< false, true > > blank; + constexpr parser_interface< digit_parser > digit; unspecified hex_digit; unspecified control; unspecified punct; unspecified lower; unspecified upper; - constexpr parser_interface< bool_parser > bool_; - constexpr parser_interface< uint_parser< unsigned int, 2 > > bin; - constexpr parser_interface< uint_parser< unsigned int, 8 > > oct; - constexpr parser_interface< uint_parser< unsigned int, 16 > > hex; - constexpr parser_interface< uint_parser< unsigned short > > ushort_; - constexpr parser_interface< uint_parser< unsigned int > > uint_; - constexpr parser_interface< uint_parser< unsigned long > > ulong_; - constexpr parser_interface< uint_parser< unsigned long long > > ulong_long; - constexpr parser_interface< int_parser< short > > short_; - constexpr parser_interface< int_parser< int > > int_; - constexpr parser_interface< int_parser< long > > long_; - constexpr parser_interface< int_parser< long long > > long_long; - constexpr parser_interface< float_parser< float > > float_; - constexpr parser_interface< float_parser< double > > double_; + constexpr parser_interface< bool_parser > bool_; + constexpr parser_interface< uint_parser< unsigned int, 2 > > bin; + constexpr parser_interface< uint_parser< unsigned int, 8 > > oct; + constexpr parser_interface< uint_parser< unsigned int, 16 > > hex; + constexpr parser_interface< uint_parser< unsigned short > > ushort_; + constexpr parser_interface< uint_parser< unsigned int > > uint_; + constexpr parser_interface< uint_parser< unsigned long > > ulong_; + constexpr parser_interface< uint_parser< unsigned long long > > ulong_long; + constexpr parser_interface< int_parser< short > > short_; + constexpr parser_interface< int_parser< int > > int_; + constexpr parser_interface< int_parser< long > > long_; + constexpr parser_interface< int_parser< long long > > long_long; + constexpr parser_interface< float_parser< float > > float_; + constexpr parser_interface< float_parser< double > > double_; template<typename Parser, typename GlobalState, typename ErrorHandler> - auto with_globals(unspecified, GlobalState &); + auto with_globals(unspecified, GlobalState &); template<typename Parser, typename GlobalState, typename ErrorHandler> - auto with_error_handler(parser_interface< Parser, GlobalState, default_error_handler > const &, - ErrorHandler &); - template<typename T> constexpr repeat_directive< T, T > repeat(T); + auto with_error_handler(parser_interface< Parser, GlobalState, default_error_handler > const &, + ErrorHandler &); + template<typename T> constexpr repeat_directive< T, T > repeat(T); template<typename MinType, typename MaxType> - constexpr repeat_directive< MinType, MaxType > repeat(MinType, MaxType); - template<typename F> auto transform(F); - template<typename Attribute> constexpr auto attr(Attribute); - constexpr auto lit(char); - constexpr auto lit(char8_t); - constexpr auto lit(char32_t); - template<parsable_range_like R> constexpr auto string(R &&); - template<parsable_range_like R> constexpr auto lit(R &&); - template<typename Predicate> constexpr auto if_(Predicate); - template<typename T> constexpr auto switch_(T); + constexpr repeat_directive< MinType, MaxType > repeat(MinType, MaxType); + template<typename F> auto transform(F); + template<typename Attribute> constexpr auto attr(Attribute); + constexpr auto lit(char); + constexpr auto lit(char8_t); + constexpr auto lit(char32_t); + template<parsable_range_like R> constexpr auto string(R &&); + template<parsable_range_like R> constexpr auto lit(R &&); + template<typename Predicate> constexpr auto if_(Predicate); + template<typename T> constexpr auto switch_(T); template<typename Parser> - constexpr auto operator>>(char, parser_interface< Parser >); + constexpr auto operator>>(char, parser_interface< Parser >); template<typename Parser> - constexpr auto operator>>(char32_t, parser_interface< Parser >); + constexpr auto operator>>(char32_t, parser_interface< Parser >); template<parsable_range_like R, typename Parser> - constexpr auto operator>>(R &&, parser_interface< Parser >); + constexpr auto operator>>(R &&, parser_interface< Parser >); template<typename Parser> - constexpr auto operator>(char, parser_interface< Parser >); + constexpr auto operator>(char, parser_interface< Parser >); template<typename Parser> - constexpr auto operator>(char32_t, parser_interface< Parser >); + constexpr auto operator>(char32_t, parser_interface< Parser >); template<parsable_range_like R, typename Parser> - constexpr auto operator>(R &&, parser_interface< Parser >); + constexpr auto operator>(R &&, parser_interface< Parser >); template<typename Parser> - constexpr auto operator|(char, parser_interface< Parser >); + constexpr auto operator|(char, parser_interface< Parser >); template<typename Parser> - constexpr auto operator|(char32_t, parser_interface< Parser >); + constexpr auto operator|(char32_t, parser_interface< Parser >); template<parsable_range_like R, typename Parser> - constexpr auto operator|(R &&, parser_interface< Parser >); + constexpr auto operator|(R &&, parser_interface< Parser >); template<typename Parser> - constexpr auto operator-(char, parser_interface< Parser >); + constexpr auto operator-(char, parser_interface< Parser >); template<typename Parser> - constexpr auto operator-(char32_t, parser_interface< Parser >); + constexpr auto operator-(char32_t, parser_interface< Parser >); template<parsable_range_like R, typename Parser> - constexpr auto operator-(R &&, parser_interface< Parser >); + constexpr auto operator-(R &&, parser_interface< Parser >); template<typename Parser> - constexpr auto operator%(char, parser_interface< Parser >); + constexpr auto operator%(char, parser_interface< Parser >); template<typename Parser> - constexpr auto operator%(char32_t, parser_interface< Parser >); + constexpr auto operator%(char32_t, parser_interface< Parser >); template<parsable_range_like R, typename Parser> - constexpr auto operator%(R &&, parser_interface< Parser >); + constexpr auto operator%(R &&, parser_interface< Parser >); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename Attr> - bool prefix_parse(I &, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - Attr &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + bool prefix_parse(I &, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + Attr &, trace = trace::off); + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler, typename Attr> - bool parse(R const &, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - Attr &, trace = trace::off); + bool parse(R const &, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + Attr &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler> - auto prefix_parse(I &, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + auto prefix_parse(I &, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler> - auto parse(R const &, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + auto parse(R const &, + parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename SkipParser, typename Attr> - bool prefix_parse(I &, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, Attr &, + bool prefix_parse(I &, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, Attr &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser, typename Attr> - bool parse(R const &, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, Attr &, + bool parse(R const &, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, Attr &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename SkipParser> - auto prefix_parse(I &, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, + auto prefix_parse(I &, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - auto parse(R const &, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, trace = trace::off); + auto parse(R const &, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename Callbacks> - bool callback_prefix_parse(I &, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - Callbacks const &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + bool callback_prefix_parse(I &, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + Callbacks const &, trace = trace::off); + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler, typename Callbacks> - bool callback_parse(R const &, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - Callbacks const &, trace = trace::off); + bool callback_parse(R const &, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + Callbacks const &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler, typename SkipParser, typename Callbacks> - bool callback_prefix_parse(I &, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, - Callbacks const &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + bool callback_prefix_parse(I &, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, + Callbacks const &, trace = trace::off); + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser, typename Callbacks> - bool callback_parse(R const &, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, - Callbacks const &, trace = trace::off); + bool callback_parse(R const &, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, + Callbacks const &, trace = trace::off); namespace literals { - constexpr auto operator""_l(char); - constexpr auto operator""_l(char8_t); - constexpr auto operator""_l(char32_t); - constexpr auto operator""_l(char const *, std::size_t); - constexpr auto operator""_l(char8_t const *, std::size_t); - constexpr auto operator""_l(char32_t const *, std::size_t); - constexpr auto operator""_p(char); - constexpr auto operator""_p(char8_t); - constexpr auto operator""_p(char32_t); - constexpr auto operator""_p(char const *, std::size_t); - constexpr auto operator""_p(char8_t const *, std::size_t); - constexpr auto operator""_p(char32_t const *, std::size_t); + constexpr auto operator""_l(char); + constexpr auto operator""_l(char8_t); + constexpr auto operator""_l(char32_t); + constexpr auto operator""_l(char const *, std::size_t); + constexpr auto operator""_l(char8_t const *, std::size_t); + constexpr auto operator""_l(char32_t const *, std::size_t); + constexpr auto operator""_p(char); + constexpr auto operator""_p(char8_t); + constexpr auto operator""_p(char32_t); + constexpr auto operator""_p(char const *, std::size_t); + constexpr auto operator""_p(char8_t const *, std::size_t); + constexpr auto operator""_p(char32_t const *, std::size_t); } } } @@ -230,7 +230,7 @@


    -PrevUpHomeNext +PrevUpHomeNext
    diff --git a/doc/html/header/boost/parser/replace_hpp.html b/doc/html/header/boost/parser/replace_hpp.html index 137a8ca8..1a3516f2 100644 --- a/doc/html/header/boost/parser/replace_hpp.html +++ b/doc/html/header/boost/parser/replace_hpp.html @@ -4,15 +4,15 @@ Header <boost/parser/replace.hpp> - + - +
    -PrevUpHomeNext +PrevUpHomeNext

    @@ -27,23 +27,23 @@ unspecified replace; template<typename V, typename ReplacementV, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >, ReplacementV &&, trace); + replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >, ReplacementV &&, trace); template<typename V, typename ReplacementV, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >, ReplacementV &&); + replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >, ReplacementV &&); template<typename V, typename ReplacementV, typename Parser, typename GlobalState, typename ErrorHandler> - replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, + replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, ReplacementV &&, trace); template<typename V, typename ReplacementV, typename Parser, typename GlobalState, typename ErrorHandler> - replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, + replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, ReplacementV &&); } } @@ -55,7 +55,7 @@


    -PrevUpHomeNext +PrevUpHomeNext
    diff --git a/doc/html/header/boost/parser/search_hpp.html b/doc/html/header/boost/parser/search_hpp.html index 05fbd37d..e339a018 100644 --- a/doc/html/header/boost/parser/search_hpp.html +++ b/doc/html/header/boost/parser/search_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/search.hpp> - + @@ -24,47 +24,47 @@ struct search_all_view; unspecified search_all; - template<parsable_range_like R, typename Parser, typename GlobalState, + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - auto search(R &&, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, trace = trace::off); + auto search(R &&, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename SkipParser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler> - auto search(I, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, - parser_interface< SkipParser > const &, trace = trace::off); - template<parsable_range_like R, typename Parser, typename GlobalState, + auto search(I, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, + parser_interface< SkipParser > const &, trace = trace::off); + template<parsable_range R, typename Parser, typename GlobalState, typename ErrorHandler> - auto search(R &&, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + auto search(R &&, + parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); template<parsable_iter I, std::sentinel_for< I > S, typename Parser, typename GlobalState, error_handler< I, S, GlobalState > ErrorHandler> - auto search(I, S, - parser_interface< Parser, GlobalState, ErrorHandler > const &, + auto search(I, S, + parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - search_all_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >, trace); + search_all_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >, trace); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - search_all_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >); + search_all_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler> - search_all_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, + search_all_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, trace); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler> - search_all_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >); + search_all_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >); } }
    diff --git a/doc/html/header/boost/parser/split_hpp.html b/doc/html/header/boost/parser/split_hpp.html index 21248bf1..0c05dddf 100644 --- a/doc/html/header/boost/parser/split_hpp.html +++ b/doc/html/header/boost/parser/split_hpp.html @@ -4,15 +4,15 @@ Header <boost/parser/split.hpp> - + - +
    -PrevUpHomeNext +PrevUpHomeNext

    @@ -26,19 +26,19 @@ unspecified split; template<typename V, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >, trace); + split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >, trace); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >); + split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler> - split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >, + split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >, trace); template<typename V, typename Parser, typename GlobalState, typename ErrorHandler> - split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >); + split_view(V &&, parser_interface< Parser, GlobalState, ErrorHandler >); } }

    @@ -49,7 +49,7 @@

    -PrevUpHomeNext +PrevUpHomeNext
    diff --git a/doc/html/header/boost/parser/subrange_hpp.html b/doc/html/header/boost/parser/subrange_hpp.html index 30deae3b..7b95c4d9 100644 --- a/doc/html/header/boost/parser/subrange_hpp.html +++ b/doc/html/header/boost/parser/subrange_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/subrange.hpp> - + @@ -22,7 +22,7 @@ template<std::forward_iterator I, std::sentinel_for< I > S = I> struct subrange; template<std::forward_iterator I, std::sentinel_for< I > S = I> - constexpr subrange< I, S > make_subrange(I, S); + constexpr subrange< I, S > make_subrange(I, S); } }namespace std { namespace ranges { diff --git a/doc/html/header/boost/parser/transcode_view_hpp.html b/doc/html/header/boost/parser/transcode_view_hpp.html index 77446b1e..cb6230ba 100644 --- a/doc/html/header/boost/parser/transcode_view_hpp.html +++ b/doc/html/header/boost/parser/transcode_view_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/transcode_view.hpp> - + @@ -25,9 +25,9 @@ typedef unspecified format; - constexpr auto as_utf8; - constexpr auto as_utf16; - constexpr auto as_utf32; + constexpr auto as_utf8; + constexpr auto as_utf16; + constexpr auto as_utf32; } }
    diff --git a/doc/html/header/boost/parser/transform_replace_hpp.html b/doc/html/header/boost/parser/transform_replace_hpp.html index 67d8320e..939d2cc7 100644 --- a/doc/html/header/boost/parser/transform_replace_hpp.html +++ b/doc/html/header/boost/parser/transform_replace_hpp.html @@ -4,7 +4,7 @@ Header <boost/parser/transform_replace.hpp> - + @@ -27,23 +27,23 @@ unspecified transform_replace; template<typename V, typename F, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - transform_replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >, F &&, trace); + transform_replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >, F &&, trace); template<typename V, typename F, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> - transform_replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, - parser_interface< SkipParser >, F &&); + transform_replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, + parser_interface< SkipParser >, F &&); template<typename V, typename F, typename Parser, typename GlobalState, typename ErrorHandler> - transform_replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, + transform_replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, F &&, trace); template<typename V, typename F, typename Parser, typename GlobalState, typename ErrorHandler> - transform_replace_view(V &&, - parser_interface< Parser, GlobalState, ErrorHandler >, + transform_replace_view(V &&, + parser_interface< Parser, GlobalState, ErrorHandler >, F &&); } } diff --git a/doc/html/header/boost/parser/tuple_hpp.html b/doc/html/header/boost/parser/tuple_hpp.html index a94f535a..08040f25 100644 --- a/doc/html/header/boost/parser/tuple_hpp.html +++ b/doc/html/header/boost/parser/tuple_hpp.html @@ -4,15 +4,15 @@ Header <boost/parser/tuple.hpp> - + - +
    -PrevUpHomeNext +PrevUpHomeNext

    @@ -20,12 +20,12 @@
    namespace boost {
       namespace parser {
         typedef hana::tuple< Args... > tuple;
    -    typedef hana::integral_constant< T, I > integral_constant;
    -    typedef integral_constant< long long, I > llong;
    +    typedef hana::integral_constant< T, I > integral_constant;
    +    typedef integral_constant< long long, I > llong;
         template<typename T, typename U, U I> 
    -      constexpr decltype(auto) get(T &&, integral_constant< U, I >);
    +      constexpr decltype(auto) get(T &&, integral_constant< U, I >);
         namespace literals {
    -      template<char... chars> constexpr auto operator""_c();
    +      template<char... chars> constexpr auto operator""_c();
         }
       }
     }
    @@ -37,7 +37,7 @@


    -PrevUpHomeNext +PrevUpHomeNext
    diff --git a/doc/html/index.html b/doc/html/index.html index 53fe1eff..aca49d70 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -1,19 +1,19 @@ -Chapter 1. Boost.Parser (Proposed) +Chapter 1. Boost.Parser - - + + -
    Next
    +
    Next

    -Chapter 1. Boost.Parser (Proposed)

    +Chapter 1. Boost.Parser

    Zach Laine

    @@ -28,76 +28,63 @@

    -
    Next
    +
    Next
    diff --git a/doc/html/parser/compiler_support.html b/doc/html/parser/compiler_support.html index 11139f1a..13df38e9 100644 --- a/doc/html/parser/compiler_support.html +++ b/doc/html/parser/compiler_support.html @@ -4,15 +4,15 @@ Compiler Support - - - + + +
    -PrevUpHomeNext +PrevUpHomeNext

    @@ -29,7 +29,7 @@ Clang 11 and later (and XCode 10.3 and later)
  • - Visual Studio 2019 and later + Visual Studio 2022 and later
  • @@ -51,7 +51,7 @@


    -PrevUpHomeNext +PrevUpHomeNext
    diff --git a/doc/html/reference.html b/doc/html/reference.html index d3536257..2a1edab6 100644 --- a/doc/html/reference.html +++ b/doc/html/reference.html @@ -4,8 +4,8 @@ Reference - - + + diff --git a/doc/html/standalone_HTML.manifest b/doc/html/standalone_HTML.manifest index d5ce29f6..cb0dde47 100644 --- a/doc/html/standalone_HTML.manifest +++ b/doc/html/standalone_HTML.manifest @@ -1,52 +1,52 @@ index.html -boost_parser__proposed_/introduction.html -boost_parser__proposed_/configuration_and_optional_features.html -boost_parser__proposed_/this_library_s_relationship_to_boost_spirit.html -boost_parser__proposed_/cheat_sheet.html -boost_parser__proposed_/tutorial.html -boost_parser__proposed_/tutorial/terminology.html -boost_parser__proposed_/tutorial/hello__whomever.html -boost_parser__proposed_/tutorial/a_trivial_example.html -boost_parser__proposed_/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html -boost_parser__proposed_/tutorial/semantic_actions.html -boost_parser__proposed_/tutorial/parsing_to_find_subranges.html -boost_parser__proposed_/tutorial/the_parse_context.html -boost_parser__proposed_/tutorial/rule_parsers.html -boost_parser__proposed_/tutorial/parsing_into__struct_s_and__class_es.html -boost_parser__proposed_/tutorial/alternative_parsers.html -boost_parser__proposed_/tutorial/parsing_quoted_strings.html -boost_parser__proposed_/tutorial/parsing_in_detail.html -boost_parser__proposed_/tutorial/backtracking.html -boost_parser__proposed_/tutorial/symbol_tables.html -boost_parser__proposed_/tutorial/mutable_symbol_tables.html -boost_parser__proposed_/tutorial/the_parsers_and_their_uses.html -boost_parser__proposed_/tutorial/directives.html -boost_parser__proposed_/tutorial/combining_operations.html -boost_parser__proposed_/tutorial/attribute_generation.html -boost_parser__proposed_/tutorial/the__parse____api.html -boost_parser__proposed_/tutorial/more_about_rules.html -boost_parser__proposed_/tutorial/algorithms_and_views_that_use_parsers.html -boost_parser__proposed_/tutorial/unicode_support.html -boost_parser__proposed_/tutorial/callback_parsing.html -boost_parser__proposed_/tutorial/error_handling_and_debugging.html -boost_parser__proposed_/tutorial/memory_allocation.html -boost_parser__proposed_/tutorial/best_practices.html -boost_parser__proposed_/tutorial/writing_your_own_parsers.html -boost_parser__proposed_/extended_examples.html -boost_parser__proposed_/extended_examples/parsing_json.html -boost_parser__proposed_/extended_examples/parsing_json_with_callbacks.html -boost_parser__proposed_/concepts.html +boost_parser/introduction.html +boost_parser/configuration_and_optional_features.html +boost_parser/this_library_s_relationship_to_boost_spirit.html +boost_parser/cheat_sheet.html +boost_parser/tutorial.html +boost_parser/tutorial/terminology.html +boost_parser/tutorial/hello__whomever.html +boost_parser/tutorial/a_trivial_example.html +boost_parser/tutorial/a_trivial_example_that_gracefully_handles_whitespace.html +boost_parser/tutorial/semantic_actions.html +boost_parser/tutorial/parsing_to_find_subranges.html +boost_parser/tutorial/the_parse_context.html +boost_parser/tutorial/rule_parsers.html +boost_parser/tutorial/parsing_into__struct_s_and__class_es.html +boost_parser/tutorial/alternative_parsers.html +boost_parser/tutorial/parsing_quoted_strings.html +boost_parser/tutorial/parsing_in_detail.html +boost_parser/tutorial/backtracking.html +boost_parser/tutorial/symbol_tables.html +boost_parser/tutorial/mutable_symbol_tables.html +boost_parser/tutorial/the_parsers_and_their_uses.html +boost_parser/tutorial/directives.html +boost_parser/tutorial/combining_operations.html +boost_parser/tutorial/attribute_generation.html +boost_parser/tutorial/the__parse____api.html +boost_parser/tutorial/more_about_rules.html +boost_parser/tutorial/algorithms_and_views_that_use_parsers.html +boost_parser/tutorial/unicode_support.html +boost_parser/tutorial/callback_parsing.html +boost_parser/tutorial/error_handling_and_debugging.html +boost_parser/tutorial/memory_allocation.html +boost_parser/tutorial/best_practices.html +boost_parser/tutorial/writing_your_own_parsers.html +boost_parser/extended_examples.html +boost_parser/extended_examples/parsing_json.html +boost_parser/extended_examples/parsing_json_with_callbacks.html +boost_parser/concepts.html parser/compiler_support.html reference.html header/boost/parser/config_hpp.html -BOOST_PARSER_NO_R_idm29955.html +BOOST_PARSER_NO_RUNTI_id29.html BOOST_PARSER_ASSERT.html -BOOST_PARSER_DISA_idm29970.html -BOOST_PARSER_USE__idm29974.html -BOOST_PARSER_MAX__idm29979.html +BOOST_PARSER_DISABLE__id30.html +BOOST_PARSER_USE_HANA_id31.html +BOOST_PARSER_MAX_AGGRE_id8.html BOOST_PARSER_SUBRANGE.html -BOOST_PARSER_TRAC_idm29988.html -BOOST_PARSER_ALGO_idm29993.html +BOOST_PARSER_TRACE_TO_id32.html +BOOST_PARSER_ALGO_CON_id33.html BOOST_PARSER_USE_CONCEPTS.html BOOST_PARSER_USE_STD_TUPLE.html BOOST_PARSER_CONSTEXPR.html @@ -55,8 +55,8 @@ header/boost/parser/error_handling_hpp.html boost/parser/callback_error_handler.html boost/parser/rethrow_error_handler.html boost/parser/vs_output_error_handler.html -boost/parser/write_formatted_m_idm30125.html -boost/parser/write_formatted_e_idm30151.html +boost/parser/write_formatted_messa_id34.html +boost/parser/write_formatted_expec_id35.html boost/parser/find_line_position.html boost/parser/find_line_end.html header/boost/parser/error_handling_fwd_hpp.html @@ -66,21 +66,21 @@ boost/parser/parse_error.html boost/parser/stream_error_handler.html boost/parser/error_handler_result.html boost/parser/diagnostic_kind.html -boost/parser/write_formatted_m_idm30410.html -boost/parser/write_formatted_e_idm30436.html +boost/parser/write_formatted_messa_id51.html +boost/parser/write_formatted_expec_id52.html header/boost/parser/parser_hpp.html -boost/parser/literals/operator_l_idm31725.html -boost/parser/literals/operator_l_idm31732.html -boost/parser/literals/operator_l_idm31739.html -boost/parser/literals/operator_l_idm31746.html -boost/parser/literals/operator_l_idm31755.html -boost/parser/literals/operator_l_idm31764.html -boost/parser/literals/operator_p_idm31773.html -boost/parser/literals/operator_p_idm31780.html -boost/parser/literals/operator_p_idm31787.html -boost/parser/literals/operator_p_idm31794.html -boost/parser/literals/operator_p_idm31803.html -boost/parser/literals/operator_p_idm31812.html +boost/parser/literals/operator_l_id85.html +boost/parser/literals/operator_l_id86.html +boost/parser/literals/operator_l_id87.html +boost/parser/literals/operator_l_id88.html +boost/parser/literals/operator_l_id89.html +boost/parser/literals/operator_l_id90.html +boost/parser/literals/operator_p_id91.html +boost/parser/literals/operator_p_id92.html +boost/parser/literals/operator_p_id93.html +boost/parser/literals/operator_p_id94.html +boost/parser/literals/operator_p_id95.html +boost/parser/literals/operator_p_id96.html boost/parser/attribute.html boost/parser/delimited_seq_parser.html boost/parser/directive.html @@ -141,44 +141,44 @@ boost/parser/float_.html boost/parser/double_.html boost/parser/with_globals.html boost/parser/with_error_handler.html -boost/parser/repeat_idm32218.html -boost/parser/repeat_idm32236.html +boost/parser/repeat_id13.html +boost/parser/repeat_id14.html boost/parser/transform.html boost/parser/attr.html -boost/parser/lit_idm32280.html -boost/parser/lit_idm32286.html -boost/parser/lit_idm32292.html +boost/parser/lit_id9.html +boost/parser/lit_id10.html +boost/parser/lit_id11.html boost/parser/string.html -boost/parser/lit_idm32308.html +boost/parser/lit_id12.html boost/parser/if_.html boost/parser/switch_.html -boost/parser/operator_idm32347.html -boost/parser/operator_idm32359.html -boost/parser/operator_idm32371.html -boost/parser/operator_idm32385.html -boost/parser/operator_idm32397.html -boost/parser/operator_idm32409.html -boost/parser/operator_idm32423.html -boost/parser/operator_idm32435.html -boost/parser/operator_idm32447.html -boost/parser/operator-_idm32461.html -boost/parser/operator-_idm32473.html -boost/parser/operator-_idm32485.html -boost/parser/operator%_idm32499.html -boost/parser/operator%_idm32511.html -boost/parser/operator%_idm32523.html -boost/parser/prefix_parse_idm32537.html -boost/parser/parse_idm32573.html -boost/parser/prefix_parse_idm32610.html -boost/parser/parse_idm32641.html -boost/parser/prefix_parse_idm32673.html -boost/parser/parse_idm32710.html -boost/parser/prefix_parse_idm32749.html -boost/parser/parse_idm32784.html -boost/parser/callback_prefix_p_idm32821.html -boost/parser/callback_parse_idm32861.html -boost/parser/callback_prefix_p_idm32903.html -boost/parser/callback_parse_idm32948.html +boost/parser/operator_id70.html +boost/parser/operator_id71.html +boost/parser/operator_id72.html +boost/parser/operator_id73.html +boost/parser/operator_id74.html +boost/parser/operator_id75.html +boost/parser/operator_id76.html +boost/parser/operator_id77.html +boost/parser/operator_id78.html +boost/parser/operator-_id79.html +boost/parser/operator-_id80.html +boost/parser/operator-_id81.html +boost/parser/operator%_id82.html +boost/parser/operator%_id83.html +boost/parser/operator%_id84.html +boost/parser/prefix_parse_id15.html +boost/parser/parse_id2.html +boost/parser/prefix_parse_id16.html +boost/parser/parse_id3.html +boost/parser/prefix_parse_id17.html +boost/parser/parse_id4.html +boost/parser/prefix_parse_id18.html +boost/parser/parse_id5.html +boost/parser/callback_prefix_parse_id19.html +boost/parser/callback_parse_id6.html +boost/parser/callback_prefix_parse_id20.html +boost/parser/callback_parse_id7.html BOOST_PARSER_DEFINE_RULES.html header/boost/parser/parser_fwd_hpp.html boost/parser/action_parser.html @@ -213,6 +213,7 @@ boost/parser/attribute_t.html boost/parser/enable_optional.html boost/parser/enable_variant.html boost/parser/sorted.html +boost/parser/null_term.html boost/parser/_val.html boost/parser/_attr.html boost/parser/_where.html @@ -223,10 +224,10 @@ boost/parser/_locals.html boost/parser/_params.html boost/parser/_globals.html boost/parser/_error_handler.html -boost/parser/report_error_idm33470.html -boost/parser/report_error_idm33486.html -boost/parser/report_warning_idm33498.html -boost/parser/report_warning_idm33514.html +boost/parser/report_error_id25.html +boost/parser/report_error_id26.html +boost/parser/report_warning_id27.html +boost/parser/report_warning_id28.html header/boost/parser/replace_hpp.html boost/parser/replace_view.html boost/parser/replace_view/iterator.html @@ -237,10 +238,10 @@ boost/parser/search_all_view.html boost/parser/search_all_view/iterator.html boost/parser/search_all_view/sentinel.html boost/parser/search_all.html -boost/parser/search_idm33809.html -boost/parser/search_idm33837.html -boost/parser/search_idm33868.html -boost/parser/search_idm33891.html +boost/parser/search_id21.html +boost/parser/search_id22.html +boost/parser/search_id23.html +boost/parser/search_id24.html header/boost/parser/split_hpp.html boost/parser/split_view.html boost/parser/split_view/iterator.html @@ -262,9 +263,9 @@ boost/parser/transform_replace_view/iterator.html boost/parser/transform_replace_view/sentinel.html boost/parser/transform_replace.html header/boost/parser/tuple_hpp.html -boost/parser/literals/operator_c_idm34489.html +boost/parser/literals/operator_c_id324.html boost/parser/tuple.html boost/parser/integral_constant.html boost/parser/llong.html boost/parser/get.html -boost_parser__proposed_/rationale.html +boost_parser/rationale.html