#include <range.h>
Definition at line 15 of file range.h.
Definition at line 35 of file range.h.
static free_list< Range * > vFreeList
Definition at line 26 of file range.cc.
34 append_overlapping (head, tail, r1);
39 append_overlapping (head, tail, r2);
43 for (; r1; r1 = r1->nx)
45 append_overlapping (head, tail, r1);
47 for (; r2; r2 = r2->nx)
49 append_overlapping (head, tail, r2);
uint32_t re2c::Range::lower |
( |
| ) |
const |
|
inline |
Range* re2c::Range::next |
( |
| ) |
const |
|
inline |
static Range* re2c::Range::ran |
( |
uint32_t |
l, |
|
|
uint32_t |
u |
|
) |
| |
|
inlinestatic |
Definition at line 31 of file range.h.
33 return new Range (NULL, l, u);
Definition at line 61 of file range.cc.
64 Range ** ptail = &head;
67 if (!r2 || r2->lb >= r1->ub)
69 append (ptail, r1->lb, r1->ub);
72 else if (r2->ub <= r1->lb)
80 append (ptail, r1->lb, r2->lb);
82 while (r2 && r2->ub < r1->ub)
84 const uint32_t lb = r2->ub;
86 const uint32_t ub = r2 && r2->lb < r1->ub
89 append (ptail, lb, ub);
static Range* re2c::Range::sym |
( |
uint32_t |
c | ) |
|
|
inlinestatic |
Definition at line 27 of file range.h.
29 return new Range (NULL, c, c + 1);
uint32_t re2c::Range::upper |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: