[][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 :

COLUMNSDATA TYPEFIELDDEFINITION
1 - 6Record nameSOURCE
8 - 10ContinuationcontinuationAllows concatenation of multiple records.
11 - 79SpecificationsrcNameIdentifies the source of the
Listmacromolecule in a token: value format.