QsCallable Constructor
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.
public QsCallable (Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallableKind kind, Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName fullName, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute> attributes, Microsoft.Quantum.QsCompiler.SyntaxTokens.Access access, Microsoft.Quantum.QsCompiler.SyntaxTree.Source source, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> location, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature signature, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> argumentTuple, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecialization> specializations, System.Collections.Immutable.ImmutableArray<string> documentation, Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments comments);
new Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable : Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallableKind * Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute> * Microsoft.Quantum.QsCompiler.SyntaxTokens.Access * Microsoft.Quantum.QsCompiler.SyntaxTree.Source * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> * Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature * Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecialization> * System.Collections.Immutable.ImmutableArray<string> * Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable
Public Sub New (kind As QsCallableKind, fullName As QsQualifiedName, attributes As ImmutableArray(Of QsDeclarationAttribute), access As Access, source As Source, location As QsNullable(Of QsLocation), signature As ResolvedSignature, argumentTuple As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), specializations As ImmutableArray(Of QsSpecialization), documentation As ImmutableArray(Of String), comments As QsComments)
Parameters
- kind
- QsCallableKind
- fullName
- QsQualifiedName
- attributes
- ImmutableArray<QsDeclarationAttribute>
- access
- Access
- source
- Source
- location
- QsNullable<QsLocation>
- signature
- ResolvedSignature
- argumentTuple
- QsTuple<LocalVariableDeclaration<QsLocalSymbol,ResolvedType>>
- specializations
- ImmutableArray<QsSpecialization>
- documentation
- ImmutableArray<String>
- comments
- QsComments