package
0.0.0-20210109214533-c7609e90cd61
Repository: https://github.com/github-vet/bots.git
Documentation: pkg.go.dev
# Functions
NewCallGraph creates an empty callgraph.
SignatureFromCallExpr retrieves the signature of a call expression.
SignatureFromFuncDecl retrieves a signature from the provided FuncDecl.
# Variables
Analyzer provides an approximate callgraph based on function name and arity.
ErrSignatureMissing is returned when a request signature could not be found.
# Structs
Call captures the signature of function calls along with the signature of the function from which they are called and position of their argument declarations.
CallGraph represents an approximate call-graph, relying only on the name and arity of each function.
DeclaredSignature is a signature along with the position of its declaration.
Result is the result of the callgraph analyzer.
Signature is only an approximation of the information needed to make a function call.