(name string)
| 442 | } |
| 443 | |
| 444 | func (p *printer) printIdentifier(name string) { |
| 445 | if p.options.ASCIIOnly { |
| 446 | p.js = QuoteIdentifier(p.js, name, p.options.UnsupportedFeatures) |
| 447 | } else { |
| 448 | p.print(name) |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | // This is the same as "printIdentifier(StringToUTF16(bytes))" without any |
| 453 | // unnecessary temporary allocations |
no test coverage detected