MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / findPath

Function findPath

cp-profiler/src/cpprofiler/name_map.cpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101static const string findPath(const SymbolTable &st, const string &ident)
102{
103 auto it = st.find(ident);
104 if (it != st.end())
105 {
106 return it->second.path;
107 }
108 return empty_string;
109}
110
111static string extractExpression(const vector<string> &model,
112 const Location &loc)

Callers 1

addIdExpressionToMapMethod · 0.85

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected