Update of /cvsroot/boost/boost/boost/xpressive/detail/static/productions
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14120/boost/xpressive/detail/static/productions
Modified Files:
alt_compilers.hpp complement_compiler.hpp
independent_compiler.hpp marker_compiler.hpp
marker_transform.hpp modify_compiler.hpp noop_compiler.hpp
productions.hpp quant_compilers.hpp quant_traits.hpp
set_compilers.hpp
Log Message:
rename all proto tag types, move into tag:: namespace
Index: alt_compilers.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/alt_compilers.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- alt_compilers.hpp 29 Oct 2006 06:14:41 -0000 1.10
+++ alt_compilers.hpp 1 Dec 2006 05:46:05 -0000 1.11
@@ -102,7 +102,7 @@
{
// production for alternates in sequence
template<>
- struct compiler<bitor_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::bitwise_or, xpressive::detail::seq_tag, void>
: branch_compiler<xpressive::detail::alt_branch,
xpressive::detail::alt_tag>
{
};
@@ -116,7 +116,7 @@
// production for alternates in alternate
template<>
- struct compiler<bitor_tag, xpressive::detail::alt_tag, void>
+ struct compiler<tag::bitwise_or, xpressive::detail::alt_tag, void>
: reverse_fold_compiler<xpressive::detail::alt_tag>
{
};
Index: complement_compiler.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/complement_compiler.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- complement_compiler.hpp 13 Nov 2006 15:53:45 -0000 1.9
+++ complement_compiler.hpp 1 Dec 2006 05:46:05 -0000 1.10
@@ -34,7 +34,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<typename Char, typename Not>
- struct complement<proto::terminal_tag, literal_placeholder<Char, Not>,
void>
+ struct complement<proto::tag::terminal, literal_placeholder<Char, Not>,
void>
{
template<typename Expr, typename>
struct apply
@@ -53,7 +53,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<typename Traits, int Size>
- struct complement<proto::terminal_tag, set_matcher<Traits, Size>, void>
+ struct complement<proto::tag::terminal, set_matcher<Traits, Size>, void>
{
template<typename Expr, typename>
struct apply
@@ -73,7 +73,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<>
- struct complement<proto::terminal_tag, posix_charset_placeholder, void>
+ struct complement<proto::tag::terminal, posix_charset_placeholder, void>
{
template<typename, typename>
struct apply
@@ -93,7 +93,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<typename Right>
- struct complement<proto::subscript_tag, set_initializer_type, Right>
+ struct complement<proto::tag::subscript, set_initializer_type, Right>
{
template<typename Expr, typename Visitor>
struct apply
@@ -114,12 +114,12 @@
///////////////////////////////////////////////////////////////////////////////
// for complementing a list-initialized set, as in ~(set= 'a','b','c')
template<typename Left, typename Right>
- struct complement<proto::comma_tag, Left, Right>
+ struct complement<proto::tag::comma, Left, Right>
{
// First, convert the parse tree into a set_matcher
template<typename Expr, typename Visitor>
struct apply
- : proto::meta::terminal<typename proto::compiler<proto::comma_tag,
lst_tag>
+ : proto::meta::terminal<typename proto::compiler<proto::tag::comma,
lst_tag>
::BOOST_NESTED_TEMPLATE apply<
Expr
, dont_care
@@ -179,7 +179,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<>
- struct complement<proto::terminal_tag,
assert_word_placeholder<word_boundary<true> >, void>
+ struct complement<proto::tag::terminal,
assert_word_placeholder<word_boundary<true> >, void>
{
template<typename Expr, typename Visitor>
struct apply
@@ -198,7 +198,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<>
- struct complement<proto::terminal_tag, logical_newline_placeholder, void>
+ struct complement<proto::tag::terminal, logical_newline_placeholder, void>
{
template<typename Expr, typename Visitor>
struct apply
@@ -220,7 +220,7 @@
///////////////////////////////////////////////////////////////////////////////
// complementing a complement is a no-op
template<typename Arg>
- struct complement<proto::complement_tag, Arg, void>
+ struct complement<proto::tag::complement, Arg, void>
{
template<typename Expr, typename Visitor>
struct apply
@@ -238,7 +238,7 @@
///////////////////////////////////////////////////////////////////////////////
//
template<typename Char>
- struct complement<proto::terminal_tag, range_placeholder<Char>, void>
+ struct complement<proto::tag::terminal, range_placeholder<Char>, void>
{
template<typename Expr, typename Visitor>
struct apply
@@ -286,7 +286,7 @@
{
template<>
- struct compiler<complement_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::complement, xpressive::detail::seq_tag, void>
: transform_compiler<xpressive::detail::complement_transform,
xpressive::detail::seq_tag>
{
};
Index: independent_compiler.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/independent_compiler.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- independent_compiler.hpp 29 Oct 2006 06:14:41 -0000 1.7
+++ independent_compiler.hpp 1 Dec 2006 05:46:05 -0000 1.8
@@ -17,12 +17,12 @@
namespace boost { namespace xpressive { namespace detail
{
template<bool Positive>
- struct lookahead_tag : proto::unary_tag {};
+ struct lookahead_tag : proto::tag::unary {};
template<bool Positive>
- struct lookbehind_tag : proto::unary_tag {};
+ struct lookbehind_tag : proto::tag::unary {};
- struct keeper_tag : proto::unary_tag {};
+ struct keeper_tag : proto::tag::unary {};
///////////////////////////////////////////////////////////////////////////////
// lookahead_branch
Index: marker_compiler.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/marker_compiler.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- marker_compiler.hpp 17 Apr 2006 19:36:53 -0000 1.5
+++ marker_compiler.hpp 1 Dec 2006 05:46:05 -0000 1.6
@@ -40,7 +40,7 @@
{
template<>
- struct compiler<assign_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::assign, xpressive::detail::seq_tag, void>
: xpressive::detail::assign_compiler
{
};
Index: marker_transform.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/marker_transform.hpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- marker_transform.hpp 10 Nov 2006 04:09:38 -0000 1.12
+++ marker_transform.hpp 1 Dec 2006 05:46:05 -0000 1.13
@@ -28,7 +28,7 @@
template<typename Expr>
struct is_marker<Expr, 2>
: mpl::and_<
- is_same<proto::assign_tag, typename Expr::tag_type>
+ is_same<proto::tag::assign, typename Expr::tag_type>
, is_same<basic_mark_tag, typename proto::meta::unref<typename
Expr::arg0_type>::type>
>
{};
Index: modify_compiler.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/modify_compiler.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- modify_compiler.hpp 15 Nov 2006 06:35:30 -0000 1.9
+++ modify_compiler.hpp 1 Dec 2006 05:46:05 -0000 1.10
@@ -17,7 +17,7 @@
///////////////////////////////////////////////////////////////////////////////
// regex operator tags
struct modifier_tag
- : proto::binary_tag
+ : proto::tag::binary
{
};
Index: noop_compiler.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/noop_compiler.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- noop_compiler.hpp 29 Oct 2006 06:14:41 -0000 1.6
+++ noop_compiler.hpp 1 Dec 2006 05:46:05 -0000 1.7
@@ -48,7 +48,7 @@
// production for terminals in sequence
template<>
- struct compiler<terminal_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::terminal, xpressive::detail::seq_tag, void>
: xpressive::detail::terminal_compiler
{
};
Index: productions.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/productions.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- productions.hpp 10 Nov 2006 04:09:38 -0000 1.9
+++ productions.hpp 1 Dec 2006 05:46:05 -0000 1.10
@@ -90,13 +90,13 @@
{
// production for sequences in sequence
template<>
- struct compiler<right_shift_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::right_shift, xpressive::detail::seq_tag, void>
: reverse_fold_compiler<xpressive::detail::seq_tag>
{
};
template<>
- struct compiler<subscript_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::subscript, xpressive::detail::seq_tag, void>
: xpressive::detail::subscript_compiler
{
};
Index: quant_compilers.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/quant_compilers.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- quant_compilers.hpp 29 Oct 2006 06:14:41 -0000 1.8
+++ quant_compilers.hpp 1 Dec 2006 05:46:05 -0000 1.9
@@ -115,21 +115,21 @@
// production for one or more quant
template<>
- struct compiler<unary_plus_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::unary_plus, xpressive::detail::seq_tag, void>
: xpressive::detail::repeater_compiler<true, 1, UINT_MAX-1>
{
};
// production for zero or more quant
template<>
- struct compiler<unary_star_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::unary_star, xpressive::detail::seq_tag, void>
: xpressive::detail::repeater_compiler<true, 0, UINT_MAX-1>
{
};
// production for optional
template<>
- struct compiler<logical_not_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::logical_not, xpressive::detail::seq_tag, void>
: xpressive::detail::repeater_compiler<true, 0, 1>
{
};
@@ -143,7 +143,7 @@
// production for non-greedy quantifiers
template<>
- struct compiler<unary_minus_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::unary_minus, xpressive::detail::seq_tag, void>
: xpressive::detail::min_repeater_compiler
{
};
Index: quant_traits.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/quant_traits.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- quant_traits.hpp 29 Oct 2006 06:14:41 -0000 1.7
+++ quant_traits.hpp 1 Dec 2006 05:46:05 -0000 1.8
@@ -27,7 +27,7 @@
// generic_quant_tag
template<uint_t Min, uint_t Max>
struct generic_quant_tag
- : proto::unary_tag
+ : proto::tag::unary
{
typedef mpl::integral_c<uint_t, Min> min_type;
typedef mpl::integral_c<uint_t, Max> max_type;
@@ -39,25 +39,25 @@
struct min_type : Tag::min_type {};
template<>
- struct min_type<proto::unary_plus_tag> : mpl::integral_c<uint_t, 1> {};
+ struct min_type<proto::tag::unary_plus> : mpl::integral_c<uint_t, 1> {};
template<>
- struct min_type<proto::unary_star_tag> : mpl::integral_c<uint_t, 0> {};
+ struct min_type<proto::tag::unary_star> : mpl::integral_c<uint_t, 0> {};
template<>
- struct min_type<proto::logical_not_tag> : mpl::integral_c<uint_t, 0> {};
+ struct min_type<proto::tag::logical_not> : mpl::integral_c<uint_t, 0> {};
template<typename Tag>
struct max_type : Tag::max_type {};
template<>
- struct max_type<proto::unary_plus_tag> : mpl::integral_c<uint_t,
UINT_MAX-1> {};
+ struct max_type<proto::tag::unary_plus> : mpl::integral_c<uint_t,
UINT_MAX-1> {};
template<>
- struct max_type<proto::unary_star_tag> : mpl::integral_c<uint_t,
UINT_MAX-1> {};
+ struct max_type<proto::tag::unary_star> : mpl::integral_c<uint_t,
UINT_MAX-1> {};
template<>
- struct max_type<proto::logical_not_tag> : mpl::integral_c<uint_t, 1> {};
+ struct max_type<proto::tag::logical_not> : mpl::integral_c<uint_t, 1> {};
struct use_simple_repeat_predicate
{
@@ -73,9 +73,9 @@
struct is_greedy_quant
: mpl::or_
<
- is_same<Tag, proto::unary_plus_tag>
- , is_same<Tag, proto::unary_star_tag>
- , is_same<Tag, proto::logical_not_tag>
+ is_same<Tag, proto::tag::unary_plus>
+ , is_same<Tag, proto::tag::unary_star>
+ , is_same<Tag, proto::tag::logical_not>
>
{};
Index: set_compilers.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/set_compilers.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- set_compilers.hpp 29 Oct 2006 06:14:41 -0000 1.8
+++ set_compilers.hpp 1 Dec 2006 05:46:05 -0000 1.9
@@ -116,25 +116,25 @@
///////////////////////////////////////////////////////////////////////////////
// compilers for sets such as set['a' | range('a','z')]
template<>
- struct compiler<bitor_tag, xpressive::detail::set_tag, void>
+ struct compiler<tag::bitwise_or, xpressive::detail::set_tag, void>
: reverse_fold_compiler<xpressive::detail::set_tag>
{
};
template<>
- struct compiler<terminal_tag, xpressive::detail::set_tag, void>
+ struct compiler<tag::terminal, xpressive::detail::set_tag, void>
: branch_compiler<xpressive::detail::set_branch,
xpressive::detail::seq_tag>
{
};
template<>
- struct compiler<complement_tag, xpressive::detail::set_tag, void>
+ struct compiler<tag::complement, xpressive::detail::set_tag, void>
: branch_compiler<xpressive::detail::set_branch,
xpressive::detail::seq_tag>
{
};
template<>
- struct compiler<comma_tag, xpressive::detail::set_tag, void>
+ struct compiler<tag::comma, xpressive::detail::set_tag, void>
: branch_compiler<xpressive::detail::set_branch,
xpressive::detail::seq_tag>
{
};
@@ -143,25 +143,25 @@
///////////////////////////////////////////////////////////////////////////////
// compilers for list-initialized sets such as (set='a','b','c')
template<>
- struct compiler<comma_tag, xpressive::detail::seq_tag, void>
+ struct compiler<tag::comma, xpressive::detail::seq_tag, void>
: branch_compiler<xpressive::detail::list_branch,
xpressive::detail::lst_tag>
{
};
template<>
- struct compiler<comma_tag, xpressive::detail::lst_tag, void>
+ struct compiler<tag::comma, xpressive::detail::lst_tag, void>
: fold_compiler<xpressive::detail::lst_tag>
{
};
template<>
- struct compiler<terminal_tag, xpressive::detail::lst_tag, void>
+ struct compiler<tag::terminal, xpressive::detail::lst_tag, void>
: xpressive::detail::list_terminal_compiler
{
};
template<>
- struct compiler<assign_tag, xpressive::detail::lst_tag, void>
+ struct compiler<tag::assign, xpressive::detail::lst_tag, void>
: xpressive::detail::list_assign_compiler
{
};
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs