HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
formula_binary_operator_node.hpp
1// Copyright Take Vos 2020.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "formula_node.hpp"
8
9namespace hi::inline v1 {
10
14
16 formula_node(std::move(location)), lhs(std::move(lhs)), rhs(std::move(rhs))
17 {
18 }
19
21 {
22 lhs->post_process(context);
23 rhs->post_process(context);
24 }
25
26 std::string string() const noexcept override
27 {
28 return std::format("<binary_operator {}, {}>", *lhs, *rhs);
29 }
30};
31
32} // namespace hi::inline v1
Definition formula_binary_operator_node.hpp:11
void post_process(formula_post_process_context &context) override
Resolve function and method pointers.
Definition formula_binary_operator_node.hpp:20
Definition formula_node.hpp:19
Definition formula_post_process_context.hpp:19
Definition parse_location.hpp:17
T move(T... args)