diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-08-21 17:42:57 +0200 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-08-21 17:42:57 +0200 |
commit | d6f41574a18866ebfbb8b61f9afcd0a0de2d40cf (patch) | |
tree | d17a7f67bb53ac9f3ae2a8828291e478ab641f1f /src/ir.h | |
parent | 8912c51fe275a7d8debe12f84f7e86ce4a240266 (diff) | |
download | nsgenbind-d6f41574a18866ebfbb8b61f9afcd0a0de2d40cf.tar.gz nsgenbind-d6f41574a18866ebfbb8b61f9afcd0a0de2d40cf.tar.bz2 |
add dictionary members to ir
Diffstat (limited to 'src/ir.h')
-rw-r--r-- | src/ir.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -24,7 +24,9 @@ struct ir_operation_argument_entry { struct webidl_node *node; }; -/** map entry for each overload of an operation */ +/** + * map entry for each overload of an operation. + */ struct ir_operation_overload_entry { struct webidl_node *type; /**< The return type of this overload */ @@ -49,6 +51,7 @@ struct ir_operation_entry { struct ir_attribute_entry { const char *name; /** attribute name */ struct webidl_node *node; /**< AST attribute node */ + enum webidl_type_modifier modifier; struct genbind_node *getter; /**< getter from binding */ struct genbind_node *setter; /**< getter from binding */ @@ -81,8 +84,12 @@ struct ir_interface_entry { struct ir_constant_entry *constantv; }; -/** map entry for a dictionary */ +/** + * map entry for a dictionary + */ struct ir_dictionary_entry { + int memberc; /**< the number of members */ + struct ir_operation_argument_entry *memberv; }; enum ir_entry_type { |