SyntaxTreeToQsharp.ArgumentTuple Method

Definition

public static string ArgumentTuple (Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> arg, Func<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType,string?> typeTransformation, Action? onInvalidName = default, bool symbolsOnly = false);
static member ArgumentTuple : Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> * Func<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType, string> * Action * bool -> string
Public Shared Function ArgumentTuple (arg As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), typeTransformation As Func(Of ResolvedType, String), Optional onInvalidName As Action = Nothing, Optional symbolsOnly As Boolean = false) As String

Parameters

typeTransformation
Func<ResolvedType,String>
onInvalidName
Action
symbolsOnly
Boolean

Returns

String

Applies to