Commit Graph
23 Commits
Author SHA1 Message Date
Samuel Lewekeandpantor 1cb6b15cca Add exists() function that checks existence of key (#38)
* Add exists() function that checks existence of key

Adds an exists() function that checks whether a given key exists in the
data. If only one argument is provided to exists(), the global data is
queried for the item. If two arguments are given, the first argument
specifies the object to query for the key given as second argument.

Also adds corresponding unit tests and updates README for
documentation.

* Split exists() into exists() and existsIn()

Splits the exists() function, which previously took both one or two
arguments, into an exists() function accepting one and an existsIn()
function accepting two arguments.
2018-04-02 15:54:00 +02:00
pantor 73a40cf1b1 fix mac os x callback without parent bug 2018-03-20 16:36:11 +01:00
pantor 776af96b0b Use callbacks without parameters either with or without parenthesis 2018-03-19 10:46:49 +01:00
pantor 98506f355a add meson build for testing 2018-03-07 15:24:58 +01:00
pantor 7e32e8bcfe use central throw function 2018-02-24 14:50:38 +01:00
pantor 6153720155 add utility to create regex of functions 2018-02-17 11:59:59 +01:00
pantor 158348ff3e temp fix some unit test for mvsc 2017-12-02 15:48:25 +01:00
pantor d81d828bfb temp fix some unit test for mvsc 2017-12-02 14:46:50 +01:00
pantor 722e6b3a52 temp fix some unit test for mvsc 2017-12-02 12:33:14 +01:00
pantor ded361c2a2 fix gcc bugs 2017-12-02 11:29:11 +01:00
pantor ad220f369f try to fix parser bug, 5 2017-12-02 10:31:40 +01:00
pantor a3d570b7c4 match multiple regexes with types 2017-12-01 16:21:18 +01:00
pantor 570f9fd961 fix read json bug 2 2017-11-24 07:51:10 +01:00
pantor 2c96b3bdf5 templates, split parser and renderer, c++ class parser 2017-11-21 21:19:52 +01:00
Jorrit Wronski ffcc0229ee Include json headers with rpefix 2017-11-15 23:10:12 +01:00
pantor dd65af4457 crop image, more enum classes 2017-08-20 13:15:57 +02:00
pantor f2ac74fc5a add functions, new tests, code cleaning 2017-08-20 00:09:55 +02:00
pantor c06da24f4d code cleaning 2017-08-18 15:38:32 +02:00
pantor e03bb14b17 better code quality, fix travis error 2017-08-15 15:15:06 +02:00
pantor 0e3d6ba4d4 add line statements, new tests, c++11 in cmake 2017-08-15 15:02:44 +02:00
pantor ebe6c5f671 fix travis, more tests 2017-08-15 09:44:39 +02:00
pantor df8764f70b type enum, clode cleaning, readme tables 2017-08-14 15:16:01 +02:00
pantor c41da0b8b0 splitted tests, more unit tests 2017-08-14 11:30:26 +02:00