summaryrefslogtreecommitdiff
path: root/src/webidl-ast.c
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-11-27 12:18:40 +0000
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-11-27 12:18:40 +0000
commitb29ff13b599730bf3eaec8f142e584f23e78c1fb (patch)
tree5689c409360e1a95afe2856ae7925455e00e57fc /src/webidl-ast.c
parent6f54ba5f6a2008191c2bb3435f8015ae70bcf156 (diff)
downloadnsgenbind-b29ff13b599730bf3eaec8f142e584f23e78c1fb.tar.gz
nsgenbind-b29ff13b599730bf3eaec8f142e584f23e78c1fb.tar.bz2
add type suffix annotations to webidl AST
Diffstat (limited to 'src/webidl-ast.c')
-rw-r--r--src/webidl-ast.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webidl-ast.c b/src/webidl-ast.c
index ba9d44f..7957f02 100644
--- a/src/webidl-ast.c
+++ b/src/webidl-ast.c
@@ -317,6 +317,12 @@ static const char *webidl_node_type_to_str(enum webidl_node_type type)
case WEBIDL_NODE_TYPE_TYPE_BASE:
return "Base";
+ case WEBIDL_NODE_TYPE_TYPE_NULLABLE:
+ return "Nullable";
+
+ case WEBIDL_NODE_TYPE_TYPE_ARRAY:
+ return "Array";
+
case WEBIDL_NODE_TYPE_MODIFIER:
return "Modifier";