/* NOTE: This file is AUTO GENERATED by qautomaton2cpp.xsl. */
#ifndef
#define
#include <QtCore/QString>
QT_BEGIN_NAMESPACE
namespace
{
class
{
:
enum
{
};
static inline
toToken(const QString &value);
static inline
toToken(const QStringRef &value);
static
toToken(const QChar *data, int length);
static QString toString(
token);
private:
static inline
classifier
(const QChar *data);
};
inline
::
::toToken(const QString &value)
{
return toToken(value.constData(), value.length());
}
inline
::
::toToken(const QStringRef &value)
{
return toToken(value.constData(), value.length());
}
}
QT_END_NAMESPACE
#endif
#include "
"
QT_BEGIN_NAMESPACE
using namespace
;
::
::toToken(const QChar *data, int length)
{
switch(length)
{
case :
return classifier(data);
default:
return ;
}
}
QString ::toString( token)
{
const unsigned short *data = 0;
int length = 0;
switch(token)
{
case :
{
static const unsigned short staticallyStored[] =
{
};
data = staticallyStored;
length = ;
break;
}
default:
/* It's either the default token, or an undefined enum
* value. We silence a compiler warning, and return the
* empty string. */
;
}
union
{
const unsigned short *data;
const QChar *asQChar;
} converter;
converter.data = data;
return QString::fromRawData(converter.asQChar, length);
}
QT_END_NAMESPACE
::
::classifier(const QChar *data)
{
return ;
}
if (data[].unicode() == )
static const unsigned short string[] =
{
};
if(memcmp(&data[], &string, sizeof(QChar) * ) == 0)
return ;
else
if (data[
].unicode() ==
)
{
}