Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
htmllex.h File Reference
#include <util/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.

Typedefs

typedef struct htmlparserstate_s htmlparserstate_t
 
typedef struct htmlscan_s htmlscan_t
 

Functions

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

Typedef Documentation

◆ htmlparserstate_t

Definition at line 22 of file htmllex.h.

◆ htmlscan_t

typedef struct htmlscan_s htmlscan_t

Definition at line 23 of file htmllex.h.

Function Documentation

◆ clearHTMLlexer()

int clearHTMLlexer ( htmlscan_t scanner)
extern

Definition at line 778 of file htmllex.c.

References agxbfree(), htmllexstate_t::error, htmllexstate_t::lb, scanner, and htmllexstate_t::warn.

Referenced by parseHTML().

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

◆ htmlerror()

void htmlerror ( htmlscan_t scanner,
const char *  msg 
)

Definition at line 58 of file htmllex.c.

References agerrorf(), htmllexstate_t::error, error_context(), htmllineno(), and scanner.

Referenced by yyparse().

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

◆ htmllex()

int htmllex ( union HTMLSTYPE htmllval,
htmlscan_t scanner 
)
extern

Definition at line 1052 of file htmllex.c.

References agerrorf(), agxblen(), agxbuse(), htmllexstate_t::currtok, strview_t::data, htmllexstate_t::error, error_context(), htmllineno(), htmllexstate_t::htmllval, htmllexstate_t::lb, len(), htmllexstate_t::mode, htmllexstate_t::prevtok, htmllexstate_t::ptr, scanner, T_error, htmllexstate_t::tok, and XML_STATUS_ERROR.

Here is the call graph for this function:

◆ htmllineno()

unsigned long htmllineno ( htmlscan_t scanner)
extern

Definition at line 907 of file htmllex.c.

References htmllineno_ctx(), and scanner.

Referenced by htmlerror(), and htmllex().

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

◆ initHTMLlexer()

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

Definition at line 745 of file htmllex.c.

References agwarningf(), charsetToStr(), htmllexstate_t::currtok, htmllexstate_t::error, htmlenv_t::g, GD_charset, GD_gvc, htmllexstate_t::gvc, htmllexstate_t::inCell, htmllexstate_t::lb, htmllexstate_t::mode, htmllexstate_t::prevtok, htmllexstate_t::ptr, scanner, htmllexstate_t::warn, and htmllexstate_t::xb.

Referenced by parseHTML().

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