From 1746f21bc3720585d2fe877db8d69aae301ff02c Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Sun, 31 Dec 2017 02:03:08 +0100 Subject: -- Added many unit tests for the C parser. Almost complete now -- Refactored project structure to allow for more overview once we add more languages. -- Renamed a lot of types in the CParser to be more explicit. -- Made configuration injectable into the classes that need them. This allows to unit test configuration variables. -- Added 2 new config params that allows to customize what gets returned for a bool return type. -- Small changes to the logic to make it more concise. --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 041abf3..67b83b8 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,16 @@ "type": "boolean", "default": true }, + "doxdocgen.generic.boolReturnsTrueFalse": { + "description": "If this is enabled a bool return value will be split into true and false return param.", + "type": "boolean", + "default": true + }, + "doxdocgen.generic.boolPointerReturnsNull": { + "description": "If this is enabled a pointer to a bool return value will include a null return param.", + "type": "boolean", + "default": true + }, "doxdocgen.generic.briefTemplate": { "description": "The template of the brief DoxyGen line that is generated. If empty it won't get generated at all.", "type": "string", -- cgit v1.2.3