blob: 215ac434918b7a9cc73374d24f9ea57783b24721 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "unaryfunctionnode.h"
namespace search {
namespace expression {
class ToIntFunctionNode : public UnaryFunctionNode
{
public:
DECLARE_EXPRESSIONNODE(ToIntFunctionNode);
ToIntFunctionNode() { }
ToIntFunctionNode(ExpressionNode::UP arg) : UnaryFunctionNode(std::move(arg)) { }
private:
bool onExecute() const override;
void onPrepareResult() override;
};
}
}
|