ReactOS 0.4.15-dev-7918-g2a2556c
_xmlParserCtxt Struct Reference

#include <parser.h>

Collaboration diagram for _xmlParserCtxt:

Public Attributes

struct _xmlSAXHandlersax
 
voiduserData
 
xmlDocPtr myDoc
 
int wellFormed
 
int replaceEntities
 
const xmlCharversion
 
const xmlCharencoding
 
int standalone
 
int html
 
xmlParserInputPtr input
 
int inputNr
 
int inputMax
 
xmlParserInputPtrinputTab
 
xmlNodePtr node
 
int nodeNr
 
int nodeMax
 
xmlNodePtrnodeTab
 
int record_info
 
xmlParserNodeInfoSeq node_seq
 
int errNo
 
int hasExternalSubset
 
int hasPErefs
 
int external
 
int valid
 
int validate
 
xmlValidCtxt vctxt
 
xmlParserInputState instate
 
int token
 
chardirectory
 
const xmlCharname
 
int nameNr
 
int nameMax
 
const xmlChar ** nameTab
 
long nbChars
 
long checkIndex
 
int keepBlanks
 
int disableSAX
 
int inSubset
 
const xmlCharintSubName
 
xmlCharextSubURI
 
xmlCharextSubSystem
 
intspace
 
int spaceNr
 
int spaceMax
 
intspaceTab
 
int depth
 
xmlParserInputPtr entity
 
int charset
 
int nodelen
 
int nodemem
 
int pedantic
 
void_private
 
int loadsubset
 
int linenumbers
 
voidcatalogs
 
int recovery
 
int progressive
 
xmlDictPtr dict
 
const xmlChar ** atts
 
int maxatts
 
int docdict
 
const xmlCharstr_xml
 
const xmlCharstr_xmlns
 
const xmlCharstr_xml_ns
 
int sax2
 
int nsNr
 
int nsMax
 
const xmlChar ** nsTab
 
intattallocs
 
xmlStartTagpushTab
 
xmlHashTablePtr attsDefault
 
xmlHashTablePtr attsSpecial
 
int nsWellFormed
 
int options
 
int dictNames
 
int freeElemsNr
 
xmlNodePtr freeElems
 
int freeAttrsNr
 
xmlAttrPtr freeAttrs
 
xmlError lastError
 
xmlParserMode parseMode
 
unsigned long nbentities
 
unsigned long sizeentities
 
xmlParserNodeInfonodeInfo
 
int nodeInfoNr
 
int nodeInfoMax
 
xmlParserNodeInfonodeInfoTab
 
int input_id
 
unsigned long sizeentcopy
 

Detailed Description

xmlParserCtxt:

The parser context. NOTE This doesn't completely define the parser state, the (current ?) design of the parser uses recursive function calls since this allow and easy mapping from the production rules of the specification to the actual code. The drawback is that the actual function call also reflect the parser state. However most of the parsing routines takes as the only argument the parser context pointer, so migrating to a state based parser for progressive parsing shouldn't be too hard.

Definition at line 184 of file parser.h.

Member Data Documentation

◆ _private

void* _xmlParserCtxt::_private

◆ attallocs

int* _xmlParserCtxt::attallocs

Definition at line 282 of file parser.h.

Referenced by xmlCtxtGrowAttrs(), xmlFreeParserCtxt(), and xmlParseStartTag2().

◆ atts

const xmlChar* * _xmlParserCtxt::atts

◆ attsDefault

◆ attsSpecial

◆ catalogs

void* _xmlParserCtxt::catalogs

Definition at line 260 of file parser.h.

Referenced by xmlCtxtReset(), xmlFreeParserCtxt(), and xmlInitParserCtxt().

◆ charset

◆ checkIndex

long _xmlParserCtxt::checkIndex

Definition at line 235 of file parser.h.

Referenced by xmlCtxtReset(), and xmlInitParserCtxt().

◆ depth

◆ dict

◆ dictNames

◆ directory

◆ disableSAX

◆ docdict

int _xmlParserCtxt::docdict

Definition at line 266 of file parser.h.

◆ encoding

◆ entity

xmlParserInputPtr _xmlParserCtxt::entity

Definition at line 250 of file parser.h.

◆ errNo

◆ external

◆ extSubSystem

xmlChar* _xmlParserCtxt::extSubSystem

Definition at line 241 of file parser.h.

Referenced by xmlCtxtReset(), xmlFreeParserCtxt(), xmlParseDocTypeDecl(), and xmlParseDocument().

◆ extSubURI

xmlChar* _xmlParserCtxt::extSubURI

Definition at line 240 of file parser.h.

Referenced by xmlCtxtReset(), xmlFreeParserCtxt(), xmlParseDocTypeDecl(), and xmlParseDocument().

◆ freeAttrs

xmlAttrPtr _xmlParserCtxt::freeAttrs

Definition at line 296 of file parser.h.

Referenced by xmlFreeParserCtxt(), and xmlSAX2AttributeNs().

◆ freeAttrsNr

int _xmlParserCtxt::freeAttrsNr

Definition at line 295 of file parser.h.

Referenced by xmlSAX2AttributeNs().

◆ freeElems

xmlNodePtr _xmlParserCtxt::freeElems

Definition at line 294 of file parser.h.

Referenced by xmlFreeParserCtxt(), xmlSAX2StartElementNs(), and xmlSAX2TextNode().

◆ freeElemsNr

int _xmlParserCtxt::freeElemsNr

Definition at line 293 of file parser.h.

Referenced by xmlSAX2StartElementNs(), and xmlSAX2TextNode().

◆ hasExternalSubset

◆ hasPErefs

◆ html

◆ input

xmlParserInputPtr _xmlParserCtxt::input

Definition at line 199 of file parser.h.

Referenced by inputPop(), inputPush(), LIBXML_ATTR_FORMAT(), xmlByteConsumed(), xmlCtxtReset(), xmlCtxtResetPush(), xmlCurrentChar(), xmlDoRead(), xmlGROW(), xmlHaltParser(), xmlInitParserCtxt(), xmlLoadEntityContent(), xmlNextChar(), xmlParseAttributeListDecl(), xmlParseAttValue(), xmlParseAttValueInternal(), xmlParseCharData(), xmlParseCharRef(), xmlParseComment(), xmlParseCommentComplex(), xmlParseConditionalSections(), xmlParseContentInternal(), xmlParseDocument(), xmlParseElementChildrenContentDeclPriv(), xmlParseElementContentDecl(), xmlParseElementDecl(), xmlParseElementEnd(), xmlParseElementMixedContentDecl(), xmlParseElementStart(), xmlParseEncodingDecl(), xmlParseEntityDecl(), xmlParseEntityValue(), xmlParseExternalEntityPrivate(), xmlParseExternalSubset(), xmlParseExtParsedEnt(), xmlParseInternalSubset(), xmlParseName(), xmlParseNameAndCompare(), xmlParseNameComplex(), xmlParseNCName(), xmlParseNCNameComplex(), xmlParseNotationDecl(), xmlParsePEReference(), xmlParsePI(), xmlParseQNameAndCompare(), xmlParserEntityCheck(), xmlParseStartTag2(), xmlParseTextDecl(), xmlParseXMLDecl(), xmlPopInput(), xmlPushInput(), xmlReportError(), xmlSAX2Comment(), xmlSAX2EndElementNs(), xmlSAX2EntityDecl(), xmlSAX2ExternalSubset(), xmlSAX2GetColumnNumber(), xmlSAX2GetLineNumber(), xmlSAX2GetSystemId(), xmlSAX2ProcessingInstruction(), xmlSAX2ResolveEntity(), xmlSAX2StartDocument(), xmlSAX2StartElementNs(), xmlSAX2TextNode(), xmlSAX2UnparsedEntityDecl(), xmlSHRINK(), xmlSkipBlankChars(), xmlStringCurrentChar(), xmlSwitchEncoding(), and xmlSwitchToEncoding().

