SyntaxExtensions.New.Static Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2, 8 })]
public static Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable QsCallable.New.Static (Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallableKind kind, Microsoft.Quantum.QsCompiler.SyntaxTree.Source source, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> location, Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName name, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute> attributes, Microsoft.Quantum.QsCompiler.SyntaxTokens.Access access, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> argTuple, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature signature, System.Collections.Generic.IEnumerable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecialization> specializations, System.Collections.Immutable.ImmutableArray<string> documentation, Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments comments);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2, 8 })>]
Microsoft.Quantum.QsCompiler.SyntaxExtensions.QsCallable.New.Static : Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallableKind -> 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.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> * Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature * seq<Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecialization> * System.Collections.Immutable.ImmutableArray<string> * Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable
Public Shared Function QsCallable.New.Static (kind As QsCallableKind, source As Source, location As QsNullable(Of QsLocation), name As QsQualifiedName, attributes As ImmutableArray(Of QsDeclarationAttribute), access As Access, argTuple As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), signature As ResolvedSignature, specializations As IEnumerable(Of QsSpecialization), documentation As ImmutableArray(Of String), comments As QsComments) As QsCallable

Parameters

source
Source
access
Access
signature
ResolvedSignature
specializations
IEnumerable<QsSpecialization>
documentation
ImmutableArray<String>
comments
QsComments

Returns

QsCallable
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to