Revision control
++ // Copyright (C) 2020 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
++ // Qt-Security score:critical reason:data-parser
++
++ //
++ // 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.
++ //
++
++ // This file was generated by qlalr - DO NOT EDIT!
++ #ifndef QXMLSTREAMGRAMMAR_P_H
++ #define QXMLSTREAMGRAMMAR_P_H
++
++ #include <QtCore/qglobal.h>
++
++ QT_BEGIN_NAMESPACE
++
++ class QXmlStreamGrammar
++ {
++ public:
++ enum VariousConstants {
++ EOF_SYMBOL = 0,
++ AMPERSAND = 5,
++ ANY = 41,
++ ATTLIST = 31,
++ BANG = 25,
++ CDATA = 47,
++ CDATA_START = 28,
++ COLON = 17,
++ COMMA = 19,
++ DASH = 20,
++ DBLQUOTE = 8,
++ DIGIT = 27,
++ DOCTYPE = 29,
++ DOT = 23,
++ ELEMENT = 30,
++ EMPTY = 40,
++ ENTITIES = 51,
++ ENTITY = 32,
++ ENTITY_DONE = 45,
++ EQ = 14,
++ FIXED = 39,
++ HASH = 6,
++ ID = 48,
++ IDREF = 49,
++ IDREFS = 50,
++ IMPLIED = 38,
++ LANGLE = 3,
++ LBRACK = 9,
++ LETTER = 26,
++ LPAREN = 11,
++ NDATA = 36,
++ NMTOKEN = 52,
++ NMTOKENS = 53,
++ 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,
++ SHIFT_THERE = 56,
++ SLASH = 16,
++ SPACE = 2,
++ STAR = 22,
++ SYSTEM = 34,
++ UNRESOLVED_ENTITY = 46,
++ VERSION = 55,
++ XML = 54,
++ XML_ERROR = 43,
++
++ ACCEPT_STATE = 416,
++ RULE_COUNT = 270,
++ STATE_COUNT = 427,
++ TERMINAL_COUNT = 57,
++ NON_TERMINAL_COUNT = 84,
++
++ GOTO_INDEX_OFFSET = 427,
++ GOTO_INFO_OFFSET = 1030,
++ GOTO_CHECK_OFFSET = 1030
++ };
++
++ static const char *const spell[];
++ static const short lhs[];
++ static const short rhs[];
++ static const short goto_default[];
++ static const short action_default[];
++ static const short action_index[];
++ static const short action_info[];
++ static const short action_check[];
++
++ static inline int nt_action (int state, int nt)
++ {
++ const int yyn = action_index [GOTO_INDEX_OFFSET + state] + nt;
++ if (yyn < 0 || action_check [GOTO_CHECK_OFFSET + yyn] != nt)
++ return goto_default [nt];
++
++ return action_info [GOTO_INFO_OFFSET + yyn];
++ }
++
++ static inline int t_action (int state, int token)
++ {
++ const int yyn = action_index [state] + token;
++
++ if (yyn < 0 || action_check [yyn] != token)
++ return - action_default [state];
++
++ return action_info [yyn];
++ }
++ };
++
++
++ QT_END_NAMESPACE
++ #endif // QXMLSTREAMGRAMMAR_P_H
++