Commit 31b2999
committed
Expose CodegenWriter's doc writer
When the doc writer is just an anonymous lambda function, it makes sense
to hide it away in the parent implementation. But when it's a class that
satisifies the interface, there may be additional things on it that the
subclasses or callers will want to use. For example, a doc formatter.1 parent 289c83c commit 31b2999
File tree
1 file changed
+9
-0
lines changed- smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/writer
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
88 | 97 | | |
89 | 98 | | |
90 | 99 | | |
| |||
0 commit comments