};
template <typename T1, typename T2>
- class series2
+ class seq2
{
};
template <typename T1, typename T2, typename T3>
- class series3
+ class seq3
{
};
template <typename T1, typename T2, typename T3, typename T4>
- class series4
+ class seq4
{
};
template <typename T1, typename T2, typename T3, typename T4, typename T5>
- class series5
+ class seq5
{
};
template <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
- class series6
+ class seq6
{
};
template <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
- class series7
+ class seq7
{
};
class _reqws
{
};
+ class _nrqws
+ {
+ };
+
+ class reqws
+ {
+ };
+ class nrqws
+ {
+ };
+ class optws
+ {
+ };
}
///////////////////////////////////////
class comment
{
};
+ class optcomm
+ {
+ };
+ class nothing : public seq3<nrqws, optcomm, nrqws> {};
+
class text
{
};
{
};
+ template <typename T>
+ class nothing_ : public seq2<nothing, T>{};
/*class header
{
};*/
typedef lexical::structure_base<
- series7<lesser, question, _string_xml, _reqws, attrs, question, greater>
+ seq7<lesser, question, _string_xml, _reqws, attrs, question, greater>
> header, xmldecl;
}
////////////////////////////////////////////////////
typedef lexical::structure_base<
- ::roast::lexical::structure::series2<
- structure::header,
- structure::body>
+ ::roast::lexical::structure::seq3<
+ structure::nothing_<structure::header>,
+ structure::nothing_<structure::body>,
+ structure::nothing
+ >
> _structure;
}
}