CallGraphNode class
CallGraphNode represents a node of the call-graph. It can either be:
- a function, in which case data will be ProgramInfoNode of type NodeType.functionNode;
- a dynamic call node, in which case data will be a String selector;
- a dispatch table call node, in which case data will be an int selector id.
Constructors
- CallGraphNode(int id, {dynamic data})
Properties
- data → dynamic
-
Datum associated with this node: a ProgramInfoNode (function), a
String (dynamic call selector) or an int (dispatch table selector id).
final
-
dominated
↔ List<
CallGraphNode> -
Nodes dominated by this node.
getter/setter pair
- dominator ↔ CallGraphNode?
-
Dominator of this node.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
An index of this node in CallGraph.nodes.
final
- isClassNode → bool
-
no setter
- isDynamicCallNode → bool
-
no setter
- isFunctionNode → bool
-
no setter
-
pred
→ List<
CallGraphNode> -
Predecessors of this node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
succ
→ List<
CallGraphNode> -
Successors of this node.
final
Methods
-
connectTo(
CallGraphNode n) → void -
Create outgoing edge from this node to the given node
n
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
visitDominatorTree(
bool callback(CallGraphNode n, int depth), [int depth = 0]) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited