parse_segment
Description:
Parses a segment this and stores the result in the given segment location.
 segment remains valid only until the this is freed. Don't modify the segment and make a copy if
       you want to modify it or store it for later use.
Parameters:
| this | The event to parse | 
| segment | a pointer to a Segment |