Versions in this module Expand all Collapse all v0 v0.5.11 Sep 22, 2020 Changes in this version + func ResetEnergy() v0.5.6 Jun 17, 2020 Changes in this version + func Annotate(name, output string) uint64 + func ConsumeEnergy(n uint64) + func SetEnergy(n uint64) + type Block struct + type Buffer struct + func NewBuffer(data []byte) *Buffer + func (b *Buffer) Bytes() []byte + func (b *Buffer) Delete(start, end int) + func (b *Buffer) Insert(pos int, new string) + func (b *Buffer) Replace(start, end int, new string) + func (b *Buffer) String() string + type File struct + func (f *File) Visit(node ast.Node) ast.Visitor