diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-09 18:29:29 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-16 14:38:57 +0100 |
commit | 6031dd6e55216bd4d9a78c4869bb8b5e5f5aa3c3 (patch) | |
tree | 8776dc38c637434bae6ff1739ab6f6e774604c7f /src/webidl-ast.h | |
parent | 74158664a1826e5763e7c6949a915c75c8c1a23d (diff) | |
download | nsgenbind-6031dd6e55216bd4d9a78c4869bb8b5e5f5aa3c3.tar.gz nsgenbind-6031dd6e55216bd4d9a78c4869bb8b5e5f5aa3c3.tar.bz2 |
Expand implements statements in the AST after it has been built
This greatly simplifies output generation because instead of dealing
with implements on every traverse they are expanded once.
Additionaly errors in expansion are found and generate error early.
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r-- | src/webidl-ast.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h index eaa8d44..a494f4e 100644 --- a/src/webidl-ast.h +++ b/src/webidl-ast.h @@ -120,4 +120,7 @@ int webidl_ast_dump(struct webidl_node *node, int indent); /** parse web idl file */ int webidl_parsefile(char *filename, struct webidl_node **webidl_ast); +/** perform replacement of implements elements with copies of ast data */ +int webidl_intercalate_implements(struct webidl_node *node); + #endif |