diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-08-17 17:41:18 +0200 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-08-17 17:41:18 +0200 |
commit | 40cd6a199d8a5f92f71c5638f4da021a779e7a5c (patch) | |
tree | e12c3c0325d361945ad83f007832f09c045c3192 /src/webidl-ast.h | |
parent | ee69169f841542c6d5d8a8c7d4b011e294d73bd8 (diff) | |
download | nsgenbind-40cd6a199d8a5f92f71c5638f4da021a779e7a5c.tar.gz nsgenbind-40cd6a199d8a5f92f71c5638f4da021a779e7a5c.tar.bz2 |
Add WebIDL parsing of dictionaries
This adds correct parsing of dictionaries into the AST. These entries
in the AST are not yet used but do not affect generation of
interfaces.
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r-- | src/webidl-ast.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h index 109159f..0872965 100644 --- a/src/webidl-ast.h +++ b/src/webidl-ast.h @@ -19,14 +19,16 @@ enum webidl_node_type { WEBIDL_NODE_TYPE_LIST, /* non structural node types */ - WEBIDL_NODE_TYPE_INTERFACE, - WEBIDL_NODE_TYPE_INTERFACE_INHERITANCE, + WEBIDL_NODE_TYPE_INTERFACE, /**< node is an interface*/ WEBIDL_NODE_TYPE_INTERFACE_IMPLEMENTS, WEBIDL_NODE_TYPE_ATTRIBUTE, WEBIDL_NODE_TYPE_OPERATION, WEBIDL_NODE_TYPE_CONST, + WEBIDL_NODE_TYPE_DICTIONARY, /**< node is a dictionary */ + + WEBIDL_NODE_TYPE_INHERITANCE, /**< node has inheritance */ WEBIDL_NODE_TYPE_SPECIAL, WEBIDL_NODE_TYPE_ARGUMENT, WEBIDL_NODE_TYPE_OPTIONAL, |