blob: fd31f3bf8f22f4549a90ee04171b85a6153d5199 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "node.h"
#include "queryvisitor.h"
namespace search::query {
class TrueQueryNode : public Node {
public:
~TrueQueryNode();
void accept(QueryVisitor &visitor) override { visitor.visit(*this); }
};
class FalseQueryNode : public Node {
public:
~FalseQueryNode();
void accept(QueryVisitor &visitor) override { visitor.visit(*this); }
};
}
|