Statements.NewIfStatement Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 1, 1 })]
public static Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement NewIfStatement (Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression ifBlock_0, Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock ifBlock_1, System.Collections.Generic.IEnumerable<Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression,Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock>> elifBlocks, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock> elseBlock);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 1, 1 })>]
Microsoft.Quantum.QsCompiler.SyntaxProcessing.Statements.NewIfStatement : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.QsPositionedBlock -> 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.QsStatement
Public Shared Function NewIfStatement (ifBlock_0 As TypedExpression, ifBlock_1 As QsPositionedBlock, elifBlocks As IEnumerable(Of Tuple(Of TypedExpression, QsPositionedBlock)), elseBlock As QsNullable(Of QsPositionedBlock)) As QsStatement

Parameters

ifBlock_0
TypedExpression
ifBlock_1
QsPositionedBlock

Returns

QsStatement
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to