Documentation ¶ Index ¶ type Binder func NewBinder(m Mode) *Binder func (b *Binder) ASM() io.Reader func (b *Binder) Create(pkg bind.Package, files []*bind.Function) error func (b *Binder) GO() io.Reader func (b *Binder) JS() io.Reader type Mode type Parser func NewParser() *Parser func (p *Parser) ParseFile(pkg string, fset *token.FileSet, file *ast.File) (b []*bind.Function, err error) func (p *Parser) ParsePackage(pkg *packages.Package) ([]*bind.Function, error) func (p *Parser) ParsePackages(dir string) (map[bind.Package][]*bind.Function, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Binder ¶ type Binder struct { RemapPath func(s string) string // contains filtered or unexported fields } func NewBinder ¶ func NewBinder(m Mode) *Binder func (*Binder) ASM ¶ func (b *Binder) ASM() io.Reader func (*Binder) Create ¶ func (b *Binder) Create(pkg bind.Package, files []*bind.Function) error func (*Binder) GO ¶ func (b *Binder) GO() io.Reader func (*Binder) JS ¶ func (b *Binder) JS() io.Reader type Mode ¶ type Mode uint64 const ( Release Mode = iota Test ) type Parser ¶ type Parser struct { PackagesConfig *packages.Config // contains filtered or unexported fields } func NewParser ¶ func NewParser() *Parser func (*Parser) ParseFile ¶ func (p *Parser) ParseFile(pkg string, fset *token.FileSet, file *ast.File) (b []*bind.Function, err error) func (*Parser) ParsePackage ¶ func (p *Parser) ParsePackage(pkg *packages.Package) ([]*bind.Function, error) func (*Parser) ParsePackages ¶ func (p *Parser) ParsePackages(dir string) (map[bind.Package][]*bind.Function, error) Source Files ¶ View all Source files binder.go parser.go Click to show internal directories. Click to hide internal directories.