rcall

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProjectMethodMap

func BuildProjectMethodMap(clzs []core_domain.CodeDataStruct) map[string]int

func BuildRCallMethodMap

func BuildRCallMethodMap(parserDeps []core_domain.CodeDataStruct, projectMaps map[string]int) map[string][]string

func ToGraphviz

func ToGraphviz(chain string) string

TODO: be a utils

Types

type RCallGraph

type RCallGraph struct {
}

func NewRCallGraph

func NewRCallGraph() RCallGraph

func (RCallGraph) Analysis

func (c RCallGraph) Analysis(funcName string, clzs []core_domain.CodeDataStruct, writeCallback func(rcallMap map[string][]string)) string

func (RCallGraph) BuildRCallChain

func (c RCallGraph) BuildRCallChain(funcName string, methodMap map[string][]string) string

Jump to

Keyboard shortcuts

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