SyntaxExtensions.New.Static 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 Microsoft.Quantum.QsCompiler.SyntaxTree.QsConditionalStatement QsConditionalStatement.New.Static (System.Collections.Generic.IEnumerable<Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression,Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock>> blocks, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock> defaultBlock);
Microsoft.Quantum.QsCompiler.SyntaxExtensions.QsConditionalStatement.New.Static : seq<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock> * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock> -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsConditionalStatement
Public Shared Function QsConditionalStatement.New.Static (blocks As IEnumerable(Of Tuple(Of TypedExpression, QsPositionedBlock)), defaultBlock As QsNullable(Of QsPositionedBlock)) As QsConditionalStatement
Parameters
- blocks
- IEnumerable<Tuple<TypedExpression,QsPositionedBlock>>
- defaultBlock
- QsNullable<QsPositionedBlock>