{
using namespace ::roast::lexical;
using namespace ::roast::lexical::structure;
+
+ //////////////////////////////////////////////////
+
+ template <typename T>
+ class ws_ : public seq3<nrqws, T, nrqws>{};
+
+ //////////////////////////////////////////////////
class greater
{
}
};
- class _string_xml
+ class str_xml
{
public:
template <typename T>
};
/////////////////////////////////////////////////////
-
- class element
+
+ class comment
{
};
- class attr
+ class optcomm
{
};
- typedef lexical::structure::repeat<attr> attrs;
+ class nothing : public seq3<nrqws, optcomm, nrqws> {};
- class comment
+ template <typename T>
+ class nothing_ : public seq2<nothing, T>{};
+
+
+ class element
{
};
- class optcomm
+
+ class attr
{
};
- class nothing : public seq3<nrqws, optcomm, nrqws> {};
+ //typedef ws_<lexical::structure::repeat<attr> > attrs;
+ typedef seq3<reqws, lexical::structure::repeat<attr>, nrqws> attrs;
+
class text
{
{
};
- template <typename T>
- class nothing_ : public seq2<nothing, T>{};
-
/*class header
{
};*/
typedef lexical::structure_base<
- seq7<lesser, question, _string_xml, _reqws, attrs, question, greater>
+ seq6<lesser, question, str_xml, attrs, question, greater>
> header, xmldecl;
}