MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / Get

Method Get

scintilla/lexlib/PropSetSimple.cxx:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81const char *PropSetSimple::Get(const char *key) const {
82 mapss *props = static_cast<mapss *>(impl);
83 mapss::const_iterator keyPos = props->find(std::string(key));
84 if (keyPos != props->end()) {
85 return keyPos->second.c_str();
86 } else {
87 return "";
88 }
89}
90
91// There is some inconsistency between GetExpanded("foo") and Expand("$(foo)").
92// A solution is to keep a stack of variables that have been expanded, so that

Callers 2

PropertySetMethod · 0.45
ExpandAllInPlaceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected