summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
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);