FileContentManager.GetTypeDeclarations Method

Definition

Returns all type declarations in the file sorted by the line number they are declared on.

public System.Collections.Generic.IEnumerable<(string, Microsoft.Quantum.QsCompiler.DataTypes.Range)> GetTypeDeclarations ();
member this.GetTypeDeclarations : unit -> seq<ValueTuple<string, Microsoft.Quantum.QsCompiler.DataTypes.Range>>
Public Function GetTypeDeclarations () As IEnumerable(Of ValueTuple(Of String, Range))

Returns

IEnumerable<ValueTuple<String,Range>>

Applies to