GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > XLX / V9-0-0
Constituent: parser     Tag: linux-gcc
#include "XLX_p.h"
#include "EXPAT/expat.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
Include dependency graph for state.c:
Functions | |
unsigned | XLX_initState (XLX_state *state, unsigned stackLimit, void *stackSeed, XLX_pDoctype doctype, XLX_pEnter enter, XLX_pExit exit, XLX_pChar character, int verbose) |
Initialise the state of the parser. | |
void | XLX_doctype (void *data, const char *name, const char *sysId, const char *pubId, int intSubset) |
Handle a doctype declaration. | |
void | XLX_start (void *data, const char *element, const char **attribute) |
Handle a start tag. | |
void | XLX_end (void *data, const char *element) |
Handle an end tag. | |
void | XLX_character (void *data, const char *element, int len) |
Handle a character element. | |
void | XLX_printout_down (XLX_state *state, const char *element) |
Print a starting tag. | |
void | XLX_printout_up (XLX_state *state, const char *element) |
Print an ending tag. | |
void | XLX_character_noop (XLX_state *state, const char *element, int len) |
No-op character element handler. | |
void | XLX_enter_noop (XLX_state *state, const char **attribute) |
No-op enter element handler. | |
void | XLX_exit_noop (XLX_state *state) |
No-op exit element handler. | |
void | XLX_character_tag (XLX_state *state, const char *element, int len) |
Handle a character element inside a parent tag by delegating the work to the first child. |
|
Handle a character element.
|
|
No-op character element handler.
|
|
Handle a character element inside a parent tag by delegating the work to the first child. If there are valid characters in the character element then the first child of the current tag is pushed onto the stack and then XLX_character is called to handle the character parsing. After the parsing is complete the child is popped off the stack.
|
|
Handle a doctype declaration.
|
|
Handle an end tag.
|
|
No-op enter element handler.
|
|
No-op exit element handler.
|
|
Initialise the state of the parser.
|
|
Print a starting tag.
|
|
Print an ending tag.
|
|
Handle a start tag.
|