|
fson
1.0.2
A comment-preserving C++ library for FSON — a human-friendly superset of JSON / JSON5
|
#include <Fson.hh>
Classes | |
| struct | LoadResult |
| class | Snapshot |
Public Types | |
| enum class | StaleMode { MtimeSize , ContentHash } |
Static Public Member Functions | |
| static LoadResult | load (std::string const &filename) |
| static std::set< std::string > | dependenciesOf (std::string const &filename) |
| static Snapshot | snapshot (std::string const &filename) |
| static bool | isStale (std::string const &filename, Snapshot const &snap, StaleMode mode=StaleMode::MtimeSize) |
| static bool | save (Document const &document, std::string const &filename) |
Private Member Functions | |
| Fson ()=delete | |
|
strong |
|
privatedelete |
|
static |
References fedem::fson::Fson::LoadResult::dependencies, fedem::fson::IncludeResolver::dependencies(), fedem::fson::Fson::LoadResult::dependencySet, fedem::fson::IncludeResolver::dependencySet(), fedem::fson::Fson::LoadResult::document, fedem::fson::Fson::LoadResult::errors, fedem::fson::IncludeResolver::errors(), fedem::fson::FsonParser::parseFile(), and fedem::fson::IncludeResolver::resolve().
Here is the call graph for this function:
|
static |
References fedem::fson::IncludeResolver::dependencySet(), fedem::fson::FsonParser::parseFile(), and fedem::fson::IncludeResolver::resolve().
Here is the call graph for this function:
|
static |
References fedem::fson::Fson::Snapshot::entries.
|
static |
|
static |