⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qxmlstream_p.h

📁 奇趣公司比较新的qt/emd版本
💻 H
📖 第 1 页 / 共 5 页
字号:
/******************************************************************************** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.**** This file is part of the QtXML module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://trolltech.com/products/qt/licenses/licensing/opensource/**** If you are unsure which license is appropriate for your use, please** review the following information:** http://trolltech.com/products/qt/licenses/licensing/licensingoverview** or contact the sales department at sales@trolltech.com.**** In addition, as a special exception, Trolltech gives you certain** additional rights. These rights are described in the Trolltech GPL** Exception version 1.0, which can be found at** http://www.trolltech.com/products/qt/gplexception/ and in the file** GPL_EXCEPTION.txt in this package.**** In addition, as a special exception, Trolltech, as the sole copyright** holder for Qt Designer, grants users of the Qt/Eclipse Integration** plug-in the right for the Qt/Eclipse Integration to link to** functionality provided by Qt Designer and its related libraries.**** Trolltech reserves all rights not expressly granted herein.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/////  W A R N I N G//  -------------//// This file is not part of the Qt API.  It exists for the convenience// of other Qt classes.  This header file may change from version to// version without notice, or even be removed.//// We mean it.//#ifndef QXMLSTREAM_P_H#define QXMLSTREAM_P_Hclass QXmlStreamReader_Table{public:  enum {    EOF_SYMBOL = 0,    AMPERSAND = 5,    ANY = 41,    ATTLIST = 31,    BANG = 25,    CDATA = 46,    CDATA_START = 28,    COLON = 17,    COMMA = 19,    DASH = 20,    DBLQUOTE = 8,    DIGIT = 27,    DOCTYPE = 29,    DOT = 23,    ELEMENT = 30,    EMPTY = 40,    ENTITIES = 50,    ENTITY = 32,    ENTITY_DONE = 45,    EQ = 14,    ERROR = 43,    FIXED = 39,    HASH = 6,    ID = 47,    IDREF = 48,    IDREFS = 49,    IMPLIED = 38,    LANGLE = 3,    LBRACK = 9,    LETTER = 26,    LPAREN = 11,    NDATA = 36,    NMTOKEN = 51,    NMTOKENS = 52,    NOTATION = 33,    NOTOKEN = 1,    PARSE_ENTITY = 44,    PCDATA = 42,    PERCENT = 15,    PIPE = 13,    PLUS = 21,    PUBLIC = 35,    QUESTIONMARK = 24,    QUOTE = 7,    RANGLE = 4,    RBRACK = 10,    REQUIRED = 37,    RPAREN = 12,    SEMICOLON = 18,    SLASH = 16,    SPACE = 2,    STAR = 22,    SYSTEM = 34,    VERSION = 54,    XML = 53,    ACCEPT_STATE = 407,    RULE_COUNT = 261,    STATE_COUNT = 418,    TERMINAL_COUNT = 55,    NON_TERMINAL_COUNT = 81,    GOTO_INDEX_OFFSET = 418,    GOTO_INFO_OFFSET = 925,    GOTO_CHECK_OFFSET = 925,  };  static const char  *const spell [];  static const int            lhs [];  static const int            rhs [];  static const int   goto_default [];  static const int action_default [];  static const int   action_index [];  static const int    action_info [];  static const int   action_check [];  inline int nt_action (int state, int nt) const  {    const int *const goto_index = &action_index [GOTO_INDEX_OFFSET];    const int *const goto_check = &action_check [GOTO_CHECK_OFFSET];    const int yyn = goto_index [state] + nt;    if (yyn < 0 || goto_check [yyn] != nt)      return goto_default [nt];    const int *const goto_info = &action_info [GOTO_INFO_OFFSET];    return goto_info [yyn];  }  inline int t_action (int state, int token) const  {    const int yyn = action_index [state] + token;    if (yyn < 0 || action_check [yyn] != token)      return - action_default [state];    return action_info [yyn];  }};const char *const QXmlStreamReader_Table::spell [] = {  "end of file", 0, " ", "<", ">", "&", "#", "\'", "\"", "[",  "]", "(", ")", "|", "=", "%", "/", ":", ";", ",",  "-", "+", "*", ".", "?", "!", "[a-zA-Z]", "[0-9]", "[CDATA[", "DOCTYPE",  "ELEMENT", "ATTLIST", "ENTITY", "NOTATION", "SYSTEM", "PUBLIC", "NDATA", "REQUIRED", "IMPLIED", "FIXED",  "EMPTY", "ANY", "PCDATA", 0, 0, 0, "CDATA", "ID", "IDREF", "IDREFS",  "ENTITIES", "NMTOKEN", "NMTOKENS", "<?xml", "version"};const int QXmlStreamReader_Table::lhs [] = {  55, 55, 57, 57, 57, 57, 57, 57, 57, 57,  65, 66, 62, 70, 70, 70, 73, 64, 64, 64,  64, 77, 76, 78, 78, 78, 78, 78, 78, 79,  79, 79, 79, 79, 79, 79, 85, 81, 86, 86,  86, 86, 89, 90, 91, 91, 91, 91, 92, 92,  94, 94, 94, 95, 95, 96, 96, 97, 97, 98,  98, 87, 87, 93, 88, 99, 99, 101, 101, 101,  101, 101, 101, 101, 101, 101, 101, 102, 103, 103,  103, 103, 105, 107, 108, 108, 82, 82, 109, 109,  110, 110, 83, 83, 83, 63, 63, 74, 112, 61,  113, 114, 84, 84, 84, 115, 115, 115, 115, 115,  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,  115, 115, 115, 115, 115, 115, 116, 116, 116, 116,  68, 68, 68, 68, 117, 118, 117, 118, 117, 118,  117, 118, 120, 120, 120, 120, 120, 120, 120, 120,  120, 120, 120, 120, 120, 120, 120, 120, 120, 120,  120, 120, 120, 120, 119, 71, 111, 111, 111, 111,  121, 122, 121, 122, 121, 122, 121, 122, 123, 123,  123, 123, 123, 123, 123, 123, 123, 123, 123, 123,  123, 123, 123, 123, 123, 123, 123, 123, 123, 123,  123, 123, 123, 104, 104, 104, 104, 126, 127, 126,  127, 126, 126, 127, 127, 128, 128, 128, 128, 130,  69, 69, 69, 131, 131, 132, 60, 58, 59, 133,  80, 125, 129, 124, 134, 134, 134, 134, 56, 56,  56, 56, 56, 56, 56, 56, 56, 56, 56, 56,  72, 67, 67, 106, 75, 100, 100, 100, 100, 100,  135};const int QXmlStreamReader_Table:: rhs[] = {  2, 1, 4, 2, 2, 2, 2, 2, 2, 0,  1, 1, 9, 2, 4, 0, 4, 6, 4, 4,  6, 1, 3, 1, 1, 1, 2, 2, 2, 1,  1, 1, 1, 1, 1, 1, 4, 4, 1, 1,  1, 1, 1, 2, 1, 1, 1, 0, 2, 2,  2, 6, 6, 1, 5, 1, 5, 3, 5, 0,  1, 6, 8, 4, 2, 1, 5, 1, 1, 1,  1, 1, 1, 1, 1, 6, 7, 1, 2, 2,  1, 4, 3, 3, 1, 2, 5, 6, 4, 6,  3, 5, 5, 3, 4, 4, 5, 2, 3, 2,  2, 4, 5, 5, 7, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  2, 2, 3, 3, 2, 2, 2, 2, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 2, 2, 3, 3,  2, 2, 2, 2, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 1, 1, 2, 2, 3, 3, 2, 2, 2,  2, 1, 1, 1, 1, 1, 1, 1, 1, 5,  0, 1, 3, 1, 3, 2, 4, 3, 5, 3,  3, 3, 3, 4, 1, 1, 2, 2, 2, 4,  2, 2, 2, 2, 2, 2, 2, 2, 2, 0,  1, 0, 1, 1, 1, 1, 1, 1, 1, 1,  2};const int QXmlStreamReader_Table::action_default [] = {  10, 250, 0, 2, 1, 0, 124, 116, 118, 119,  126, 129, 122, 11, 113, 107, 0, 108, 128, 110,  114, 112, 120, 123, 125, 106, 109, 111, 117, 115,  127, 121, 12, 243, 247, 242, 0, 130, 239, 246,  16, 241, 249, 248, 0, 245, 250, 221, 244, 0,  0, 255, 0, 236, 235, 0, 238, 237, 234, 230,  98, 254, 0, 226, 0, 0, 251, 96, 97, 100,  0, 0, 252, 0, 0, 166, 0, 163, 155, 157,  158, 132, 144, 161, 152, 146, 147, 143, 149, 153,  151, 159, 162, 142, 145, 148, 150, 156, 154, 164,  160, 140, 165, 0, 134, 138, 136, 141, 131, 139,  0, 137, 133, 135, 0, 15, 14, 253, 0, 22,  19, 252, 0, 0, 18, 0, 0, 31, 36, 30,  0, 32, 252, 0, 33, 0, 24, 0, 34, 0,  26, 35, 25, 0, 231, 40, 39, 252, 42, 48,  252, 41, 0, 43, 252, 48, 252, 0, 48, 252,  0, 0, 47, 45, 46, 50, 51, 252, 252, 0,  56, 252, 53, 252, 0, 57, 0, 54, 252, 52,  252, 0, 55, 64, 49, 0, 252, 60, 252, 0,  58, 61, 62, 0, 252, 0, 0, 59, 63, 44,  65, 0, 38, 0, 0, 252, 0, 93, 94, 0,  0, 0, 0, 252, 0, 200, 191, 193, 195, 168,  180, 198, 189, 183, 181, 184, 179, 186, 188, 196,  199, 178, 182, 185, 187, 192, 190, 194, 197, 201,  203, 202, 176, 0, 0, 232, 170, 174, 172, 0,  0, 92, 177, 167, 175, 0, 173, 169, 171, 91,  0, 95, 0, 0, 0, 0, 0, 252, 85, 252,  0, 253, 0, 86, 0, 88, 68, 73, 72, 69,  70, 71, 252, 74, 75, 0, 0, 0, 260, 259,  257, 258, 256, 66, 252, 0, 252, 0, 0, 67,  76, 252, 0, 252, 0, 0, 77, 0, 78, 0,  81, 84, 0, 0, 205, 215, 214, 0, 217, 219,  218, 216, 0, 233, 207, 211, 209, 213, 204, 212,  0, 210, 206, 208, 0, 80, 79, 0, 82, 0,  83, 87, 99, 0, 37, 0, 0, 0, 0, 90,  89, 0, 102, 23, 27, 29, 28, 0, 0, 252,  253, 0, 252, 0, 105, 104, 252, 0, 103, 101,  0, 0, 20, 252, 17, 0, 21, 0, 0, 240,  0, 252, 0, 229, 0, 222, 228, 0, 227, 224,  252, 252, 253, 223, 225, 0, 252, 0, 220, 252,  0, 252, 0, 221, 0, 0, 13, 261, 9, 5,  8, 4, 0, 7, 250, 6, 0, 3};const int QXmlStreamReader_Table::goto_default [] = {  2, 4, 3, 46, 379, 41, 35, 48, 45, 39,  240, 49, 118, 75, 384, 72, 76, 117, 40, 44,  158, 121, 122, 137, 136, 140, 129, 127, 131, 138,  130, 150, 151, 148, 160, 159, 200, 156, 155, 157,  178, 171, 188, 192, 294, 293, 286, 312, 311, 310,  270, 63, 268, 269, 133, 132, 213, 36, 33, 139,  37, 38, 110, 103, 321, 102, 255, 243, 242, 239,  241, 330, 317, 316, 320, 389, 390, 47, 43, 55,  0};const int QXmlStreamReader_Table::action_index [] = {  -28, -55, 38, 104, 870, 95, -55, -55, -55, -55,  -55, -55, -55, -55, -55, -55, 94, -55, -55, -55,  -55, -55, -55, -55, -55, -55, -55, -55, -55, -55,  -55, -55, -55, -55, -55, -55, 40, -55, -55, -55,  49, -55, -55, -55, 82, -55, -55, 80, -55, -12,  72, -55, 4, -55, -55, 90, -55, -55, -55, -55,  -55, -55, 11, -55, 47, 22, -55, -55, -55, -55,  46, 65, 80, 287, 340, -55, 80, -55, -55, -55,  -55, -55, -55, -55, -55, -55, -55, -55, -55, -55,  -55, -55, -55, -55, -55, -55, -55, -55, -55, -55,  -55, -55, -55, 244, -55, -55, -55, -55, -55, -55,  313, -55, -55, -55, 53, -55, -55, -55, 54, -55,  -55, 80, 144, 28, -55, 41, 11, -55, -55, -55,  122, -55, 55, 141, -55, 149, -55, 234, -55, 42,  -55, -55, -55, 12, -55, -55, -55, 26, -55, 105,  80, -55, 119, -55, 80, 110, 80, 23, 120, 80,  -8, 59, -55, -55, -55, -55, 62, 80, 80, 89,  -55, 80, 8, 27, 83, -55, 79, -55, 27, 6,  27, 69, -55, -55, -55, 74, 27, -5, 80, -3,  -55, -55, -55, 84, 27, -1, 5, -55, -55, -55,  -55, 21, -55, -2, 16, 27, 14, -55, -55, 658,  128, 499, 128, 80, 86, -55, -55, -55, -55, -55,  -55, -55, -55, -55, -55, -55, -55, -55, -55, -55,  -55, -55, -55, -55, -55, -55, -55, -55, -55, -55,  -55, -55, -55, 605, 29, -55, -55, -55, -55, 80,  128, -55, -55, -55, -55, 711, -55, -55, -55, -55,  32, -55, 19, 13, 17, 88, 20, 80, -55, 80,  173, 15, 35, -55, 36, -55, -55, -55, -55, -55,  -55, -55, 80, -55, -55, 37, 116, 171, -55, -55,  -55, -55, -55, -55, 27, 56, 27, 27, 151, -55,  -55, 27, 138, 27, 39, 27, -55, 446, -55, 393,  -55, -55, 100, 87, -55, -55, -55, 764, -55, -55,  -55, -55, -6, -55, -55, -55, -55, -55, -55, -55,  552, -55, -55, -55, 27, -55, -55, 81, -55, 27,  -55, -55, -55, 27, -55, 27, 27, -17, 27, -55,  -55, 27, -55, -55, -55, -55, -55, 128, 128, 27,  71, 7, 27, 10, -55, -55, 27, 9, -55, -55,  -25, 181, -55, 27, -55, 3, -55, 817, 127, -55,  -18, 27, 0, -55, 58, -26, -55, 1, -55, -55,  27, 27, -24, -55, -55, -11, 27, 48, -55, 27,  -4, 27, 128, 27, -9, 2, -55, -55, -55, -55,  -55, -55, 30, -55, -55, -55, 817, -55,  -81, -81, -81, 194, 79, -19, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, 1, -17, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, 54, -81, 58, -81, -81, -81, -81, -81,  -81, 63, -81, -11, -27, -81, 116, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -6, -81, -81, -81, -81, -81, -81,  -7, -81, -81, -81, 18, -81, -81, -81, -81, -81,  -81, 24, 103, -81, -81, -81, 19, -81, -81, -81,  22, -81, 29, -81, -81, -81, -81, 111, -81, -81,  -81, -81, -81, -81, -81, -81, -81, 16, -81, -81,  20, -81, -81, -81, 21, 27, 40, -81, 41, 42,  -81, -81, -81, -81, -81, -81, -81, 32, 37, 48,  -81, 35, -81, 36, 33, -81, 31, -81, 30, -81,  38, 34, -81, -81, -81, -81, 43, -81, 44, 45,  -81, -81, -81, -81, 39, -81, 26, -81, -81, -81,  -81, -81, -81, 14, -81, 17, -81, -81, -81, -81,  8, -49, 25, 28, 23, -81, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -33, -81, -81, -81, -81, -81, 55,  74, -81, -81, -81, -81, -23, -81, -81, -81, -81,  -81, -81, 51, -81, 62, 66, 60, 87, -81, 98,  -81, 65, -81, -81, -81, -81, -81, -81, -81, -81,  -81, -81, 71, -81, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, 15, -81, 50, 64, 49, -81,  -81, 47, 53, 57, -81, 61, -81, 80, -81, 95,  -81, -81, -81, 59, -81, -81, -81, 102, -81, -81,  -81, -81, -81, -81, -81, -81, -81, -81, -81, -81,  97, -81, -81, -81, 56, -81, -81, 46, -81, -12,  -81, -81, -81, -10, -81, 9, 13, -5, 4, -81,  -81, -8, -81, -81, -81, -81, -81, -2, 3, 81,  12, -81, -4, -81, -81, -81, 11, -81, -81, -81,  -16, 75, -81, 52, -81, -81, -81, 78, -81, -81,  -41, -1, -81, -81, -81, -38, -81, -81, -81, -81,  89, 0, 67, -81, -81, -81, 5, -43, -81, 6,  -81, 10, 7, 86, -81, -81, -81, -81, -81, -81,  -81, -81, -81, -81, 2, -81, 104, -81};const int QXmlStreamReader_Table::action_info [] = {  61, 51, 61, 396, 383, 388, 406, 376, 61, 51,  401, 365, 323, 368, 364, 405, 1, 191, 207, 180,  208, 198, 59, 51, 51, 202, 68, 173, 66, 66,  144, 51, 124, 342, 199, 183, 261, 51, 407, 341,  275, 61, 399, 51, 69, 61, 51, 245, 301, 66,  263, 305, 296, 74, 73, 309, 307, 66, 120, 370,  74, 73, 386, 119, 0, 62, 60, 0, 297, 296,  154, 65, 74, 73, 387, 168, 358, 357, 74, 73,  154, 167, 66, 71, 70, 51, 187, 186, 309, 307,  154, 203, 50, 50, 154, 51, 195, 194, 54, 53,  154, 50, 263, 345, 0, 51, 408, 16, 58, 51,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -