MCPcopy Create free account
hub / github.com/KDE/labplot / get_variable_symbol

Function get_variable_symbol

src/backend/gsl/Parser.cpp:216–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214// ######################################################################
215
216Symbol* get_variable_symbol(const char* symbol_name) {
217 for (auto* s : variable_symbols) {
218 if (s->name == symbol_name) {
219 DEBUG_PARSER("PARSER: SYMBOL FOUND\n");
220 return s;
221 }
222 }
223 DEBUG_PARSER("PARSER: SYMBOL NOT FOUND\n");
224 return nullptr;
225}
226
227StaticSymbol* get_static_symbol(const char* symbol_name) {
228 for (auto* s : static_symbols) {

Calls

no outgoing calls

Tested by

no test coverage detected