From a9e5295d8735ff4ffe10e63f48728380edf6d7a0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 9 Aug 2015 11:07:11 +0100 Subject: 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. --- src/webidl-ast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/webidl-ast.h') 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, -- cgit v1.2.3