CallGraph Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CallGraph(IEnumerable<QsCallable>) |
Constructs a call graph from callables. |
| CallGraph(QsCompilation, Boolean) |
Constructs a call graph from a compilation. The optional trim argument may be used to specify the call graph to be trimmed to only include callables that entry points are dependent on. |
CallGraph(IEnumerable<QsCallable>)
Constructs a call graph from callables.
public CallGraph (System.Collections.Generic.IEnumerable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable> callables);
new Microsoft.Quantum.QsCompiler.DependencyAnalysis.CallGraph : seq<Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable> -> Microsoft.Quantum.QsCompiler.DependencyAnalysis.CallGraph
Public Sub New (callables As IEnumerable(Of QsCallable))
Parameters
- callables
- IEnumerable<QsCallable>
Applies to
CallGraph(QsCompilation, Boolean)
Constructs a call graph from a compilation. The optional trim argument may be used to specify the call graph to be trimmed to only include callables that entry points are dependent on.
public CallGraph (Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation compilation, bool trim = false);
new Microsoft.Quantum.QsCompiler.DependencyAnalysis.CallGraph : Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation * bool -> Microsoft.Quantum.QsCompiler.DependencyAnalysis.CallGraph
Public Sub New (compilation As QsCompilation, Optional trim As Boolean = false)
Parameters
- compilation
- QsCompilation
- trim
- Boolean