18 lines
459 B
C++
18 lines
459 B
C++
#ifndef MATHEVAL_IMPLEMENTATION
|
|
#error "Do not include ast_adapted.hpp directly!"
|
|
#endif
|
|
|
|
#pragma once
|
|
|
|
#include "ast.hpp"
|
|
|
|
#include <boost/fusion/include/adapt_struct.hpp>
|
|
|
|
BOOST_FUSION_ADAPT_STRUCT(mix_cc::matheval::ast::unary_op, op, rhs)
|
|
|
|
BOOST_FUSION_ADAPT_STRUCT(mix_cc::matheval::ast::binary_op, op, lhs, rhs)
|
|
|
|
BOOST_FUSION_ADAPT_STRUCT(mix_cc::matheval::ast::operation, op, rhs)
|
|
|
|
BOOST_FUSION_ADAPT_STRUCT(mix_cc::matheval::ast::expression, lhs, rhs)
|