CallableDeclarationHeader 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 CallableDeclarationHeader (Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallableKind kind, Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName qualifiedName, 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.DeclarationHeader.Offset position, Microsoft.Quantum.QsCompiler.DeclarationHeader.Range symbolRange, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> argumentTuple, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature signature, System.Collections.Immutable.ImmutableArray<string> documentation);
new Microsoft.Quantum.QsCompiler.CallableDeclarationHeader : 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.DeclarationHeader.Offset * Microsoft.Quantum.QsCompiler.DeclarationHeader.Range * 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 * System.Collections.Immutable.ImmutableArray<string> -> Microsoft.Quantum.QsCompiler.CallableDeclarationHeader
Public Sub New (kind As QsCallableKind, qualifiedName As QsQualifiedName, attributes As ImmutableArray(Of QsDeclarationAttribute), access As Access, source As Source, position As DeclarationHeader.Offset, symbolRange As DeclarationHeader.Range, argumentTuple As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), signature As ResolvedSignature, documentation As ImmutableArray(Of String))
Parameters
- kind
- QsCallableKind
- qualifiedName
- QsQualifiedName
- attributes
- ImmutableArray<QsDeclarationAttribute>
- access
- Access
- source
- Source
- position
- DeclarationHeader.Offset
- symbolRange
- DeclarationHeader.Range
- argumentTuple
- QsTuple<LocalVariableDeclaration<QsLocalSymbol,ResolvedType>>
- signature
- ResolvedSignature
- documentation
- ImmutableArray<String>