SyntaxTreeToQsharp.ArgumentTuple Method
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 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