◆ input_id

◆ inputMax

int _xmlParserCtxt::inputMax

Definition at line 201 of file parser.h.

Referenced by inputPush(), xmlInitParserCtxt(), and xmlSAX2ExternalSubset().

◆ inputNr

◆ inputTab

◆ instate

xmlParserInputState _xmlParserCtxt::instate

Definition at line 223 of file parser.h.

Referenced by __xmlErrEncoding(), xmlCtxtReset(), xmlCurrentChar(), xmlErrAttributeDup(), xmlErrMemory(), xmlFatalErr(), xmlHaltParser(), xmlInitParserCtxt(), xmlLoadEntityContent(), xmlNextChar(), xmlParseAttribute2(), xmlParseAttributeListDecl(), xmlParseAttValueComplex(), xmlParseAttValueInternal(), xmlParseBalancedChunkMemoryInternal(), xmlParseCDSect(), xmlParseCharData(), xmlParseCharDataComplex(), xmlParseCharRef(), xmlParseComment(), xmlParseCommentComplex(), xmlParseConditionalSections(), xmlParseContent(), xmlParseContentInternal(), xmlParseDefaultDecl(), xmlParseDocTypeDecl(), xmlParseDocument(), xmlParseElement(), xmlParseElementChildrenContentDeclPriv(), xmlParseElementContentDecl(), xmlParseElementMixedContentDecl(), xmlParseElementStart(), xmlParseEndTag2(), xmlParseEntityDecl(), xmlParseEntityRef(), xmlParseEntityValue(), xmlParseExternalEntityPrivate(), xmlParseExternalSubset(), xmlParseExtParsedEnt(), xmlParseInNodeContext(), xmlParseInternalSubset(), xmlParseMarkupDecl(), xmlParseMisc(), xmlParseNameAndCompare(), xmlParseNameComplex(), xmlParseNCNameComplex(), xmlParseNmtoken(), xmlParsePEReference(), xmlParsePI(), xmlParsePubidLiteral(), xmlParseQName(), xmlParserEntityCheck(), xmlParserHandlePEReference(), xmlParseStartTag2(), xmlParseStringEntityRef(), xmlParseStringPEReference(), xmlParseSystemLiteral(), xmlParseTextDecl(), xmlParseXMLDecl(), xmlPopInput(), xmlPushInput(), xmlSAX2StartDocument(), xmlSkipBlankChars(), and xmlStringLenDecodeEntities().

◆ inSubset

◆ intSubName

const xmlChar* _xmlParserCtxt::intSubName

Definition at line 239 of file parser.h.

Referenced by xmlParseDocTypeDecl(), and xmlParseDocument().

◆ keepBlanks

int _xmlParserCtxt::keepBlanks

Definition at line 236 of file parser.h.

Referenced by xmlCtxtUseOptionsInternal(), and xmlInitParserCtxt().

◆ lastError

◆ linenumbers

◆ loadsubset

◆ maxatts

int _xmlParserCtxt::maxatts

Definition at line 265 of file parser.h.

Referenced by xmlCtxtGrowAttrs(), xmlInitParserCtxt(), and xmlParseStartTag2().

◆ myDoc

◆ name

const xmlChar* _xmlParserCtxt::name

◆ nameMax

int _xmlParserCtxt::nameMax

Definition at line 231 of file parser.h.

Referenced by nameNsPush(), namePush(), and xmlInitParserCtxt().

◆ nameNr

◆ nameTab

const xmlChar* * _xmlParserCtxt::nameTab

◆ nbChars

long _xmlParserCtxt::nbChars

Definition at line 234 of file parser.h.

◆ nbentities

◆ node

