CWB
|
The "structure list" data type is used for 'adding' regions (-a). More...
Data Fields | |
int | start |
start of region More... | |
int | end |
end of region More... | |
char * | annot |
annotated string More... | |
struct _SL * | prev |
struct _SL * | next |
The "structure list" data type is used for 'adding' regions (-a).
TODO SL is a really bad name; should be "RegionList".
In this case, all existing regions are read into an ordered, bidirectional list; new regions are inserted into that list (overlaps are automatically resolved in favour of the 'earlier' region; if start point is identical, the longer region is retained). Only once the entire input has been read is the data actually encoded and stored on disk.
char* annot |
annotated string
Referenced by main(), sencode_check_set(), SL_delete(), and SL_insert_after_point().
int end |
end of region
Referenced by main(), sencode_write_region(), SL_insert(), SL_insert_after_point(), and SL_seek().
struct _SL* next |
Referenced by SL_delete(), SL_insert(), SL_insert_after_point(), SL_next(), and SL_seek().
struct _SL* prev |
Referenced by SL_delete(), SL_insert_after_point(), and SL_seek().
int start |
start of region
Referenced by main(), SL_insert(), SL_insert_after_point(), and SL_seek().