blob: 2d9d997bf7cda35577de8e22fd3951566b54fc2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. 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); }
};
}
|