(text string, optSymbol *ast.Symbol)
| 312 | } |
| 313 | |
| 314 | func (p *Printer) writeSymbol(text string, optSymbol *ast.Symbol) { |
| 315 | if optSymbol == nil { |
| 316 | p.write(text) |
| 317 | } else { |
| 318 | p.writer.WriteSymbol(text, optSymbol) |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | func (p *Printer) writeLiteral(text string) { |
| 323 | p.writer.WriteLiteral(text) |
no test coverage detected