SyntaxTreeToQsharp.StatementTransformation Class
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.
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
-
SyntaxTreeToQsharp.StatementTransformation
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)
|