ast

package
v0.0.0-...-c5c9c53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractImportDeclsFromDecls

func ExtractImportDeclsFromDecls(decls []ast.Decl) (importDecls []*ast.GenDecl)

func GenerateErrorFuncWrapper

func GenerateErrorFuncWrapper(orgFuncDecl *ast.FuncDecl) (*ast.FuncDecl, bool)

func ImportDeclsToDecls

func ImportDeclsToDecls(importDecls []*ast.GenDecl) (decls []ast.Decl)

func IsErrorFunc

func IsErrorFunc(funcDecl *ast.FuncDecl) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL