AbsaOSS / AbsaOSS/cobrix

Simplify hierarchical traversal

オープン
#208 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
refactoring
主要言語
Scala
スター
170
フォーク
96
平均マージ
57分
マージ済み PR(30日)
2

説明

## 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`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。