lestes Namespace Reference

Switch on/off debugging output. More...


Classes

struct  convert
struct  convert< ptr< T > >
struct  convert< srp< T > >

Namespaces

namespace  backend_v2
namespace  intercode
namespace  lang
namespace  md
namespace  msg
namespace  std
namespace  ui

Typedefs

typedef signed char lc_target_int_least8
typedef lc_target_int_least8 lc_target_int_least1
typedef lc_target_int_least8 lc_target_int_least2
typedef lc_target_int_least8 lc_target_int_least3
typedef lc_target_int_least8 lc_target_int_least4
typedef lc_target_int_least8 lc_target_int_least5
typedef lc_target_int_least8 lc_target_int_least6
typedef lc_target_int_least8 lc_target_int_least7
typedef signed short lc_target_int_least16
typedef lc_target_int_least16 lc_target_int_least9
typedef lc_target_int_least16 lc_target_int_least10
typedef lc_target_int_least16 lc_target_int_least11
typedef lc_target_int_least16 lc_target_int_least12
typedef lc_target_int_least16 lc_target_int_least13
typedef lc_target_int_least16 lc_target_int_least14
typedef lc_target_int_least16 lc_target_int_least15
typedef signed int lc_target_int_least32
typedef lc_target_int_least32 lc_target_int_least17
typedef lc_target_int_least32 lc_target_int_least18
typedef lc_target_int_least32 lc_target_int_least19
typedef lc_target_int_least32 lc_target_int_least20
typedef lc_target_int_least32 lc_target_int_least21
typedef lc_target_int_least32 lc_target_int_least22
typedef lc_target_int_least32 lc_target_int_least23
typedef lc_target_int_least32 lc_target_int_least24
typedef lc_target_int_least32 lc_target_int_least25
typedef lc_target_int_least32 lc_target_int_least26
typedef lc_target_int_least32 lc_target_int_least27
typedef lc_target_int_least32 lc_target_int_least28
typedef lc_target_int_least32 lc_target_int_least29
typedef lc_target_int_least32 lc_target_int_least30
typedef lc_target_int_least32 lc_target_int_least31
typedef unsigned char lc_target_uint_least8
typedef lc_target_uint_least8 lc_target_uint_least1
typedef lc_target_uint_least8 lc_target_uint_least2
typedef lc_target_uint_least8 lc_target_uint_least3
typedef lc_target_uint_least8 lc_target_uint_least4
typedef lc_target_uint_least8 lc_target_uint_least5
typedef lc_target_uint_least8 lc_target_uint_least6
typedef lc_target_uint_least8 lc_target_uint_least7
typedef unsigned short lc_target_uint_least16
typedef lc_target_uint_least16 lc_target_uint_least9
typedef lc_target_uint_least16 lc_target_uint_least10
typedef lc_target_uint_least16 lc_target_uint_least11
typedef lc_target_uint_least16 lc_target_uint_least12
typedef lc_target_uint_least16 lc_target_uint_least13
typedef lc_target_uint_least16 lc_target_uint_least14
typedef lc_target_uint_least16 lc_target_uint_least15
typedef unsigned int lc_target_uint_least32
typedef lc_target_uint_least32 lc_target_uint_least17
typedef lc_target_uint_least32 lc_target_uint_least18
typedef lc_target_uint_least32 lc_target_uint_least19
typedef lc_target_uint_least32 lc_target_uint_least20
typedef lc_target_uint_least32 lc_target_uint_least21
typedef lc_target_uint_least32 lc_target_uint_least22
typedef lc_target_uint_least32 lc_target_uint_least23
typedef lc_target_uint_least32 lc_target_uint_least24
typedef lc_target_uint_least32 lc_target_uint_least25
typedef lc_target_uint_least32 lc_target_uint_least26
typedef lc_target_uint_least32 lc_target_uint_least27
typedef lc_target_uint_least32 lc_target_uint_least28
typedef lc_target_uint_least32 lc_target_uint_least29
typedef lc_target_uint_least32 lc_target_uint_least30
typedef lc_target_uint_least32 lc_target_uint_least31
typedef lc_target_int_least32 t_ptrdiff
typedef lc_target_uint_least32 t_size
typedef lc_target_int_least32 t_ssize
typedef signed char lc_host_int_least8
typedef lc_host_int_least8 lc_host_int_least1
typedef lc_host_int_least8 lc_host_int_least2
typedef lc_host_int_least8 lc_host_int_least3
typedef lc_host_int_least8 lc_host_int_least4
typedef lc_host_int_least8 lc_host_int_least5
typedef lc_host_int_least8 lc_host_int_least6
typedef lc_host_int_least8 lc_host_int_least7
typedef signed short lc_host_int_least16
typedef lc_host_int_least16 lc_host_int_least9
typedef lc_host_int_least16 lc_host_int_least10
typedef lc_host_int_least16 lc_host_int_least11
typedef lc_host_int_least16 lc_host_int_least12
typedef lc_host_int_least16 lc_host_int_least13
typedef lc_host_int_least16 lc_host_int_least14
typedef lc_host_int_least16 lc_host_int_least15
typedef signed int lc_host_int_least32
typedef lc_host_int_least32 lc_host_int_least17
typedef lc_host_int_least32 lc_host_int_least18
typedef lc_host_int_least32 lc_host_int_least19
typedef lc_host_int_least32 lc_host_int_least20
typedef lc_host_int_least32 lc_host_int_least21
typedef lc_host_int_least32 lc_host_int_least22
typedef lc_host_int_least32 lc_host_int_least23
typedef lc_host_int_least32 lc_host_int_least24
typedef lc_host_int_least32 lc_host_int_least25
typedef lc_host_int_least32 lc_host_int_least26
typedef lc_host_int_least32 lc_host_int_least27
typedef lc_host_int_least32 lc_host_int_least28
typedef lc_host_int_least32 lc_host_int_least29
typedef lc_host_int_least32 lc_host_int_least30
typedef lc_host_int_least32 lc_host_int_least31
typedef unsigned char lc_host_uint_least8
typedef lc_host_uint_least8 lc_host_uint_least1
typedef lc_host_uint_least8 lc_host_uint_least2
typedef lc_host_uint_least8 lc_host_uint_least3
typedef lc_host_uint_least8 lc_host_uint_least4
typedef lc_host_uint_least8 lc_host_uint_least5
typedef lc_host_uint_least8 lc_host_uint_least6
typedef lc_host_uint_least8 lc_host_uint_least7
typedef unsigned short lc_host_uint_least16
typedef lc_host_uint_least16 lc_host_uint_least9
typedef lc_host_uint_least16 lc_host_uint_least10
typedef lc_host_uint_least16 lc_host_uint_least11
typedef lc_host_uint_least16 lc_host_uint_least12
typedef lc_host_uint_least16 lc_host_uint_least13
typedef lc_host_uint_least16 lc_host_uint_least14
typedef lc_host_uint_least16 lc_host_uint_least15
typedef unsigned int lc_host_uint_least32
typedef lc_host_uint_least32 lc_host_uint_least17
typedef lc_host_uint_least32 lc_host_uint_least18
typedef lc_host_uint_least32 lc_host_uint_least19
typedef lc_host_uint_least32 lc_host_uint_least20
typedef lc_host_uint_least32 lc_host_uint_least21
typedef lc_host_uint_least32 lc_host_uint_least22
typedef lc_host_uint_least32 lc_host_uint_least23
typedef lc_host_uint_least32 lc_host_uint_least24
typedef lc_host_uint_least32 lc_host_uint_least25
typedef lc_host_uint_least32 lc_host_uint_least26
typedef lc_host_uint_least32 lc_host_uint_least27
typedef lc_host_uint_least32 lc_host_uint_least28
typedef lc_host_uint_least32 lc_host_uint_least29
typedef lc_host_uint_least32 lc_host_uint_least30
typedef lc_host_uint_least32 lc_host_uint_least31

