AbsaOSS / AbsaOSS/cobrix

Simplify hierarchical traversal

Đang mở
#208 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
refactoring
Ngôn ngữ chính
Scala
Star
170
Fork
96
Merge trung bình
57 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.