-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move handling comments in sequences into SequenceBuilder.
I had an idea that it would make sense to consolidate all comment handling in CommentWriter. But with the forthcoming argument list support, it looks like there will be three separate styles of comments. At that point, it probably makes more sense to have the comment handling for each construct with that construct. So I moved the code in SequencePiece that incrementally builds it and the code in CommentWriter that handles sequence comments into a new SequenceBuilder class. I think this is overall a cleaner design. I like that SequencePiece is now immutable.
- Loading branch information
1 parent
9d4a93f
commit 0d5f83c
Showing
6 changed files
with
174 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.