SelectByFoldingOverExpressions.StatementTransformation<TSelector> Class

Definition

public class SelectByFoldingOverExpressions.StatementTransformation<TSelector> : Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<Microsoft.Quantum.QsCompiler.Transformations.BasicTransformations.SelectByFoldingOverExpressions.TransformationState> where TSelector : SelectByFoldingOverExpressions
type SelectByFoldingOverExpressions.StatementTransformation<'Selector (requires 'Selector :> SelectByFoldingOverExpressions)> = class
    inherit StatementTransformation<SelectByFoldingOverExpressions.TransformationState>
Public Class SelectByFoldingOverExpressions.StatementTransformation(Of TSelector)
Inherits StatementTransformation(Of SelectByFoldingOverExpressions.TransformationState)

Type Parameters

TSelector
Inheritance
SelectByFoldingOverExpressions.StatementTransformation<TSelector>

Constructors

SelectByFoldingOverExpressions.StatementTransformation<TSelector>(Func<SelectByFoldingOverExpressions.TransformationState,TSelector>, SyntaxTreeTransformation<SelectByFoldingOverExpressions.TransformationState>)

The given function for creating a new subselector is expected to initialize a new internal state with the same configurations as the one given upon construction. Upon initialization, the FoldResult of the internal state should be set to the specified seed rather than the FoldResult of the given constructor argument.

Properties

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

Methods

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

Applies to