|
fson
1.0.2
A comment-preserving C++ library for FSON — a human-friendly superset of JSON / JSON5
|
#include <Object.hh>
Collaboration diagram for fedem::fson::Key:Public Types | |
| enum class | Form { Quoted , Bare } |
Public Member Functions | |
| Key (Form form, std::string name) | |
| Form | getForm () const noexcept |
| std::string const & | getName () const noexcept |
Static Public Member Functions | |
| static Key | quoted (std::string name) |
| static Key | bare (std::string name) |
| static bool | isValidName (std::string const &text) noexcept |
Private Attributes | |
| Form | form |
| std::string | name |
|
strong |
| fedem::fson::Key::Key | ( | Form | form, |
| std::string | name | ||
| ) |
References Bare, form, and isValidName().
Referenced by bare(), and quoted().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References Key(), name, and Quoted.
Referenced by fedem::fson::Object::set().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References Key(), Bare, and name.
Referenced by fedem::fson::Object::set().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticnoexcept |
References index.
Referenced by Key(), fedem::fson::Object::set(), and fedem::fson::FsonWriter::writeKey().
Here is the caller graph for this function:
|
inlinenoexcept |
References name.
Referenced by fedem::fson::Object::provenanceMap(), fedem::fson::IncludeResolver::resolveObject(), and fedem::fson::FsonWriter::writeObject().
Here is the caller graph for this function:
|
private |
Referenced by bare(), fedem::fson::Object::contains(), getName(), and quoted().