SyntaxExtensions.NewType.Static Method

Definition

public static Microsoft.FSharp.Core.FSharpFunc<Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName,System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute>,Microsoft.Quantum.QsCompiler.SyntaxTokens.Access,Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.QsTypeItem>,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType,System.Collections.Immutable.ImmutableArray<string>,Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments>,Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespaceElement> QsNamespaceElement.NewType.Static (Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.Source,Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation>> loc);
Microsoft.Quantum.QsCompiler.SyntaxExtensions.QsNamespaceElement.NewType.Static : (Microsoft.Quantum.QsCompiler.SyntaxTree.Source * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation>) -> (Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute> * Microsoft.Quantum.QsCompiler.SyntaxTokens.Access * Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.QsTypeItem> * Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType * System.Collections.Immutable.ImmutableArray<string> * Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespaceElement)
Public Shared Function QsNamespaceElement.NewType.Static (loc As Tuple(Of Source, QsNullable(Of QsLocation))) As FSharpFunc(Of Tuple(Of QsQualifiedName, ImmutableArray(Of QsDeclarationAttribute), Access, QsTuple(Of QsTypeItem), ResolvedType, ImmutableArray(Of String), QsComments), QsNamespaceElement)

Parameters

Returns

Microsoft.FSharp.Core.FSharpFunc<Tuple<QsQualifiedName,ImmutableArray<QsDeclarationAttribute>,Access,QsTuple<QsTypeItem>,ResolvedType,ImmutableArray<String>,QsComments>,QsNamespaceElement>

Applies to