From a126224b443aa279e58a6d58f316b2182086812b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 24 Oct 2015 19:36:20 +0100 Subject: Extend IR attribute entries to contain the type modifiler --- src/ir.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/ir.h') diff --git a/src/ir.h b/src/ir.h index 12f1e79..87c72c3 100644 --- a/src/ir.h +++ b/src/ir.h @@ -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 */ -- cgit v1.2.3