MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / placeholder

Function placeholder

src/core/objects/object_query.cpp:154–157  ·  view source on GitHub ↗

* Create a cheap placeholder ObjectQuery. * * During object query parsing, operands right of operators are unknown * at construction time. However, ObjectQuery does not allowed to construct * logical query instances with invalid operands. This function creates valid * placeholders which can be replaced with an invalid operand in a second step. */

Source from the content-addressed store, hash-verified

152 * placeholders which can be replaced with an invalid operand in a second step.
153 */
154OpenOrienteering::ObjectQuery placeholder()
155{
156 return { static_cast<const OpenOrienteering::Symbol*>(nullptr) };
157}
158
159} // namespace
160

Callers 2

negationMethod · 0.85
parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected