.TH "khtml::KHTMLParser" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
khtml::KHTMLParser \- The parser for html.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <htmlparser.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKHTMLParser\fP (\fBKHTMLView\fP *w, DOM::DocumentPtr *i)"
.br
.ti -1c
.RI "\fBKHTMLParser\fP (DOM::DocumentFragmentImpl *frag, DOM::DocumentPtr *doc)"
.br
.ti -1c
.RI "void \fBparseToken\fP (Token *_t)"
.br
.RI "\fIparses one token delivered by the tokenizer \fP"
.ti -1c
.RI "void \fBreset\fP ()"
.br
.RI "\fIresets the parser \fP"
.ti -1c
.RI "bool \fBskipMode\fP () const "
.br
.ti -1c
.RI "bool \fBnoSpaces\fP () const "
.br
.ti -1c
.RI "bool \fBpreMode\fP () const "
.br
.ti -1c
.RI "bool \fBselectMode\fP () const "
.br
.ti -1c
.RI "DOM::HTMLDocumentImpl * \fBdoc\fP () const "
.br
.ti -1c
.RI "DOM::DocumentPtr * \fBdocPtr\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "DOM::NodeImpl * \fBgetElement\fP (Token *)"
.br
.ti -1c
.RI "void \fBprocessCloseTag\fP (Token *)"
.br
.ti -1c
.RI "bool \fBinsertNode\fP (DOM::NodeImpl *n, bool flat=false)"
.br
.ti -1c
.RI "void \fBpushBlock\fP (int _id, int _level)"
.br
.ti -1c
.RI "void \fBpopBlock\fP (int _id)"
.br
.ti -1c
.RI "void \fBpopOneBlock\fP ()"
.br
.ti -1c
.RI "void \fBpopInlineBlocks\fP ()"
.br
.ti -1c
.RI "void \fBfreeBlock\fP (void)"
.br
.ti -1c
.RI "void \fBcreateHead\fP ()"
.br
.ti -1c
.RI "DOM::NodeImpl * \fBhandleIsindex\fP (Token *t)"
.br
.ti -1c
.RI "void \fBstartBody\fP ()"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBKHTMLView\fP * \fBHTMLWidget\fP"
.br
.ti -1c
.RI "DOM::DocumentPtr * \fBdocument\fP"
.br
.ti -1c
.RI "DOM::NodeImpl * \fBcurrent\fP"
.br
.ti -1c
.RI "HTMLStackElem * \fBblockStack\fP"
.br
.ti -1c
.RI "ushort * \fBforbiddenTag\fP"
.br
.ti -1c
.RI "DOM::HTMLFormElementImpl * \fBform\fP"
.br
.ti -1c
.RI "DOM::HTMLMapElementImpl * \fBmap\fP"
.br
.ti -1c
.RI "DOM::HTMLHeadElementImpl * \fBhead\fP"
.br
.ti -1c
.RI "DOM::NodeImpl * \fBisindex\fP"
.br
.ti -1c
.RI "bool \fBinBody\fP"
.br
.ti -1c
.RI "bool \fBhaveContent\fP"
.br
.ti -1c
.RI "bool \fBhaveBody\fP"
.br
.ti -1c
.RI "bool \fBhaveFrameSet\fP"
.br
.ti -1c
.RI "bool \fBm_inline\fP"
.br
.ti -1c
.RI "bool \fBend\fP"
.br
.ti -1c
.RI "bool \fBhaveKonqBlock\fP"
.br
.ti -1c
.RI "bool \fBinSelect\fP"
.br
.ti -1c
.RI "int \fBinPre\fP"
.br
.ti -1c
.RI "int \fBdiscard_until\fP"
.br
.ti -1c
.RI "bool \fBheadLoaded\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The parser for html. 

It receives a stream of tokens from the HTMLTokenizer, and builds up the Document structure form it. 
.PP
Definition at line 68 of file htmlparser.h.
.SH "Member Function Documentation"
.PP 
.SS "void KHTMLParser::parseToken (Token * _t)"
.PP
parses one token delivered by the tokenizer Definition at line 189 of file htmlparser.cpp.
.PP
References DOM::DOMString::string().
.SS "void KHTMLParser::reset ()"
.PP
resets the parser Definition at line 162 of file htmlparser.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
