5 #include <hilti/base/cache.h> 6 #include <hilti/base/util.h> 25 ID get(
ID name,
bool normalize =
true) {
32 if ( ! this->
has(x) ) {
bool has(const ID &key) const
Definition: cache.h:23
void remove(const Key &key)
Definition: cache.h:72
std::string fmt(const char *fmt, const Args &... args)
Definition: util.h:80
std::string toIdentifier(const std::string &s, bool ensure_non_keyword=false)
Definition: util.cc:193
const bool & put(const ID &key, bool value)
Definition: cache.h:69