Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
htmllex.h File Reference
#include <agxbuf.h>
Include dependency graph for htmllex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int initHTMLlexer (char *, agxbuf *, htmlenv_t *)
 
int htmllex (void)
 
unsigned long htmllineno (void)
 
int clearHTMLlexer (void)
 
void htmlerror (const char *)
 

Function Documentation

◆ clearHTMLlexer()

int clearHTMLlexer ( void  )
extern

Definition at line 794 of file htmllex.c.

References agxbfree(), lexstate_t::error, lexstate_t::lb, state, and lexstate_t::warn.

Referenced by parseHTML().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ htmlerror()

void htmlerror ( const char *  msg)

Definition at line 78 of file htmllex.c.

References agerrorf(), lexstate_t::error, error_context(), htmllineno(), and state.

Here is the call graph for this function:

◆ htmllex()

int htmllex ( void  )
extern

Definition at line 1062 of file htmllex.c.

References agerrorf(), agxblen(), agxbuse(), lexstate_t::currtok, lexstate_t::currtoklen, lexstate_t::error, error_context(), htmllineno(), lexstate_t::lb, len(), lexstate_t::mode, lexstate_t::prevtok, lexstate_t::prevtoklen, lexstate_t::ptr, state, T_error, lexstate_t::tok, and XML_STATUS_ERROR.

Here is the call graph for this function:

◆ htmllineno()

unsigned long htmllineno ( void  )
extern

Definition at line 921 of file htmllex.c.

References state.

Referenced by htmlerror(), and htmllex().

Here is the caller graph for this function:

◆ initHTMLlexer()

int initHTMLlexer ( char *  src,
agxbuf xb,
htmlenv_t env 
)
extern

Definition at line 764 of file htmllex.c.

References agwarningf(), charsetToStr(), lexstate_t::currtoklen, lexstate_t::error, htmlenv_t::g, GD_charset, GD_gvc, lexstate_t::inCell, lexstate_t::lb, lexstate_t::mode, lexstate_t::prevtoklen, lexstate_t::ptr, state, lexstate_t::warn, and lexstate_t::xb.

Referenced by parseHTML().

Here is the call graph for this function:
Here is the caller graph for this function: