6437 const signed char Init = 0;
6438 const signed char Elem = 1;
6439 const signed char Ws1 = 2;
6440 const signed char Nam = 3;
6441 const signed char Ws2 = 4;
6442 const signed char Empty = 5;
6443 const signed char Any = 6;
6444 const signed char Cont = 7;
6445 const signed char Mix = 8;
6446 const signed char Mix2 = 9;
6447 const signed char Mix3 = 10;
6448 const signed char MixN1 = 11;
6449 const signed char MixN2 = 12;
6450 const signed char MixN3 = 13;
6451 const signed char MixN4 = 14;
6452 const signed char Cp = 15;
6453 const signed char Cp2 = 16;
6454 const signed char WsD = 17;
6455 const signed char Done = 18;
6457 const signed char InpWs = 0;
6458 const signed char InpGt = 1;
6459 const signed char InpPipe = 2;
6460 const signed char InpOp = 3;
6461 const signed char InpCp = 4;
6462 const signed char InpHash = 5;
6463 const signed char InpQm = 6;
6464 const signed char InpAst = 7;
6465 const signed char InpPlus = 8;
6466 const signed char InpA = 9;
6467 const signed char InpE = 10;
6468 const signed char InpL = 11;
6469 const signed char InpUnknown = 12;
6471 static const signed char table[18][13] = {
6473 { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, Elem, -1 },
6474 { Ws1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
6475 { -1, -1, -1, -1, -1, -1, -1, -1, -1, Nam, Nam, Nam, Nam },
6476 { Ws2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
6477 { -1, -1, -1, Cont, -1, -1, -1, -1, -1, Any, Empty, -1, -1 },
6478 { WsD,
Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
6479 { WsD,
Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
6480 { -1, -1, -1, Cp, Cp, Mix, -1, -1, -1, Cp, Cp, Cp, Cp },
6481 { Mix2, -1, MixN1, -1, Mix3, -1, -1, -1, -1, -1, -1, -1, -1 },
6482 { -1, -1, MixN1, -1, Mix3, -1, -1, -1, -1, -1, -1, -1, -1 },
6483 { WsD,
Done, -1, -1, -1, -1, -1, WsD, -1, -1, -1, -1, -1 },
6484 { -1, -1, -1, -1, -1, -1, -1, -1, -1, MixN2, MixN2, MixN2, MixN2 },
6485 { MixN3, -1, MixN1, -1, MixN4, -1, -1, -1, -1, -1, -1, -1, -1 },
6486 { -1, -1, MixN1, -1, MixN4, -1, -1, -1, -1, -1, -1, -1, -1 },
6487 { -1, -1, -1, -1, -1, -1, -1, WsD, -1, -1, -1, -1, -1 },
6488 { WsD,
Done, -1, -1, -1, -1, Cp2, Cp2, Cp2, -1, -1, -1, -1 },
6489 { WsD,
Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
6490 { -1,
Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }
6499 #if defined(QT_QXML_DEBUG) 6500 qDebug(
"QXmlSimpleReader: parseElementDecl (cont) in state %d", state);
6506 #if defined(QT_QXML_DEBUG) 6507 qDebug(
"QXmlSimpleReader: eat_ws (cont)");
6510 if (!(this->*
function)()) {
6557 state = table[state][input];
QStack< ParseState > * parseStack
#define XMLERR_UNEXPECTEDCHARACTER
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
void unexpectedEof(ParseFunction where, int state)
void parseFailed(ParseFunction where, int state)
Q_CORE_EXPORT void qDebug(const char *,...)
static bool is_S(QChar ch)
void reportParseError(const QString &error)
bool(QXmlSimpleReaderPrivate::* ParseFunction)()
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.