#include <tree.hpp>
Public Member Functions | |
binary_expr_node () | |
binary_expr_node (binary_expr_node const &node) | |
void | left_operand (boost::shared_ptr< component > comp) |
boost::shared_ptr < component > | get_left_operand () const |
void | right_operand (boost::shared_ptr< component > comp) |
boost::shared_ptr < component > | get_right_operand () const |
void | set_operator (string op) |
const string & | get_operator () const |
string | to_string () const |
component * | clone () const |
void | accept (const_visitor &v) const |
void | accept (visitor &v) |
Private Attributes | |
string | _op |
Definition at line 201 of file tree.hpp.
jdl::binary_expr_node::binary_expr_node | ( | ) | [inline] |
Definition at line 204 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by clone().
jdl::binary_expr_node::binary_expr_node | ( | binary_expr_node const & | node | ) | [inline] |
void jdl::binary_expr_node::left_operand | ( | boost::shared_ptr< component > | comp | ) | [inline] |
Definition at line 210 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by jdl::create().
boost::shared_ptr<component> jdl::binary_expr_node::get_left_operand | ( | ) | const [inline] |
Definition at line 212 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by jdl::dump_visitor::visit().
void jdl::binary_expr_node::right_operand | ( | boost::shared_ptr< component > | comp | ) | [inline] |
Definition at line 214 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by jdl::create().
boost::shared_ptr<component> jdl::binary_expr_node::get_right_operand | ( | ) | const [inline] |
Definition at line 216 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by jdl::dump_visitor::visit().
void jdl::binary_expr_node::set_operator | ( | string | op | ) | [inline] |
const string& jdl::binary_expr_node::get_operator | ( | ) | const [inline] |
Definition at line 220 of file tree.hpp.
References _op.
Referenced by binary_expr_node(), and jdl::dump_visitor::visit().
string binary_expr_node::to_string | ( | ) | const [virtual] |
Implements jdl::component.
Definition at line 166 of file tree.cpp.
References _op, and jdl::abstract_node::children.
component* jdl::binary_expr_node::clone | ( | ) | const [inline, virtual] |
void binary_expr_node::accept | ( | const_visitor & | v | ) | const [virtual] |
Implements jdl::abstract_node.
Definition at line 171 of file tree.cpp.
References jdl::const_visitor::visit().
void binary_expr_node::accept | ( | visitor & | v | ) | [virtual] |
Implements jdl::abstract_node.
Definition at line 175 of file tree.cpp.
References jdl::visitor::visit().
string jdl::binary_expr_node::_op [private] |
Definition at line 202 of file tree.hpp.
Referenced by binary_expr_node(), get_operator(), set_operator(), and to_string().