Functions

template<typename Left, typename Right>
bool is_equal (const Left &left, const Right &right)
template<typename Left, typename Right>
bool is_equal (const ptr< Left > &left, const ptr< Right > &right)
template<typename Left, typename Right>
bool is_equal (const srp< Left > &left, const ptr< Right > &right)
template<typename Left, typename Right>
bool is_equal (const srp< Left > &left, const srp< Right > &right)
template<typename Left, typename Right>
bool is_equal (const ptr< Left > &left, const srp< Right > &right)
template<typename Left, typename Right>
bool is_less (const Left &left, const Right &right)
template<typename Left, typename Right>
bool is_less (const ptr< Left > &left, const ptr< Right > &right)
ptr< ::lestes::msg::reporterreport (::lestes::msg::reporter::instance())
template<typename T>
void gc_mark_srp (T &)
template<typename T>
void gc_mark_srp (srp< T > &x)

Variables

ptr< ::lestes::msg::reporterreport


Detailed Description

Switch on/off debugging output.

Transformation of parameter declaration to SS type.


Typedef Documentation

typedef lc_host_int_least8 lestes::lc_host_int_least1

Definition at line 44 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least10

Definition at line 54 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least11

Definition at line 55 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least12

Definition at line 56 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least13

Definition at line 57 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least14