◆ node_seq

◆ nodeInfo

xmlParserNodeInfo* _xmlParserCtxt::nodeInfo

Definition at line 307 of file parser.h.

◆ nodeInfoMax

int _xmlParserCtxt::nodeInfoMax

Definition at line 309 of file parser.h.

◆ nodeInfoNr

int _xmlParserCtxt::nodeInfoNr

Definition at line 308 of file parser.h.

◆ nodeInfoTab

xmlParserNodeInfo* _xmlParserCtxt::nodeInfoTab

Definition at line 310 of file parser.h.

Referenced by xmlFreeParserCtxt().

◆ nodelen

int _xmlParserCtxt::nodelen

Definition at line 253 of file parser.h.

Referenced by xmlParseReference(), and xmlSAX2Text().

◆ nodeMax

int _xmlParserCtxt::nodeMax

Definition at line 207 of file parser.h.

Referenced by nodePush(), and xmlInitParserCtxt().

◆ nodemem

int _xmlParserCtxt::nodemem

◆ nodeNr

int _xmlParserCtxt::nodeNr

Definition at line 206 of file parser.h.

Referenced by nodePop(), nodePush(), xmlCtxtReset(), and xmlInitParserCtxt().

◆ nodeTab

xmlNodePtr* _xmlParserCtxt::nodeTab

Definition at line 208 of file parser.h.

Referenced by nodePop(), nodePush(), xmlFreeParserCtxt(), and xmlInitParserCtxt().

◆ nsMax

int _xmlParserCtxt::nsMax

Definition at line 280 of file parser.h.

Referenced by nsPush().

◆ nsNr

◆ nsTab

const xmlChar* * _xmlParserCtxt::nsTab

◆ nsWellFormed

int _xmlParserCtxt::nsWellFormed

Definition at line 286 of file parser.h.

Referenced by xmlCtxtReset(), xmlInitParserCtxt(), and xmlParseDocument().

◆ options

◆ parseMode

xmlParserMode _xmlParserCtxt::parseMode

Definition at line 302 of file parser.h.

Referenced by xmlIsStreaming(), and xmlParseReference().

◆ pedantic

◆ progressive

int _xmlParserCtxt::progressive

Definition at line 262 of file parser.h.

◆ pushTab

xmlStartTag* _xmlParserCtxt::pushTab

◆ record_info

◆ recovery

◆ replaceEntities

◆ sax

◆ sax2

int _xmlParserCtxt::sax2

◆ sizeentcopy

unsigned long _xmlParserCtxt::sizeentcopy

Definition at line 313 of file parser.h.

Referenced by xmlCtxtReset(), xmlInitParserCtxt(), and xmlParseReference().

◆ sizeentities

unsigned long _xmlParserCtxt::sizeentities

◆ space

◆ spaceMax

int _xmlParserCtxt::spaceMax

Definition at line 246 of file parser.h.

Referenced by spacePush(), and xmlInitParserCtxt().

◆ spaceNr

int _xmlParserCtxt::spaceNr

Definition at line 245 of file parser.h.

Referenced by spacePop(), spacePush(), xmlCtxtReset(), xmlInitParserCtxt(), and xmlParseElementStart().

◆ spaceTab

int* _xmlParserCtxt::spaceTab

Definition at line 247 of file parser.h.

Referenced by spacePop(), spacePush(), xmlCtxtReset(), xmlFreeParserCtxt(), and xmlInitParserCtxt().

◆ standalone

◆ str_xml

◆ str_xml_ns

◆ str_xmlns

const xmlChar* _xmlParserCtxt::str_xmlns

◆ token

int _xmlParserCtxt::token

Definition at line 224 of file parser.h.

Referenced by xmlCtxtReset(), and xmlInitParserCtxt().

◆ userData

◆ valid

◆ validate

◆ vctxt

◆ version

◆ wellFormed


The documentation for this struct was generated from the following file: