|
Methods defined here:
- __init__(self, **kw)
- constructor.
Keyword arguments:
deb -- begin position is d (default: 0);
fin -- end position is f (default: 0);
num -- descriptor is a copy of list l (default: []);
mot -- descriptor is string m (default: "");
val -- value is v (default:0).
- __len__(self)
- __str__(self)
- (x.__str__()<==> str(x))
- abr(self)
- Return the string without the descriptor.
- copy(self)
- Return a copy of the Segment.
- deb(self)
- Return beginning position
- fin(self)
- Return ending position
- g_deb(self, i)
- Beginning position is $1
- g_fin(self, i)
- Ending position is $1
- g_num(self, l)
- List numbers of the segment is $1
- g_val(self, v)
- Value is v
- g_word(self, m)
- Descriptor of the segment is $1
- num(self)
- Return the list of descripors' numbers
- read_str(self, st)
- Build from string st. Return True iff ok.
- val(self)
- Return the value
- word(self)
- Return the descriptor
|