![]() |
chigraph
master
Systems programming language written for beginners in LLVM
|
#include "chi/JsonDeserializer.hpp"
#include "chi/Context.hpp"
#include "chi/GraphFunction.hpp"
#include "chi/GraphModule.hpp"
#include "chi/GraphStruct.hpp"
#include "chi/NodeInstance.hpp"
#include "chi/NodeType.hpp"
#include "chi/Support/Result.hpp"
Go to the source code of this file.
Namespaces | |
chi | |
The namespace where chigraph lives. | |
Functions | |
Json Serialization/Deserialization | |
Result | chi::jsonToGraphModule (Context &createInside, const nlohmann::json &input, const boost::filesystem::path &fullName, GraphModule **toFill=nullptr) |
Load a GraphModule from json. More... | |
Result | chi::createGraphFunctionDeclarationFromJson (GraphModule &createInside, const nlohmann::json &input, GraphFunction **toFill=nullptr) |
Create a forward declaration of a function in a module with an empty graph. More... | |
Result | chi::jsonToGraphFunction (GraphFunction &createInside, const nlohmann::json &input) |
Load a GraphFunction–must already exist (use createGraphFunctionDeclarationFromJson) More... | |
Result | chi::jsonToGraphStruct (GraphModule &mod, boost::string_view name, const nlohmann::json &input, GraphStruct **toFill=nullptr) |
Load a GraphStruct from json. More... | |
std::pair< std::string, std::string > | chi::parseObjectPair (const nlohmann::json &object) |
Parse something that looks like: {"hello": "there"} into {"hello", "there"}. More... | |