FormatName formats a string as a name. Note: prefer FormatNameP below when the string is already on the heap.
(s string)
| 318 | // Note: prefer FormatNameP below when the string is already on the |
| 319 | // heap. |
| 320 | func (ctx *FmtCtx) FormatName(s string) { |
| 321 | ctx.FormatNode((*Name)(&s)) |
| 322 | } |
| 323 | |
| 324 | // FormatNameP formats a string reference as a name. |
| 325 | func (ctx *FmtCtx) FormatNameP(s *string) { |
nothing calls this directly
no test coverage detected