za.co.absa.cobrix.cobol.parser.asttransform
Sets parent groups for child segment redefines.
Sets parent groups for child segment redefines. This relies on segment id to redefines map. The assumptions are
* Only one segment redefine field has empty parent - the root segment. * All other segment redefines should have a parent segment. * isSegmentRedefine should be already set for all segment redefines. * A parent of a segment redefine should be a segment redefine as well
An AST as a set of copybook records
The same AST with segment parents set