HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
formula_unary_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 tt {
10
13
15 formula_node(std::move(location)), rhs(std::move(rhs)) {}
16
18 rhs->post_process(context);
19 }
20
21 std::string string() const noexcept override {
22 return fmt::format("<unary_operator {}>", rhs);
23 }
24};
25
26}
Definition formula_node.hpp:19
Definition formula_post_process_context.hpp:18
Definition formula_unary_operator_node.hpp:11
void post_process(formula_post_process_context &context) override
Resolve function and method pointers.
Definition formula_unary_operator_node.hpp:17
Definition parse_location.hpp:16
T move(T... args)