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