Definition at line 58 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least15

Definition at line 59 of file host_types.hh.

typedef signed short lestes::lc_host_int_least16

Definition at line 52 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least17

Definition at line 62 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least18

Definition at line 63 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least19

Definition at line 64 of file host_types.hh.

typedef lc_host_int_least8 lestes::lc_host_int_least2

Definition at line 45 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least20

Definition at line 65 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least21

Definition at line 66 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least22

Definition at line 67 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least23

Definition at line 68 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least24

Definition at line 69 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least25

Definition at line 70 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least26

Definition at line 71 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least27

Definition at line 72 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least28

Definition at line 73 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least29

Definition at line 74 of file host_types.hh.

typedef lc_host_int_least8 lestes::lc_host_int_least3

Definition at line 46 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least30

Definition at line 75 of file host_types.hh.

typedef lc_host_int_least32 lestes::lc_host_int_least31

Definition at line 76 of file host_types.hh.

typedef signed int lestes::lc_host_int_least32

Definition at line 61 of file host_types.hh.

typedef lc_host_int_least8 lestes::lc_host_int_least4

Definition at line 47 of file host_types.hh.

typedef lc_host_int_least8 lestes::lc_host_int_least5

Definition at line 48 of file host_types.hh.

typedef lc_host_int_least8 lestes::lc_host_int_least6

Definition at line 49 of file host_types.hh.

typedef lc_host_int_least8 lestes::lc_host_int_least7

Definition at line 50 of file host_types.hh.

typedef signed char lestes::lc_host_int_least8

Definition at line 41 of file host_types.hh.

typedef lc_host_int_least16 lestes::lc_host_int_least9

Definition at line 53 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least1

Definition at line 115 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least10

Definition at line 125 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least11

Definition at line 126 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least12

Definition at line 127 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least13

Definition at line 128 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least14

Definition at line 129 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least15

Definition at line 130 of file host_types.hh.

typedef unsigned short lestes::lc_host_uint_least16

Definition at line 123 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least17

Definition at line 133 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least18

Definition at line 134 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least19

Definition at line 135 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least2

Definition at line 116 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least20

Definition at line 136 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least21

Definition at line 137 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least22

Definition at line 138 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least23

Definition at line 139 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least24

Definition at line 140 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least25

Definition at line 141 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least26

Definition at line 142 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least27

Definition at line 143 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least28

Definition at line 144 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least29

Definition at line 145 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least3

Definition at line 117 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least30

Definition at line 146 of file host_types.hh.

typedef lc_host_uint_least32 lestes::lc_host_uint_least31

Definition at line 147 of file host_types.hh.

typedef unsigned int lestes::lc_host_uint_least32

Definition at line 132 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least4

Definition at line 118 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least5

Definition at line 119 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least6

Definition at line 120 of file host_types.hh.

typedef lc_host_uint_least8 lestes::lc_host_uint_least7

Definition at line 121 of file host_types.hh.

typedef unsigned char lestes::lc_host_uint_least8

Definition at line 114 of file host_types.hh.

typedef lc_host_uint_least16 lestes::lc_host_uint_least9

Definition at line 124 of file host_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least1

Definition at line 44 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least10

Definition at line 54 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least11

Definition at line 55 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least12

Definition at line 56 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least13

Definition at line 57 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least14

Definition at line 58 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least15

Definition at line 59 of file target_types.hh.

typedef signed short lestes::lc_target_int_least16

Definition at line 52 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least17

Definition at line 62 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least18

Definition at line 63 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least19

Definition at line 64 of file target_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least2

Definition at line 45 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least20

Definition at line 65 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least21

Definition at line 66 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least22

Definition at line 67 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least23

Definition at line 68 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least24

Definition at line 69 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least25

