Hubbub $Id$
|
#include <assert.h>
#include <string.h>
#include "treebuilder/modes.h"
#include "treebuilder/internal.h"
#include "treebuilder/treebuilder.h"
#include "utils/utils.h"
Macros | |
#define | S(s) { s, sizeof s - 1 } |
#define | S(s) (uint8_t *) s, sizeof s - 1 |
#define | S(s) (uint8_t *) s, sizeof s - 1 |
Functions | |
hubbub_error | handle_initial (hubbub_treebuilder *treebuilder, const hubbub_token *token) |
Handle token in initial insertion mode. More... | |
Variables | |
struct { | |
const char * name | |
size_t len | |
} | public_doctypes [] |
#define S | ( | s | ) | { s, sizeof s - 1 } |
#define S | ( | s | ) | (uint8_t *) s, sizeof s - 1 |
#define S | ( | s | ) | (uint8_t *) s, sizeof s - 1 |
hubbub_error handle_initial | ( | hubbub_treebuilder * | treebuilder, |
const hubbub_token * | token | ||
) |
size_t len |
const char* name |
struct { ... } public_doctypes[] |