[−][src]Function patoz::source::source_token_parser
pub fn source_token_parser(
i: &[u8]
) -> IResult<&[u8], Record, (&[u8], ErrorKind)>
parses source record which is a multiline continuation record. Contains a list of comma separated predefined key-value pairs. Predefined keys are called tokens and can be found in Token If succesfull returns Record variant containing SOURCE instance. Record layout :
COLUMNS | DATA TYPE | FIELD | DEFINITION |
---|---|---|---|
1 - 6 | Record name | SOURCE | |
8 - 10 | Continuation | continuation | Allows concatenation of multiple records. |
11 - 79 | Specification | srcName | Identifies the source of the |
List | macromolecule in a token: value format. |