blob: 86505e385742db676241623c58c97467b47eabec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "multiargfunctionnode.h"
namespace search {
namespace expression {
class BinaryFunctionNode : public MultiArgFunctionNode
{
public:
DECLARE_ABSTRACT_EXPRESSIONNODE(BinaryFunctionNode);
BinaryFunctionNode() { }
BinaryFunctionNode(ExpressionNode::UP arg1, ExpressionNode::UP arg2) :
MultiArgFunctionNode()
{
appendArg(std::move(arg1));
appendArg(std::move(arg2));
}
};
}
}
|