diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-10-24 19:36:20 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-10-24 19:36:20 +0100 |
commit | a126224b443aa279e58a6d58f316b2182086812b (patch) | |
tree | a65e3f763ef3e70cc7ca28d7d695d1bead18feb1 /src/ir.h | |
parent | c260593486213c84521b23b40759800e4a312db9 (diff) | |
download | nsgenbind-a126224b443aa279e58a6d58f316b2182086812b.tar.gz nsgenbind-a126224b443aa279e58a6d58f316b2182086812b.tar.bz2 |
Extend IR attribute entries to contain the type modifiler
Diffstat (limited to 'src/ir.h')
-rw-r--r-- | src/ir.h | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -47,14 +47,18 @@ struct ir_operation_entry { struct ir_operation_overload_entry *overloadv; }; -/** map entry for attributes on an interface */ +/** + * ir entry for attributes on an interface + */ struct ir_attribute_entry { - const char *name; /** attribute name */ + const char *name; /**< attribute name */ struct webidl_node *node; /**< AST attribute node */ - enum webidl_type base_type; /* type of attribute */ - enum webidl_type_modifier modifier; /* type modifier */ - const char *putforwards; + enum webidl_type base_type; /**< type of attribute */ + enum webidl_type_modifier type_modifier; /**< modifier for the type */ + + enum webidl_type_modifier modifier; /**< modifier for the attribute intself */ + const char *putforwards; /**< putforwards attribute */ struct genbind_node *getter; /**< getter from binding */ struct genbind_node *setter; /**< getter from binding */ @@ -66,7 +70,9 @@ struct ir_attribute_entry { */ }; -/** map entry for constants on an interface */ +/** + * map entry for constants on an interface + */ struct ir_constant_entry { const char *name; /** attribute name */ struct webidl_node *node; /**< AST constant node */ |