AbsaOSS / AbsaOSS/cobrix

Simplify hierarchical traversal

Ouverte
#208 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
refactoring
Langage dominant
Scala
Étoiles
170
Forks
96
Merge moyen
57 min
PR mergées (30 j)
2

Description

## Background
Currently, the hierarchical records generator uses a lot of auxiliary arrays, maps, etc. Maybe if the parser could specify child segments for segment redefines instead of setting parent segment for child segment redefines the traversal could be simplified.

## Feature
Investigate if hierarchical traversal can be simplified.

## Additional context
* Consider using visitor pattern for both nested and hierarchical traversals so that the traversal algorithms can be reused.
* If this could be achieved the traversal algorithms can be moved from `spark-cobol` to `cobol-parser`.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.