StatementTransformation<T> Constructors
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.
Overloads
StatementTransformation<T>(SyntaxTreeTransformation<T>)
public StatementTransformation (Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<T> parentTransformation);
new Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T> : Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<'T> -> Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T>
Public Sub New (parentTransformation As SyntaxTreeTransformation(Of T))
Parameters
- parentTransformation
- SyntaxTreeTransformation<T>
Applies to
StatementTransformation<T>(T)
public StatementTransformation (T sharedState);
new Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T> : 'T -> Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T>
Public Sub New (sharedState As T)
Parameters
- sharedState
- T
Applies to
StatementTransformation<T>(SyntaxTreeTransformation<T>, TransformationOptions)
public StatementTransformation (Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<T> parentTransformation, Microsoft.Quantum.QsCompiler.Transformations.Core.TransformationOptions options);
new Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T> : Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<'T> * Microsoft.Quantum.QsCompiler.Transformations.Core.TransformationOptions -> Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T>
Public Sub New (parentTransformation As SyntaxTreeTransformation(Of T), options As TransformationOptions)
Parameters
- parentTransformation
- SyntaxTreeTransformation<T>
- options
- TransformationOptions
Applies to
StatementTransformation<T>(T, TransformationOptions)
public StatementTransformation (T sharedState, Microsoft.Quantum.QsCompiler.Transformations.Core.TransformationOptions options);
new Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T> : 'T * Microsoft.Quantum.QsCompiler.Transformations.Core.TransformationOptions -> Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<'T>
Public Sub New (sharedState As T, options As TransformationOptions)
Parameters
- sharedState
- T
- options
- TransformationOptions