Definition at line 70 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least26

Definition at line 71 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least27

Definition at line 72 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least28

Definition at line 73 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least29

Definition at line 74 of file target_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least3

Definition at line 46 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least30

Definition at line 75 of file target_types.hh.

typedef lc_target_int_least32 lestes::lc_target_int_least31

Definition at line 76 of file target_types.hh.

typedef signed int lestes::lc_target_int_least32

Definition at line 61 of file target_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least4

Definition at line 47 of file target_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least5

Definition at line 48 of file target_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least6

Definition at line 49 of file target_types.hh.

typedef lc_target_int_least8 lestes::lc_target_int_least7

Definition at line 50 of file target_types.hh.

typedef signed char lestes::lc_target_int_least8

Definition at line 41 of file target_types.hh.

typedef lc_target_int_least16 lestes::lc_target_int_least9

Definition at line 53 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least1

Definition at line 115 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least10

Definition at line 125 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least11

Definition at line 126 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least12

Definition at line 127 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least13

Definition at line 128 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least14

Definition at line 129 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least15

Definition at line 130 of file target_types.hh.

typedef unsigned short lestes::lc_target_uint_least16

Definition at line 123 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least17

Definition at line 133 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least18

Definition at line 134 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least19

Definition at line 135 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least2

Definition at line 116 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least20

Definition at line 136 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least21

Definition at line 137 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least22

Definition at line 138 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least23

Definition at line 139 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least24

Definition at line 140 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least25

Definition at line 141 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least26

Definition at line 142 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least27

Definition at line 143 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least28

Definition at line 144 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least29

Definition at line 145 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least3

Definition at line 117 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least30

Definition at line 146 of file target_types.hh.

typedef lc_target_uint_least32 lestes::lc_target_uint_least31

Definition at line 147 of file target_types.hh.

typedef unsigned int lestes::lc_target_uint_least32

Definition at line 132 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least4

Definition at line 118 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least5

Definition at line 119 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least6

Definition at line 120 of file target_types.hh.

typedef lc_target_uint_least8 lestes::lc_target_uint_least7

Definition at line 121 of file target_types.hh.

typedef unsigned char lestes::lc_target_uint_least8

Definition at line 114 of file target_types.hh.

typedef lc_target_uint_least16 lestes::lc_target_uint_least9

Definition at line 124 of file target_types.hh.

typedef lc_target_int_least32 lestes::t_ptrdiff

Definition at line 184 of file target_types.hh.

typedef lc_target_uint_least32 lestes::t_size

Definition at line 185 of file target_types.hh.

typedef lc_target_int_least32 lestes::t_ssize

Definition at line 186 of file target_types.hh.


Function Documentation

template<typename T>
void lestes::gc_mark_srp ( srp< T > &  x  )  [inline]

Marks the object of srp type. Used in gc_mark methods of templated collectible classes.

Parameters:
T The type of the pointee of the field.
x The field to mark.

Definition at line 99 of file pointer_helpers.hh.

00099                                    {
00100         x.gc_mark();
00101 } 

template<typename T>
void lestes::gc_mark_srp ( T &   )  [inline]

Fallback marking method, for simple types does no operation. Used in gc_mark methods of templated collectible classes.

Parameters:
T The simple type of the field.

Definition at line 89 of file pointer_helpers.hh.

Referenced by lestes::lang::cplus::lex::basic_token< Type, Location, Value >::gc_mark(), lestes::msg::argument_holder33< P0, P1, P2 >::gc_mark(), lestes::msg::argument_holder32< P0, P1, P2 >::gc_mark(), lestes::msg::argument_holder31< P0, P1, P2 >::gc_mark(), lestes::msg::argument_holder22< P0, P1 >::gc_mark(), lestes::msg::argument_holder21< P0, P1 >::gc_mark(), and lestes::msg::argument_holder11< P0 >::gc_mark().

00089                              {
00090 } 

template<typename Left, typename Right>
bool lestes::is_equal ( const ptr< Left > &  left,
const srp< Right > &  right 
) [inline]

Tests equality of two values of arbitrary ptr types.

Parameters:
Left The type of the pointee of the left operand.
Right The type of the pointee of the right operand.
left The first value to compare.
right The second value to compare.
Returns:
true If both values are null or equals returns true.

Definition at line 117 of file equality.hh.

