#include <operators.hpp>
Public Types | |
enum | op_t { plus, minus, times, div, concat, bit_and, bit_or, bit_xor, logic_and, logic_or } |
Public Types inherited from BT::Ast::ExprBase | |
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 |
Public Member Functions inherited from BT::Ast::ExprBase | |
virtual | ~ExprBase ()=default |
Public Attributes | |
expr_ptr | lhs |
enum BT::Ast::ExprBinaryArithmetic::op_t | op |
expr_ptr | rhs |
Definition at line 145 of file operators.hpp.
Enumerator | |
---|---|
plus | |
minus | |
times | |
div | |
concat | |
bit_and | |
bit_or | |
bit_xor | |
logic_and | |
logic_or |
Definition at line 147 of file operators.hpp.
|
inlineexplicit |
Definition at line 193 of file operators.hpp.
|
inlineoverridevirtual |
Implements BT::Ast::ExprBase.
Definition at line 197 of file operators.hpp.
|
inline |
Definition at line 163 of file operators.hpp.
expr_ptr BT::Ast::ExprBinaryArithmetic::lhs |
Definition at line 191 of file operators.hpp.
enum BT::Ast::ExprBinaryArithmetic::op_t BT::Ast::ExprBinaryArithmetic::op |
expr_ptr BT::Ast::ExprBinaryArithmetic::rhs |
Definition at line 191 of file operators.hpp.