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