Lolly 1.4.28
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
lolly_tree.hpp File Reference
#include "array.hpp"
#include "basic.hpp"
#include "list.hpp"
#include "string.hpp"
Include dependency graph for lolly_tree.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lolly::data::lolly_tree< T >
 
class  lolly::data::lolly_tree_rep< T >
 

Namespaces

namespace  lolly
 
namespace  lolly::data
 

Macros

#define CHECK_COMPOUND(t)    TM_DEBUG (ASSERT (t->op != 0, "an compound tree use 0 as operator"))
 

Functions

template<typename T >
int lolly::data::N (lolly_tree< T > t)
 
template<typename T >
int lolly::data::arity (lolly_tree< T > t)
 
template<typename T >
array< lolly_tree< T > > lolly::data::A (lolly_tree< T > t)
 
template<typename T >
array< lolly_tree< T > > & lolly::data::AR (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::is_atomic (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::is_compound (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::is_generic (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::operator== (lolly_tree< T > t, int lab)
 
template<typename T >
bool lolly::data::operator!= (lolly_tree< T > t, int lab)
 
template<typename T >
bool lolly::data::operator== (lolly_tree< T > t, string s)
 
template<typename T >
bool lolly::data::operator!= (lolly_tree< T > t, string s)
 
template<typename T >
bool lolly::data::operator== (lolly_tree< T > t, const char *s)
 
template<typename T >
bool lolly::data::operator!= (lolly_tree< T > t, const char *s)
 
template<typename T >
bool lolly::data::operator== (lolly_tree< T > t, lolly_tree< T > u)
 
template<typename T >
bool lolly::data::operator!= (lolly_tree< T > t, lolly_tree< T > u)
 
template<typename T >
bool lolly::data::strong_equal (lolly_tree< T > t, lolly_tree< T > u)
 
template<typename T >
bool lolly::data::is_func (lolly_tree< T > t, int l)
 
template<typename T >
bool lolly::data::is_func (lolly_tree< T > t, int l, int i)
 
template<typename T >
bool lolly::data::is_bool (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::is_int (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::is_double (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::is_string (lolly_tree< T > t)
 
template<typename T >
bool lolly::data::as_bool (lolly_tree< T > t)
 
template<typename T >
int lolly::data::as_int (lolly_tree< T > t)
 
template<typename T >
long int lolly::data::as_long_int (lolly_tree< T > t)
 
template<typename T >
double lolly::data::as_double (lolly_tree< T > t)
 
template<typename T >
string lolly::data::to_string (lolly_tree< T > t)
 
template<typename T >
lolly_tree< T > lolly::data::copy (lolly_tree< T > t)
 
template<typename T >
lolly_tree< T > lolly::data::operator* (lolly_tree< T > t1, lolly_tree< T > t2)
 
template<typename T >
lolly_tree< T > & lolly::data::operator<< (lolly_tree< T > &t, lolly_tree< T > t2)
 
template<typename T >
lolly_tree< T > & lolly::data::operator<< (lolly_tree< T > &t, array< lolly_tree< T > > a)
 
template<typename T >
tm_ostreamlolly::data::operator<< (tm_ostream &out, lolly_tree< T > t)
 

Macro Definition Documentation

◆ CHECK_COMPOUND

#define CHECK_COMPOUND ( t)     TM_DEBUG (ASSERT (t->op != 0, "an compound tree use 0 as operator"))

Definition at line 19 of file lolly_tree.hpp.

19#define CHECK_COMPOUND(t) \
20 TM_DEBUG (ASSERT (t->op != 0, "an compound tree use 0 as operator"))