MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / parser_get_symbols

Function parser_get_symbols

Src/Base/Parser/AMReX_Parser_Y.cpp:2084–2094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2082}
2083
2084std::set<std::string>
2085parser_get_symbols (struct amrex_parser* parser)
2086{
2087 std::set<std::string> symbols;
2088 std::set<std::string> local_symbols;
2089 parser_ast_get_symbols(parser->ast, symbols, local_symbols);
2090 for (auto const& ls : local_symbols) {
2091 symbols.erase(ls);
2092 }
2093 return symbols;
2094}
2095
2096std::map<std::string,int>
2097parser_get_user_functions (struct amrex_parser* parser)

Callers 1

symbolsMethod · 0.85

Calls 2

parser_ast_get_symbolsFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected