diff options
Diffstat (limited to 'boost/metaparse/v1/fwd')
-rw-r--r-- | boost/metaparse/v1/fwd/accept.hpp | 22 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/build_parser.hpp | 22 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_col.hpp | 26 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_line.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_message.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_position.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_prev_char.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_remaining.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/get_result.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/next_char.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/next_line.hpp | 25 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/reject.hpp | 22 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/source_position.hpp | 22 | ||||
-rw-r--r-- | boost/metaparse/v1/fwd/string.hpp | 38 |
14 files changed, 352 insertions, 0 deletions
diff --git a/boost/metaparse/v1/fwd/accept.hpp b/boost/metaparse/v1/fwd/accept.hpp new file mode 100644 index 0000000000..c59097eb01 --- /dev/null +++ b/boost/metaparse/v1/fwd/accept.hpp @@ -0,0 +1,22 @@ +#ifndef BOOST_METAPARSE_V1_FWD_ACCEPT_HPP +#define BOOST_METAPARSE_V1_FWD_ACCEPT_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2014. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class Result, class Remaining, class Pos> + struct accept; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/build_parser.hpp b/boost/metaparse/v1/fwd/build_parser.hpp new file mode 100644 index 0000000000..848def8ec2 --- /dev/null +++ b/boost/metaparse/v1/fwd/build_parser.hpp @@ -0,0 +1,22 @@ +#ifndef BOOST_METAPARSE_V1_FWD_BUILD_PARSER_HPP +#define BOOST_METAPARSE_V1_FWD_BUILD_PARSER_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class P> + struct build_parser; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_col.hpp b/boost/metaparse/v1/fwd/get_col.hpp new file mode 100644 index 0000000000..fa9e2a6c35 --- /dev/null +++ b/boost/metaparse/v1/fwd/get_col.hpp @@ -0,0 +1,26 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_COL_HPP +#define BOOST_METAPARSE_V1_FWD_GET_COL_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_col; + + template <class> + struct get_col_impl; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_line.hpp b/boost/metaparse/v1/fwd/get_line.hpp new file mode 100644 index 0000000000..0f53ae9d9d --- /dev/null +++ b/boost/metaparse/v1/fwd/get_line.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_LINE_HPP +#define BOOST_METAPARSE_V1_FWD_GET_LINE_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_line_impl; + + template <class> + struct get_line; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_message.hpp b/boost/metaparse/v1/fwd/get_message.hpp new file mode 100644 index 0000000000..383e17b122 --- /dev/null +++ b/boost/metaparse/v1/fwd/get_message.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_MESSAGE_HPP +#define BOOST_METAPARSE_V1_FWD_GET_MESSAGE_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2014. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_message_impl; + + template <class> + struct get_message; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_position.hpp b/boost/metaparse/v1/fwd/get_position.hpp new file mode 100644 index 0000000000..9c0ceb00df --- /dev/null +++ b/boost/metaparse/v1/fwd/get_position.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_POSITION_HPP +#define BOOST_METAPARSE_V1_FWD_GET_POSITION_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_position_impl; + + template <class> + struct get_position; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_prev_char.hpp b/boost/metaparse/v1/fwd/get_prev_char.hpp new file mode 100644 index 0000000000..fd7fe2608a --- /dev/null +++ b/boost/metaparse/v1/fwd/get_prev_char.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_PREV_CHAR_HPP +#define BOOST_METAPARSE_V1_FWD_GET_PREV_CHAR_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_prev_char_impl; + + template <class> + struct get_prev_char; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_remaining.hpp b/boost/metaparse/v1/fwd/get_remaining.hpp new file mode 100644 index 0000000000..04d10f50c9 --- /dev/null +++ b/boost/metaparse/v1/fwd/get_remaining.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_REMAINING_HPP +#define BOOST_METAPARSE_V1_FWD_GET_REMAINING_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_remaining_impl; + + template <class> + struct get_remaining; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/get_result.hpp b/boost/metaparse/v1/fwd/get_result.hpp new file mode 100644 index 0000000000..529d9cf921 --- /dev/null +++ b/boost/metaparse/v1/fwd/get_result.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_GET_RESULT_HPP +#define BOOST_METAPARSE_V1_FWD_GET_RESULT_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class> + struct get_result_impl; + + template <class> + struct get_result; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/next_char.hpp b/boost/metaparse/v1/fwd/next_char.hpp new file mode 100644 index 0000000000..a00cc27d54 --- /dev/null +++ b/boost/metaparse/v1/fwd/next_char.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_NEXT_CHAR_HPP +#define BOOST_METAPARSE_V1_FWD_NEXT_CHAR_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class P> + struct next_char_impl; + + template <class P, class Ch> + struct next_char; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/next_line.hpp b/boost/metaparse/v1/fwd/next_line.hpp new file mode 100644 index 0000000000..5e79235d43 --- /dev/null +++ b/boost/metaparse/v1/fwd/next_line.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_FWD_NEXT_LINE_IMPL_HPP +#define BOOST_METAPARSE_V1_FWD_NEXT_LINE_IMPL_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class P> + struct next_line_impl; + + template <class P, class Ch> + struct next_line; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/reject.hpp b/boost/metaparse/v1/fwd/reject.hpp new file mode 100644 index 0000000000..8e937b839b --- /dev/null +++ b/boost/metaparse/v1/fwd/reject.hpp @@ -0,0 +1,22 @@ +#ifndef BOOST_METAPARSE_V1_FWD_REJECT_HPP +#define BOOST_METAPARSE_V1_FWD_REJECT_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2014. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class Msg, class Pos> + struct reject; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/source_position.hpp b/boost/metaparse/v1/fwd/source_position.hpp new file mode 100644 index 0000000000..be79bcf2cc --- /dev/null +++ b/boost/metaparse/v1/fwd/source_position.hpp @@ -0,0 +1,22 @@ +#ifndef BOOST_METAPARSE_V1_FWD_SOURCE_POSITION_HPP +#define BOOST_METAPARSE_V1_FWD_SOURCE_POSITION_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <class Line, class Col, class PrevChar> + struct source_position; + } + } +} + +#endif + diff --git a/boost/metaparse/v1/fwd/string.hpp b/boost/metaparse/v1/fwd/string.hpp new file mode 100644 index 0000000000..b5ecbd21e4 --- /dev/null +++ b/boost/metaparse/v1/fwd/string.hpp @@ -0,0 +1,38 @@ +#ifndef BOOST_METAPARSE_V1_FWD_STRING_HPP +#define BOOST_METAPARSE_V1_FWD_STRING_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#include <boost/metaparse/config.hpp> +#include <boost/metaparse/limit_string_size.hpp> +#include <boost/metaparse/v1/impl/no_char.hpp> +#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp> + +namespace boost +{ + namespace metaparse + { + namespace v1 + { +#ifdef BOOST_METAPARSE_VARIADIC_STRING + template <char... Cs> + struct string; +#else + template < + BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT( + BOOST_METAPARSE_LIMIT_STRING_SIZE, + int C, + BOOST_NO_CHAR + ) + > + struct string; +#endif + } + } +} + +#endif + |