Referenced by lestes::lang::cplus::lex::concat_test(), lestes::lang::cplus::lex::condition_stack_test(), lestes::lang::cplus::lex::condition_test(), lestes::std::file_info_test(), lestes::lang::cplus::lex::macro_argument_test(), lestes::lang::cplus::lex::macro_body_test(), lestes::lang::cplus::lex::macro_head_test(), lestes::msg::message_stencil_test(), lestes::msg::message_test(), lestes::lang::cplus::lex::pp_lex_test(), lestes::lang::cplus::lex::pp_token_test(), lestes::lang::cplus::lex::pre_lex_test(), lestes::msg::reporter_test(), lestes::std::source_location_test(), lestes::lang::cplus::lex::string_joiner_test(), lestes::lang::cplus::lex::token_sequence_test(), lestes::lang::cplus::lex::ucn_token_buffer_test(), lestes::lang::cplus::lex::ucn_token_test(), and lestes::lang::cplus::lex::unit_part_test().

00118 {
00119         // either both are null, or method call succeeded
00120         if (!left) return !right;
00121         return left->equals(right);
00122 }

template<typename Left, typename Right>
bool lestes::is_equal ( const srp< Left > &  left,
const srp< Right > &  right 
) [inline]

Tests equality of two values of arbitrary ptr types.

Parameters:
Left The type of the pointee of the left operand.
Right The type of the pointee of the right operand.
left The first value to compare.
right The second value to compare.
Returns:
true If both values are null or equals returns true.

Definition at line 101 of file equality.hh.

00102 {
00103         // either both are null, or method call succeeded
00104         if (!left) return !right;
00105         return left->equals(right);
00106 }

template<typename Left, typename Right>
bool lestes::is_equal ( const srp< Left > &  left,
const ptr< Right > &  right 
) [inline]

Tests equality of two values of arbitrary ptr types.

Parameters:
Left The type of the pointee of the left operand.
Right The type of the pointee of the right operand.
left The first value to compare.
right The second value to compare.
Returns:
true If both values are null or equals returns true.

Definition at line 85 of file equality.hh.

00086 {
00087         // either both are null, or method call succeeded
00088         if (!left) return !right;
00089         return left->equals(right);
00090 }

template<typename Left, typename Right>
bool lestes::is_equal ( const ptr< Left > &  left,
const ptr< Right > &  right 
) [inline]

Tests equality of two values of arbitrary ptr types.

Parameters:
Left The type of the pointee of the left operand.
Right The type of the pointee of the right operand.
left The first value to compare.
right The second value to compare.
Returns:
true If both values are null or equals returns true.

Definition at line 69 of file equality.hh.

00070 {
00071         // either both are null, or method call succeeded
00072         if (!left) return !right;
00073         return left->equals(right);
00074 }

template<typename Left, typename Right>
bool lestes::is_equal ( const Left &  left,
const Right &  right 
) [inline]

Tests equality of two values of arbitrary types.

Parameters:
Left The type of the left operand.
Right The type of the right operand.
left The first value to compare.
right The second value to compare.
Returns:
true If both values are is_equal.

Definition at line 55 of file equality.hh.

Referenced by lestes::lang::cplus::lex::basic_token_test(), lestes::lang::cplus::lex::pp_token::congruent(), lestes::lang::cplus::lex::macro_storage::define(), lestes::lang::cplus::lex::encoder_factory_test(), lestes::lang::cplus::lex::token_sequence::equals(), lestes::std::source_location::equals(), lestes::lang::cplus::lex::simple_location::equals(), lestes::lang::cplus::lex::pp_token::equals(), lestes::msg::message::equals(), lestes::lang::cplus::lex::macro_item::equals(), lestes::lang::cplus::lex::macro_body::equals(), lestes::lang::cplus::lex::macro_argument::equals(), lestes::lang::cplus::lex::macro::equals(), lestes::std::file_info::equals(), lestes::lang::cplus::lex::cpp_token::equals(), lestes::lang::cplus::lex::condition::equals(), lestes::lang::cplus::lex::loc::equals(), lestes::lang::cplus::lex::basic_token< Type, Location, Value >::equals(), lestes::lang::cplus::lex::macro::parse_name(), and lestes::msg::report_origin_filter::process().

00056 {
00057         return left == right;
00058 }

