Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of TextTemplateBuilder #99

Closed
gvlasov opened this issue Aug 16, 2015 · 1 comment
Closed

Get rid of TextTemplateBuilder #99

gvlasov opened this issue Aug 16, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@gvlasov
Copy link
Owner

gvlasov commented Aug 16, 2015

TextTemplateBuilder was introduced because the content of TextTemplate's body was considered heterogeneous. It was a list of either Placeholders or plain text, and I thought it is not worth it to unify those under a single interface (see #74).

Now I see that it is possible to unify placeholders and plain text with addition of one more layer. The template body will consist of TemplateBodyPieces with method #fillOut(ActualArguments, Vocabulary). Those TemplateBodyPieces will encapsulate either a placeholder or plain text.

@gvlasov gvlasov added the design label Aug 16, 2015
@gvlasov gvlasov self-assigned this Aug 16, 2015
@gvlasov gvlasov added this to the 0.1.0 milestone Aug 16, 2015
@gvlasov
Copy link
Owner Author

gvlasov commented Aug 17, 2015

Must be done after #96

gvlasov pushed a commit that referenced this issue Aug 20, 2015
gvlasov pushed a commit that referenced this issue Aug 20, 2015
Also removed usages of other classes (and tests for them) that are no longer needed
gvlasov pushed a commit that referenced this issue Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant