Fired at the end of parsing a copybook Returns the following values:
copybook: Path of the copybookparsedItems: Array of DataItem after any post processing (resolve absolute offsets, redefines and occurs)Fired at the end of every line from the copybook that is parsed. Returns the following values:
Fired at the beginning of every line from the copybook that is parsed. Returns the following values:
copybook: Path of the copybookline: Currently processed line from the copybookparsedItems: Array of objects of parsed lines, represented by level and DataItemFired at the beginning of parsing a copybook Returns the following values:
copybook: Path of the copybookrawData: string containing the data of the copybook before any modificationspreparedData: Array of strings containing the lines to be parsed
IParsingEvent interface is a helper interface to define the events that are submitted during parsing of a copybook and the data of these events.