Documentation ¶
Index ¶
- func ContainsAnyStr(str string, subs []string) bool
- func Exclude_path(names_str string) []string
- func Gen_defer_map() map[*ssa.RunDefers][]*ssa.Defer
- func Get_and_install(path string)
- func Grep_count_current(query string, root string) int
- func Grep_count_recursive(query string, root string) int
- func Is_inst_end_of_fn(inst ssa.Instruction) bool
- func Is_path_include(str string) bool
- func List_all_methods() []*ssa.Function
- func List_all_pkg_paths() []string
- func List_all_struct(prog *ssa.Program) []*global.Struct
- func List_all_sync_global(all_sync_struct []*global.Sync_struct, prog *ssa.Program) []*ssa.Global
- func List_all_sync_struct(prog *ssa.Program) []*global.Sync_struct
- func List_worthy_paths() (worthy_paths []global.Parent_path)
- func Read_file_line(filename string, n int) (string, error)
- func Ssa_build_one_pkg_compiler(path string, show_compile_error bool) (*ssa.Package, error)
- func Ssa_build_one_pkg_x(path string, show_compile_error bool) (result *ssa.Package, suc bool)
- func Ssa_build_packages(path string) []*ssa.Package
- func Ssa_build_wholeprogam(path string, force bool, show_compile_error bool) (*ssa.Program, []*ssa.Package, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAnyStr ¶
func Exclude_path ¶
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_recursive ¶
func Is_inst_end_of_fn ¶
func Is_inst_end_of_fn(inst ssa.Instruction) bool
func Is_path_include ¶
func List_all_methods ¶
func List_all_pkg_paths ¶
func List_all_pkg_paths() []string
func List_all_sync_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 Ssa_build_one_pkg_x ¶
Ssa_build_one_pkg_x depends on x/tools/go/packages
func Ssa_build_packages ¶
Note: don't use Ssa_build_packages! It will lose a lot of functions, and lose BB in external functions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.