prepare

package
v0.0.0-...-3f344d0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: GPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsAnyStr

func ContainsAnyStr(str string, subs []string) bool

func Exclude_path

func Exclude_path(names_str string) []string

func Gen_defer_map

func Gen_defer_map() map[*ssa.RunDefers][]*ssa.Defer

func Get_and_install

func Get_and_install(path string)

Get_and_install changes GOPATH, runs "go get XXX", and changes GOPATH back

func Grep_count_current

func Grep_count_current(query string, root string) int

func Grep_count_recursive

func Grep_count_recursive(query string, root string) int

func Is_inst_end_of_fn

func Is_inst_end_of_fn(inst ssa.Instruction) bool

func Is_path_include

func Is_path_include(str string) bool

func List_all_methods

func List_all_methods() []*ssa.Function

func List_all_pkg_paths

func List_all_pkg_paths() []string

func List_all_struct

func List_all_struct(prog *ssa.Program) []*global.Struct

func List_all_sync_global

func List_all_sync_global(all_sync_struct []*global.Sync_struct, prog *ssa.Program) []*ssa.Global

func List_all_sync_struct

func List_all_sync_struct(prog *ssa.Program) []*global.Sync_struct

func List_worthy_paths

func List_worthy_paths() (worthy_paths []global.Parent_path)

func Read_file_line

func Read_file_line(filename string, n int) (string, error)

func Ssa_build_one_pkg_compiler

func Ssa_build_one_pkg_compiler(path string, show_compile_error bool) (*ssa.Package, error)

func Ssa_build_one_pkg_x

func Ssa_build_one_pkg_x(path string, show_compile_error bool) (result *ssa.Package, suc bool)

Ssa_build_one_pkg_x depends on x/tools/go/packages

func Ssa_build_packages

func Ssa_build_packages(path string) []*ssa.Package

Note: don't use Ssa_build_packages! It will lose a lot of functions, and lose BB in external functions

func Ssa_build_wholeprogam

func Ssa_build_wholeprogam(path string, force bool, show_compile_error bool) (*ssa.Program, []*ssa.Package, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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