WriteByte writes a single byte to the output buffer.
(b byte)
| 67 | |
| 68 | // WriteByte writes a single byte to the output buffer. |
| 69 | func (g *BaseGenerator) WriteByte(b byte) error { |
| 70 | return g.Buf.WriteByte(b) |
| 71 | } |
| 72 | |
| 73 | // Result returns the final CodeGenResult with generated code. |
| 74 | func (g *BaseGenerator) Result() ast.CodeGenResult { |
no outgoing calls
no test coverage detected