#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <cctype>
#include "TGHtml.h"
#include "TGHtmlTokens.h"
#include "strlcpy.h"
#include "snprintf.h"
Classes | |
struct | SgEsc_t |
Macros | |
#define | ESC_HASH_SIZE (sizeof(gEscSequences)/sizeof(gEscSequences[0])+7) |
#define | mxARG 200 |
Functions | |
static int | EscHash (const char *zName) |
static void | EscInit () |
static int | HtmlHash (const char *zName) |
static void | HtmlHashInit (void) |
void | HtmlTranslateEscapes (char *z) |
Translate escape sequences in the string "z". | |
static int | NextColumn (int iCol, char c) |
Compute the new column index following the given character. | |
void | ToLower (char *z) |
Convert a string to all lower-case letters. | |
Variables | |
static char | gAcMsChar [] |
static struct SgEsc_t * | gApEscHash [ESC_HASH_SIZE] |
static SHtmlTokenMap_t * | gApMap [HTML_MARKUP_HASH_SIZE] |
static struct SgEsc_t | gEscSequences [] |
static int | gIsInit = 0 |
SHtmlTokenMap_t | HtmlMarkupMap [] |
#define ESC_HASH_SIZE (sizeof(gEscSequences)/sizeof(gEscSequences[0])+7) |
Definition at line 183 of file TGHtmlParse.cxx.
#define mxARG 200 |
|
static |
Definition at line 198 of file TGHtmlParse.cxx.
|
static |
Definition at line 243 of file TGHtmlParse.cxx.
|
static |
Definition at line 411 of file TGHtmlParse.cxx.
Definition at line 463 of file TGHtmlParse.cxx.
void HtmlTranslateEscapes | ( | char * | z | ) |
Translate escape sequences in the string "z".
"z" is overwritten with the translated sequence.
Unrecognized escape sequences are unaltered.
Example:
input = "AT&T > MCI" output = "AT&T > MCI"
Definition at line 316 of file TGHtmlParse.cxx.
Compute the new column index following the given character.
Definition at line 528 of file TGHtmlParse.cxx.
void ToLower | ( | char * | z | ) |
Convert a string to all lower-case letters.
Definition at line 541 of file TGHtmlParse.cxx.
|
static |
Definition at line 269 of file TGHtmlParse.cxx.
|
static |
Definition at line 192 of file TGHtmlParse.cxx.
|
static |
Definition at line 401 of file TGHtmlParse.cxx.
|
static |
Definition at line 75 of file TGHtmlParse.cxx.
|
static |
Definition at line 393 of file TGHtmlParse.cxx.
|
extern |
Definition at line 33 of file TGHtmlTokenMap.cxx.