(opts ast.FormatOptions)
| 33 | } |
| 34 | |
| 35 | func newNodeFormatter(opts ast.FormatOptions) *nodeFormatter { |
| 36 | return &nodeFormatter{ |
| 37 | opts: opts, |
| 38 | sb: &strings.Builder{}, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // kw applies keyword casing to a keyword string. |
| 43 | func (f *nodeFormatter) kw(keyword string) string { |
no outgoing calls
no test coverage detected