jdl::abstract_node Class Reference

#include <tree.hpp>

Inheritance diagram for jdl::abstract_node:

Inheritance graph
[legend]
Collaboration diagram for jdl::abstract_node:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 abstract_node ()
 abstract_node (abstract_node const &node)
void accept (const_visitor &v) const =0
void accept (visitor &v)=0
vector
< boost::shared_ptr
< component >
> const & 
get_children () const
vector
< boost::shared_ptr
< component > > & 
get_children ()
 ~abstract_node ()

Protected Attributes

vector
< boost::shared_ptr
< component > > 
children


Detailed Description

Definition at line 172 of file tree.hpp.


Constructor & Destructor Documentation

jdl::abstract_node::abstract_node (  )  [inline]

Definition at line 176 of file tree.hpp.

jdl::abstract_node::abstract_node ( abstract_node const &  node  )  [inline]

Definition at line 178 of file tree.hpp.

References children, and get_children().

jdl::abstract_node::~abstract_node (  ) 

Definition at line 154 of file tree.cpp.


Member Function Documentation

void jdl::abstract_node::accept ( const_visitor v  )  const [pure virtual]

Implements jdl::component.

Implemented in jdl::binary_expr_node, jdl::unary_expr_node, jdl::attribute_definition_node, jdl::conditional_expr, jdl::dot_node, jdl::bracket_node, jdl::term_node, jdl::list_node, and jdl::func_call_node.

void jdl::abstract_node::accept ( visitor v  )  [pure virtual]

Implements jdl::component.

Implemented in jdl::binary_expr_node, jdl::unary_expr_node, jdl::attribute_definition_node, jdl::conditional_expr, jdl::dot_node, jdl::bracket_node, jdl::term_node, jdl::list_node, and jdl::func_call_node.

vector<boost::shared_ptr<component> > const& jdl::abstract_node::get_children (  )  const [inline]

Definition at line 188 of file tree.hpp.

References children.

Referenced by abstract_node(), build_dependencies(), jdl::dump_visitor::visit(), jdl::base_visitor::visit_node(), and jdl::base_const_visitor::visit_node().

vector<boost::shared_ptr<component> >& jdl::abstract_node::get_children (  )  [inline]

Definition at line 190 of file tree.hpp.

References children.


Member Data Documentation

vector<boost::shared_ptr<component> > jdl::abstract_node::children [protected]

Definition at line 174 of file tree.hpp.

Referenced by abstract_node(), jdl::list_node::add_child(), jdl::term_node::add_child(), jdl::func_call_node::args(), jdl::attribute_definition_node::attribute_definition_node(), jdl::binary_expr_node::binary_expr_node(), jdl::bracket_node::bracket_node(), jdl::conditional_expr::conditional_expr(), jdl::dot_node::dot_node(), jdl::func_call_node::func_call_node(), jdl::func_call_node::func_name(), jdl::func_call_node::get_args(), get_children(), jdl::conditional_expr::get_condition(), jdl::conditional_expr::get_else(), jdl::func_call_node::get_func_name(), jdl::bracket_node::get_left(), jdl::dot_node::get_left(), jdl::binary_expr_node::get_left_operand(), jdl::attribute_definition_node::get_name(), jdl::unary_expr_node::get_operand(), jdl::bracket_node::get_right(), jdl::dot_node::get_right(), jdl::binary_expr_node::get_right_operand(), jdl::conditional_expr::get_then(), jdl::attribute_definition_node::get_value(), jdl::bracket_node::left(), jdl::dot_node::left(), jdl::binary_expr_node::left_operand(), jdl::unary_expr_node::operand(), jdl::bracket_node::right(), jdl::dot_node::right(), jdl::binary_expr_node::right_operand(), jdl::conditional_expr::set_condition(), jdl::conditional_expr::set_else(), jdl::attribute_definition_node::set_name(), jdl::conditional_expr::set_then(), jdl::attribute_definition_node::set_value(), jdl::func_call_node::to_string(), jdl::list_node::to_string(), jdl::term_node::to_string(), jdl::bracket_node::to_string(), jdl::dot_node::to_string(), jdl::conditional_expr::to_string(), jdl::attribute_definition_node::to_string(), jdl::unary_expr_node::to_string(), jdl::binary_expr_node::to_string(), and jdl::unary_expr_node::unary_expr_node().


The documentation for this class was generated from the following files:
Generated on Sun Feb 17 16:55:56 2008 for JDLParser by  doxygen 1.5.3