diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-09-26 23:20:38 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-09-26 23:20:38 +0100 |
commit | 017eb2ef4da167466c05ad83eb0714129a2e46ff (patch) | |
tree | e64da1b284e709c5904219c28ed3be6f35d77fa8 /src/nsgenbind-ast.h | |
parent | 53acb5a29b8eb4fe89dd2e8bc3b808d5e7183b81 (diff) | |
download | nsgenbind-017eb2ef4da167466c05ad83eb0714129a2e46ff.tar.gz nsgenbind-017eb2ef4da167466c05ad83eb0714129a2e46ff.tar.bz2 |
Simplify genbind AST handling of preface, prologue, epilogue and postface
Diffstat (limited to 'src/nsgenbind-ast.h')
-rw-r--r-- | src/nsgenbind-ast.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/nsgenbind-ast.h b/src/nsgenbind-ast.h index 282544e..b130db2 100644 --- a/src/nsgenbind-ast.h +++ b/src/nsgenbind-ast.h @@ -17,12 +17,8 @@ enum genbind_node_type { GENBIND_NODE_TYPE_CDATA, /**< verbatim block of character data */ GENBIND_NODE_TYPE_STRING, /**< text string */ - GENBIND_NODE_TYPE_BINDING, + GENBIND_NODE_TYPE_BINDING, /**< Binding */ GENBIND_NODE_TYPE_WEBIDL, - GENBIND_NODE_TYPE_PREFACE, - GENBIND_NODE_TYPE_PROLOGUE, - GENBIND_NODE_TYPE_EPILOGUE, - GENBIND_NODE_TYPE_POSTFACE, GENBIND_NODE_TYPE_CLASS, /**< class definition */ GENBIND_NODE_TYPE_PRIVATE, @@ -45,12 +41,16 @@ enum genbind_type_modifier { /* binding method types */ enum genbind_method_type { - GENBIND_METHOD_TYPE_INIT = 0, /**< binding method is initialiser */ - GENBIND_METHOD_TYPE_FINI, /**< binding method is finalizer */ - GENBIND_METHOD_TYPE_METHOD, /**< binding method is a method */ - GENBIND_METHOD_TYPE_GETTER, /**< binding method is a getter */ - GENBIND_METHOD_TYPE_SETTER, /**< binding method is a setter */ - GENBIND_METHOD_TYPE_PROTOTYPE, /**< binding method is a prototype */ + GENBIND_METHOD_TYPE_INIT = 0, /**< method is initialiser */ + GENBIND_METHOD_TYPE_FINI, /**< method is finalizer */ + GENBIND_METHOD_TYPE_METHOD, /**< method is a method */ + GENBIND_METHOD_TYPE_GETTER, /**< method is a getter */ + GENBIND_METHOD_TYPE_SETTER, /**< method is a setter */ + GENBIND_METHOD_TYPE_PROTOTYPE, /**< method is a prototype */ + GENBIND_METHOD_TYPE_PREFACE, /**< method is a preface */ + GENBIND_METHOD_TYPE_PROLOGUE, /**< method is a prologue */ + GENBIND_METHOD_TYPE_EPILOGUE, /**< method is a epilogue */ + GENBIND_METHOD_TYPE_POSTFACE, /**< method is a postface */ }; struct genbind_node; |