MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / str

Method str

src/sys/expressionparser.cxx:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 return expr->generate(new_context);
121 }
122 std::string str() const override {
123 auto result = "["s;
124 for (auto const& var : variables) {
125 result += var.first + "="s + var.second->str() + ","s;
126 }
127 result += "]("s + expr->str() + ")"s;
128 return result;
129 }
130
131private:
132 variable_list variables; ///< A list of context variables to modify

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected