SyntaxTreeToQsharp.StatementTransformation Class

Definition

Class used to generate Q# code for Q# statements. Upon calling Transform, the Output property is set to the Q# code corresponding to the given statement block.

public class SyntaxTreeToQsharp.StatementTransformation : Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<Microsoft.Quantum.QsCompiler.Transformations.QsCodeOutput.SyntaxTreeToQsharp.TransformationState>
type SyntaxTreeToQsharp.StatementTransformation = class
    inherit StatementTransformation<SyntaxTreeToQsharp.TransformationState>
Public Class SyntaxTreeToQsharp.StatementTransformation
Inherits StatementTransformation(Of SyntaxTreeToQsharp.TransformationState)
Inheritance

Constructors

SyntaxTreeToQsharp.StatementTransformation(SyntaxTreeTransformation<SyntaxTreeToQsharp.TransformationState>)

Properties

Expressions (Inherited from StatementTransformationBase)
SharedState (Inherited from StatementTransformation<T>)
StatementKinds (Inherited from StatementTransformationBase)
Transformation (Inherited from StatementTransformation<T>)
Types (Inherited from StatementTransformationBase)

Methods

OnLocalDeclarations(LocalDeclarations) (Inherited from StatementTransformationBase)
OnLocation(QsNullable<QsLocation>)
Obsolete.
(Inherited from StatementTransformationBase)
OnScope(QsScope) (Inherited from StatementTransformationBase)
OnStatement(QsStatement) System.Object.OnStatement(Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement)
OnVariableName(String)
Obsolete.
(Inherited from StatementTransformationBase)

Applies to