-
Notifications
You must be signed in to change notification settings - Fork 49
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
KotlinWriterHelper #101
Comments
Also see: #76 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I saw you were looking for a higher level for KotlinWriter?
Maybe something like this is an option?
The code below
would change this code
into
Adding functions like:
would simplify it to:
(these params could be written in an interal interface, which then would be implemented by the KotlinWriterHelper)
We then could make the names values or getters inside an interface:
Such that we can write:
And we could add a Text function:
(I placed the varargs at the start, as that would keep compiling all the old code)
The text was updated successfully, but these errors were encountered: