ExpressionKindTransformationBase.OnConditionalExpression Method

Definition

public override Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpressionKind<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression,Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> OnConditionalExpression (Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression cond, Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression ifTrue, Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression ifFalse);
abstract member OnConditionalExpression : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpressionKind<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression, Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>
override this.OnConditionalExpression : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpressionKind<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression, Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>
Public Overrides Function OnConditionalExpression (cond As TypedExpression, ifTrue As TypedExpression, ifFalse As TypedExpression) As QsExpressionKind(Of TypedExpression, Identifier, ResolvedType)

Parameters

ifFalse
TypedExpression

Returns

QsExpressionKind<TypedExpression,Identifier,ResolvedType>

Applies to