public override QsCallable OnCallableDeclaration(QsCallable c) { if (!this.SharedState.WithTrimming) { var node = new CallGraphNode(c.FullName); this.SharedState.CurrentNode = node; this.SharedState.Graph.AddNode(node); } return(base.OnCallableDeclaration(c)); }
private void Link(CallGraphNode from, CallGraphNode to) { from.OutNodes.Add(to); to.InNodes.Add(from); }