lambda type

This commit is contained in:
Daniel Sipka 2015-05-09 11:38:41 +02:00
parent 349b986cad
commit abbe7dbc8f

View File

@ -63,8 +63,8 @@ using map = std::map<const std::string, node>;
using array = std::vector<node>;
```
`mstch::node` is a `boost::variant` that can hold a `std::string`, `int`, `double`,
`bool`, lambda expression or a `std::shared_ptr` to a `mstch::object`
`mstch::node` is a `boost::variant` that can hold a `std::string`, `int`,
`double`, `bool`, `mstch::lambda` or a `std::shared_ptr<mstch::object>`
(see below), also a map or an array recursively. Essentially it works just like
a JSON object.