Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QXmlStreamGrammar Class Reference

#include <qxmlstreamgrammar_p.h>

+ Inheritance diagram for QXmlStreamGrammar:
+ Collaboration diagram for QXmlStreamGrammar:

Public Types

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 Public Member Functions

static int nt_action (int state, int nt)
 
static int t_action (int state, int token)
 

Static Public Attributes

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 []
 

Detailed Description

Definition at line 23 of file qxmlstreamgrammar_p.h.

Member Enumeration Documentation

◆ VariousConstants

Enumerator
EOF_SYMBOL 
AMPERSAND 
ANY 
ATTLIST 
BANG 
CDATA 
CDATA_START 
COLON 
COMMA 
DASH 
DBLQUOTE 
DIGIT 
DOCTYPE 
DOT 
ELEMENT 
EMPTY 
ENTITIES 
ENTITY 
ENTITY_DONE 
EQ 
FIXED 
HASH 
ID 
IDREF 
IDREFS 
IMPLIED 
LANGLE 
LBRACK 
LETTER 
LPAREN 
NDATA 
NMTOKEN 
NMTOKENS 
NOTATION 
NOTOKEN 
PARSE_ENTITY 
PCDATA 
PERCENT 
PIPE 
PLUS 
PUBLIC 
QUESTIONMARK 
QUOTE 
RANGLE 
RBRACK 
REQUIRED 
RPAREN 
SEMICOLON 
SHIFT_THERE 
SLASH 
SPACE 
STAR 
SYSTEM 
UNRESOLVED_ENTITY 
VERSION 
XML 
XML_ERROR 
ACCEPT_STATE 
RULE_COUNT 
STATE_COUNT 
TERMINAL_COUNT 
NON_TERMINAL_COUNT 
GOTO_INDEX_OFFSET 
GOTO_INFO_OFFSET 
GOTO_CHECK_OFFSET 

Definition at line 26 of file qxmlstreamgrammar_p.h.

Member Function Documentation

◆ nt_action()

static int QXmlStreamGrammar::nt_action ( int state,
int nt )
inlinestatic

◆ t_action()

static int QXmlStreamGrammar::t_action ( int state,
int token )
inlinestatic

Definition at line 114 of file qxmlstreamgrammar_p.h.

References action_check, action_default, action_index, action_info, state, and token.

Member Data Documentation

◆ action_check

const short QXmlStreamGrammar::action_check
static

Definition at line 361 of file qxmlstreamgrammar_p.h.

Referenced by nt_action(), and t_action().

◆ action_default

const short QXmlStreamGrammar::action_default
static

Definition at line 78 of file qxmlstreamgrammar_p.h.

Referenced by t_action().

◆ action_index

const short QXmlStreamGrammar::action_index
static

Definition at line 136 of file qxmlstreamgrammar_p.h.

Referenced by nt_action(), and t_action().

◆ action_info

const short QXmlStreamGrammar::action_info
static

Definition at line 226 of file qxmlstreamgrammar_p.h.

Referenced by nt_action(), and t_action().

◆ goto_default

const short QXmlStreamGrammar::goto_default
static
Initial value:
= {
2, 4, 3, 49, 388, 43, 37, 52, 47, 41,
249, 53, 127, 84, 393, 81, 85, 126, 42, 46,
169, 130, 131, 146, 145, 149, 138, 136, 140, 147,
139, 159, 160, 157, 168, 167, 209, 165, 164, 166,
187, 180, 196, 200, 303, 302, 295, 321, 320, 319,
279, 277, 278, 142, 56, 141, 222, 38, 34, 148,
39, 48, 40, 248, 45, 36, 119, 112, 330, 111,
264, 252, 251, 250, 339, 326, 325, 329, 398, 399,
50, 51, 59, 0
}

Definition at line 124 of file qxmlstreamgrammar_p.h.

Referenced by nt_action().

◆ lhs

const short QXmlStreamGrammar::lhs
static
Initial value:
= {
57, 57, 59, 59, 59, 59, 59, 59, 59, 59,
67, 68, 64, 72, 72, 72, 75, 66, 66, 66,
66, 79, 78, 80, 80, 80, 80, 80, 80, 80,
81, 81, 81, 81, 81, 81, 81, 87, 83, 88,
88, 88, 88, 91, 92, 93, 93, 93, 93, 94,
94, 96, 96, 96, 97, 97, 98, 98, 99, 99,
100, 100, 89, 89, 95, 90, 101, 101, 103, 103,
103, 103, 103, 103, 103, 103, 103, 103, 104, 105,
105, 105, 105, 107, 108, 109, 109, 84, 84, 110,
110, 112, 112, 85, 85, 85, 65, 65, 76, 114,
63, 115, 116, 86, 86, 86, 117, 117, 117, 117,
117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
117, 117, 117, 117, 117, 117, 117, 117, 117, 118,
118, 119, 119, 119, 119, 119, 119, 119, 119, 122,
70, 70, 70, 70, 123, 124, 123, 124, 123, 124,
123, 124, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 125, 73, 113, 113, 113, 113,
127, 128, 127, 128, 127, 128, 127, 128, 129, 129,
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
129, 129, 129, 106, 106, 106, 106, 131, 132, 131,
132, 131, 131, 132, 132, 133, 133, 133, 133, 135,
71, 71, 71, 136, 136, 137, 62, 60, 61, 138,
121, 82, 130, 134, 120, 139, 139, 139, 139, 58,
58, 58, 58, 58, 58, 58, 58, 58, 58, 74,
69, 69, 77, 111, 102, 102, 102, 102, 102, 140
}

Definition at line 18 of file qxmlstreamgrammar_p.h.

◆ rhs

const short QXmlStreamGrammar::rhs
static
Initial value:
= {
2, 1, 4, 2, 2, 2, 2, 2, 2, 0,
1, 1, 9, 2, 4, 0, 4, 4, 6, 6,
4, 1, 3, 1, 1, 1, 2, 2, 2, 0,
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, 2, 2, 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, 1,
3, 3, 3, 3, 4, 1, 1, 2, 2, 2,
4, 2, 2, 2, 2, 2, 2, 2, 0, 1,
0, 1, 1, 1, 1, 1, 1, 1, 1, 2
}

Definition at line 48 of file qxmlstreamgrammar_p.h.

◆ spell

QT_BEGIN_NAMESPACE const char *const QXmlStreamGrammar::spell
static
Initial value:
= {
"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, 0, "CDATA", "ID", "IDREF",
"IDREFS", "ENTITIES", "NMTOKEN", "NMTOKENS", "<?xml", "version", 0
}

Definition at line 9 of file qxmlstreamgrammar_p.h.


The documentation for this class was generated from the following files: