Declarations.BuildArgumentControlled Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2 })]
public static Tuple<Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>>,Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]> BuildArgumentControlled (this Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> this, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol arg, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Position> pos);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2 })>]
Microsoft.Quantum.QsCompiler.SyntaxProcessing.Declarations.BuildArgumentControlled : Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Position> -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> * Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
<Extension()>
Public Function BuildArgumentControlled (this As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), arg As QsSymbol, pos As QsNullable(Of Position)) As Tuple(Of QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), QsCompilerDiagnostic())

Parameters

arg
QsSymbol

Returns

Tuple<QsTuple<LocalVariableDeclaration<QsLocalSymbol,ResolvedType>>,QsCompilerDiagnostic[]>
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to