CompilationUnitManager.GetSyntaxTree Method
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.
Returns the syntax tree for the current state of the compilation.
public System.Collections.Generic.IEnumerable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace>? GetSyntaxTree ();
member this.GetSyntaxTree : unit -> seq<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace>
Public Function GetSyntaxTree () As IEnumerable(Of QsNamespace)
Returns
Remarks
Waits for all currently running or queued tasks to finish before constructing the syntax tree by calling FlushAndExecute<T>(Func<T>).