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