summaryrefslogtreecommitdiff
path: root/javascript/duktape/private.h
blob: 42c2079873fe0875ec6c182dec2f28c575e71e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef DUKKY_PRIVATE_H
#define DUKKY_PRIVATE_H

struct browser_window;
struct html_content;
struct dom_node;
struct dom_element;
struct dom_document;
struct dom_html_element;
struct dom_node_character_data;
struct dom_node_text;
struct dom_node_list;
struct dom_node_comment;
struct dom_html_collection;

typedef struct {
} event_target_private_t;

typedef struct {
	event_target_private_t parent;
	struct browser_window *win;
	struct html_content *htmlc;
} window_private_t;

typedef struct {
	event_target_private_t parent;
	struct dom_node *node;
} node_private_t;

typedef struct {
	node_private_t parent;
} character_data_private_t;

typedef struct {
	character_data_private_t parent;
} text_private_t;

typedef struct {
	character_data_private_t parent;
} comment_private_t;

typedef struct {
	node_private_t parent;
} element_private_t;

typedef struct {
	element_private_t parent;
} html_element_private_t;

typedef struct {
	html_element_private_t parent;
} html_unknown_element_private_t;

typedef struct {
	node_private_t parent;
} document_private_t;

typedef struct {
	struct dom_html_collection *coll;
} html_collection_private_t;

typedef struct {
	struct dom_nodelist *nodes;
} node_list_private_t;

#endif