summaryrefslogtreecommitdiff
path: root/src/nsgenbind-ast.c
Commit message (Collapse)AuthorAgeFilesLines
* annotates binding AST with source linenumber and fileVincent Sanders2015-09-281-0/+8
| | | | | Uses annotated AST to put line directives in the generated source so any code errors in the binding can be easily located.
* Improve the parser error reportingVincent Sanders2015-09-281-15/+3
| | | | | | | The parser now reports the correct file and line number for errors. Additionally the @n location structure in rules now has a filename member in addition to first_line. These members are useful for adding location information in generated source.
* Simplify genbind AST handling of preface, prologue, epilogue and postfaceVincent Sanders2015-09-261-16/+0
|
* Make the binding parser understand c typesVincent Sanders2015-09-251-31/+3
| | | | | | Instead of c types being opaque strings this makes the bindig parser understand them. This is necessary for extended attribute parsing in future but also makes the binding more easily understandable.
* When constructing the interface map ensure method type search code does not ↵Vincent Sanders2015-08-031-1/+3
| | | | strcmp null
* Add property generation and add it to prototype constructionVincent Sanders2015-07-291-0/+63
|
* Load the WebIDL files specified in the bindingVincent Sanders2015-07-221-16/+17
| | | | | | | | | | | | | This loads the WebIDL specified in the bindings into an Abstract Syntax Tree (AST) and performs the mixin operations for implements. Additionally the specs now use a slightly extended IDL syntax. Instead of wholesale implementing the second edition of the IDL spec the parser has been updated to cope with iterator and Promise keywords as those are the only changes used in the dom and html specifications. A bug was also fixed in the lexer where negative int literals were not recognised.
* chnage binding AST to put methds inside class nodesVincent Sanders2015-07-221-0/+57
|
* Change binding grammar to new approach.Vincent Sanders2015-07-211-357/+402
|
* construct topoligicaly consitant (dependancy correct) interface mapVincent Sanders2014-05-161-0/+21
| | | | use dependancy map to generate javascript prototype for all interfaces in the binding.
* move flag indicating jsapi object for an interface should be a global from ↵Vincent Sanders2014-05-161-10/+20
| | | | api definition to the interface flags
* add flags to interface within bindingVincent Sanders2014-05-161-5/+8
|
* Fix building for Win32John-Mark Bell2014-01-171-0/+22
|
* extend binding DSL with prologue and epilogue stanzasVincent Sanders2013-01-021-0/+2
|
* name and docuemnt the binding property attributeVincent Sanders2012-11-211-3/+3
|
* make property shared status and type handling selection genericVincent Sanders2012-11-211-3/+23
|
* fix unshared type generationVincent Sanders2012-11-211-26/+33
|
* implement unshared output in property specifierVincent Sanders2012-11-201-2/+31
|
* add unshared optionVincent Sanders2012-11-201-2/+6
|
* Support generation of dep filesDaniel Silverstone2012-11-041-0/+12
|
* implement the "implements" webidl directiveVincent Sanders2012-10-311-12/+6
|
* implement basic property getter functionalityVincent Sanders2012-10-291-0/+8
|
* add internal and API to binding languageVincent Sanders2012-10-291-0/+8
| | | | split out class operation, initialisation and new generation
* The name of teh tool is nsgenbind correct this everywhereVincent Sanders2012-10-231-0/+363