summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-09-14 00:37:09 +0100
committerVincent Sanders <vince@kyllikki.org>2012-09-14 00:37:09 +0100
commit6ccbb7e3fe88c9a6ddb232c43f71b9c8cb80a884 (patch)
tree2cc3ae4e1e57816daa1b9886e840b8f77e8b3f31 /src/webidl-ast.h
parent8b775d2a309a72729e08a0529717852605d82fe5 (diff)
downloadnsgenbind-6ccbb7e3fe88c9a6ddb232c43f71b9c8cb80a884.tar.gz
nsgenbind-6ccbb7e3fe88c9a6ddb232c43f71b9c8cb80a884.tar.bz2
fixus interface memer attributes
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r--src/webidl-ast.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h
index 9a516af..04b49a9 100644
--- a/src/webidl-ast.h
+++ b/src/webidl-ast.h
@@ -11,10 +11,11 @@
enum webidl_node_type {
WEBIDL_NODE_TYPE_ROOT = 0,
+ WEBIDL_NODE_TYPE_IDENT,
WEBIDL_NODE_TYPE_INTERFACE,
- WEBIDL_NODE_TYPE_INTERFACE_IDENT,
WEBIDL_NODE_TYPE_INTERFACE_MEMBERS,
WEBIDL_NODE_TYPE_INTERFACE_INHERITANCE,
+ WEBIDL_NODE_TYPE_ATTRIBUTE,
};
struct webidl_node {
@@ -46,7 +47,7 @@ int webidl_node_for_each_type(struct webidl_node *node,
void *ctx);
/* debug dump */
-int webidl_ast_dump(struct webidl_node *node);
+int webidl_ast_dump(struct webidl_node *node, int indent);
/** parse web idl file */
int webidl_parsefile(char *filename, struct webidl_node **webidl_ast);