template<typename Left, typename Right>
bool lestes::is_less ( const ptr< Left > &  left,
const ptr< Right > &  right 
) [inline]

Tests inequality of two values of arbitrary ptr types.

Parameters:
Left The type of the pointee of the left operand.
Right The type of the pointee of the right operand.
left The first value to compare.
right The second value to compare.
Returns:
true If only left operand is null or left->less_than(right).

Definition at line 146 of file equality.hh.

00147 {
00148         // either left is null so right decides
00149         if (!left) return right;
00150         // or method call decides
00151         return left->less_than(right);
00152 }

template<typename Left, typename Right>
bool lestes::is_less ( const Left &  left,
const Right &  right 
) [inline]

Tests inequality of two values of arbitrary types.

Parameters:
Left The type of the left operand.
Right The type of the right operand.
first The first value to compare.
second The second value to compare.
Returns:
true If first < second.

Definition at line 133 of file equality.hh.

Referenced by lestes::lang::cplus::lex::token_value::less_than(), lestes::lang::cplus::lex::token_value::compare_content::operator()(), and lestes::lang::cplus::lex::token_value::compare_less::operator()().

00134 {
00135         return left < right;
00136 }

ptr< ::lestes::msg::reporter > lestes::report ( ::lestes::msg::reporter::  instance()  ) 

Referenced by lestes::std::lassert_fail(), lexer_parse(), lestes::msg::reporter_test(), and lestes::lang::cplus::syn::yyerror().


Variable Documentation

ptr< ::lestes::msg::reporter > lestes::report

Referenced by lestes::lang::cplus::lex::evaluator::check_extra_tokens(), lestes::lang::cplus::lex::preprocessor::classify_number(), lestes::lang::cplus::syn::hinter::compute_hint(), lestes::lang::cplus::syn::syntax_error::condition(), lestes::lang::cplus::sem::sa_deconstruct_spse::construct_bin_op(), lestes::lang::cplus::sem::or_builtin_operator_expression_creator::construct_bin_op_nosideeff(), lestes::lang::cplus::sem::or_builtin_operator_expression_creator::construct_bin_op_nosideeff_arith(), lestes::lang::cplus::sem::or_builtin_operator_expression_creator::construct_bin_op_nosideeff_newsp(), lestes::lang::cplus::sem::or_builtin_operator_expression_creator::construct_op_crement(), lestes::lang::cplus::sem::or_builtin_operator_expression_creator::construct_op_equal_sideeff(), lestes::lang::cplus::sem::or_builtin_operator_expression_creator::construct_un_op_nosideeff(), lestes::lang::cplus::sem::sa_deconstruct_spse::construct_unary_op_create(), lestes::lang::cplus::sem::sa_deconstruct_spse::construct_unary_op_nocreate(), lestes::lang::cplus::lex::macro_storage::define(), lestes::lang::cplus::lex::macro_storage::defined(), lestes::lang::cplus::syn::syntax_error::disa_stmt(), lestes::lang::cplus::lex::evaluator::evaluator(), lestes::lang::cplus::lex::macro::expand(), lestes::lang::cplus::lex::ucn_token_buffer::extract_bad_literal(), lestes::lang::cplus::lex::ucn_token_buffer::extract_invalid_ucn(), lestes::lang::cplus::lex::ucn_token_buffer::extract_simple_ucn(), lestes::lang::cplus::lex::ucn_token_buffer::extract_ucn_literal(), lestes::lang::cplus::syn::one_manager::find_closing(), lestes::lang::cplus::sem::or_or_functional_noviable::operator()(), lestes::lang::cplus::sem::or_or_functional_ambiguous::operator()(), lestes::lang::cplus::lex::macro_head::parse(), lestes::lang::cplus::lex::macro_body::parse(), lestes::lang::cplus::lex::macro::parse_name(), lestes::lang::cplus::lex::condition_stack::process(), lestes::lang::cplus::lex::concat::process(), lestes::lang::cplus::lex::evaluator::process_directive(), lestes::lang::cplus::sem::sa_namespace_definition::process_named(), lestes::lang::cplus::lex::string_joiner::read(), lestes::lang::cplus::lex::preprocessor::read(), lestes::lang::cplus::lex::pp_lex::read(), and lestes::lang::cplus::lex::macro_storage::undef().


Generated on Mon Feb 12 18:23:49 2007 for lestes by doxygen 1.5.1-20070107