summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-08-09 11:07:11 +0100
committerVincent Sanders <vince@kyllikki.org>2015-08-09 11:07:11 +0100
commita9e5295d8735ff4ffe10e63f48728380edf6d7a0 (patch)
tree2ab8872a172bc11ac1a4c2b62b13170d9363bb58 /src/webidl-ast.h
parente78ea8b28064181d9081e7ff0143830c4ec37d7f (diff)
downloadnsgenbind-a9e5295d8735ff4ffe10e63f48728380edf6d7a0.tar.gz
nsgenbind-a9e5295d8735ff4ffe10e63f48728380edf6d7a0.tar.bz2
Update the interface map to contain all operation arguments
This extends the interface map (the intermediate representation) to have information on every operations arguments including overloading and optional arguments. This is important to allow automated checking of passed parameters numbers and types in future.
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r--src/webidl-ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h
index c17a54b..25ef9a0 100644
--- a/src/webidl-ast.h
+++ b/src/webidl-ast.h
@@ -28,8 +28,8 @@ enum webidl_node_type {
WEBIDL_NODE_TYPE_CONST,
WEBIDL_NODE_TYPE_SPECIAL,
- WEBIDL_NODE_TYPE_OPTIONAL_ARGUMENT,
WEBIDL_NODE_TYPE_ARGUMENT,
+ WEBIDL_NODE_TYPE_OPTIONAL,
WEBIDL_NODE_TYPE_ELLIPSIS,
WEBIDL_NODE_TYPE_TYPE,
WEBIDL_NODE_TYPE_TYPE_BASE,
@@ -40,6 +40,7 @@ enum webidl_node_type {
WEBIDL_NODE_TYPE_LITERAL_INT,
WEBIDL_NODE_TYPE_LITERAL_BOOL,
WEBIDL_NODE_TYPE_LITERAL_FLOAT,
+ WEBIDL_NODE_TYPE_LITERAL_STRING,
WEBIDL_NODE_TYPE_EXTENDED_ATTRIBUTE,