summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/ir.h b/src/ir.h
index cf431f6..1092fab 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -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 {