ExpressionKindTransformationBase.OnConditionalExpression 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 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
- cond
- TypedExpression
- ifTrue
- TypedExpression
- ifFalse
- TypedExpression