summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-08-11 14:32:54 +0100
committerVincent Sanders <vince@kyllikki.org>2015-08-11 14:32:54 +0100
commitb86883a7cce7d982c3f0d0069332dd490331e630 (patch)
treeda0bcaca426701b687fbad3aa0d4a878c66dcfe3 /src/webidl-ast.h
parentc232cf149a7aa105398d7b76b035daa346c41c99 (diff)
downloadnsgenbind-b86883a7cce7d982c3f0d0069332dd490331e630.tar.gz
nsgenbind-b86883a7cce7d982c3f0d0069332dd490331e630.tar.bz2
Extend WebIDL parsing to cope with second edition IDL static interface elements
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r--src/webidl-ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h
index 25ef9a0..5126de8 100644
--- a/src/webidl-ast.h
+++ b/src/webidl-ast.h
@@ -63,11 +63,14 @@ enum webidl_type {
WEBIDL_TYPE_VOID,
};
+/** modifiers for operations, attributes and arguments */
enum webidl_type_modifier {
WEBIDL_TYPE_MODIFIER_NONE,
WEBIDL_TYPE_MODIFIER_UNSIGNED,
WEBIDL_TYPE_MODIFIER_UNRESTRICTED,
WEBIDL_TYPE_MODIFIER_READONLY,
+ WEBIDL_TYPE_MODIFIER_STATIC, /**< operation or attribute is static */
+ WEBIDL_TYPE_MODIFIER_INHERIT, /**< attribute inherits */
};
/* the type of special node */