#include <operators.hpp>
Public Types | |
enum | op_t { plus, minus, times, div, concat, bit_and, bit_or, bit_xor, logic_and, logic_or } |
![]() | |
using | Ptr = std::shared_ptr< ExprBase > |
Public Member Functions | |
Any | evaluate (Environment &env) const override |
ExprBinaryArithmetic (expr_ptr lhs, op_t op, expr_ptr rhs) | |
const char * | opStr () const |
![]() | |
virtual | ~ExprBase ()=default |
Public Attributes | |
expr_ptr | lhs |
enum BT::Ast::ExprBinaryArithmetic::op_t | op |
expr_ptr | rhs |
Definition at line 150 of file operators.hpp.
Enumerator | |
---|---|
plus | |
minus | |
times | |
div | |
concat | |
bit_and | |
bit_or | |
bit_xor | |
logic_and | |
logic_or |
Definition at line 152 of file operators.hpp.
|
inlineexplicit |
Definition at line 198 of file operators.hpp.
|
inlineoverridevirtual |
Implements BT::Ast::ExprBase.
Definition at line 202 of file operators.hpp.
|
inline |
Definition at line 168 of file operators.hpp.
expr_ptr BT::Ast::ExprBinaryArithmetic::lhs |
Definition at line 196 of file operators.hpp.
enum BT::Ast::ExprBinaryArithmetic::op_t BT::Ast::ExprBinaryArithmetic::op |
expr_ptr BT::Ast::ExprBinaryArithmetic::rhs |
Definition at line 196 of file operators.hpp.