DATA)
vertex::= {fields…}
| Field | Format | Description |
|---|---|---|
"name" |
string | The function name of the node |
"decl" |
decl |
The declaration tag of the function |
"is_root" |
boolean | whether this node is the root of a service |
"root" |
decl |
the root of this node’s service |
DATA)Whether the call goes through services or not
edgeKind::=tags…
| Tags | Value | Description |
|---|---|---|
| Inter_services | "inter_services" |
a call between two services |
| Inter_functions | "inter_functions" |
a call inside a service |
| Both | "both" |
both cases above |
GET)Registered tags for the above type.
input
::=null
output
::=tag[]
DATA)
edge::= {fields…}
| Field | Format | Description |
|---|---|---|
"src" |
decl |
src |
"dst" |
decl |
dst |
"kind" |
edgeKind |
kind |
DATA)The callgraph of the current project
graph::= {fields…}
| Field | Format | Description |
|---|---|---|
"vertices" |
vertex
[] |
vertices |
"edges" |
edge
[] |
edges |
STATE)The current callgraph or an empty graph if it has not been computed yet
SIGNAL)Signal for state callgraph
GET)Getter for state callgraph
input
::=null
output
::=graph?
STATE)This boolean is true if the graph has been computed
SIGNAL)Signal for state isComputed
GET)Getter for state isComputed
input
::=null
output
::=boolean
EXEC)Compute the callgraph for the current project
input
::=null
output
::=null