TypedExpressionWalker<T> Class

Definition

Upon transformation, applies the specified action to each expression and subexpression. The action to apply is specified upon construction, and will be applied before recurring into subexpressions. The transformation merely walks expressions and rebuilding is disabled.

public class TypedExpressionWalker<T> : Microsoft.Quantum.QsCompiler.Transformations.Core.ExpressionTransformation<T>
type TypedExpressionWalker<'T> = class
    inherit ExpressionTransformation<'T>
Public Class TypedExpressionWalker(Of T)
Inherits ExpressionTransformation(Of T)

Type Parameters

T
Inheritance

Constructors

TypedExpressionWalker<T>(Action<TypedExpression>, SyntaxTreeTransformation<T>)
TypedExpressionWalker<T>(Action<TypedExpression>, T)

Properties

ExpressionKinds (Inherited from ExpressionTransformationBase)
OnExpression
SharedState (Inherited from ExpressionTransformation<T>)
Transformation (Inherited from ExpressionTransformation<T>)
Types (Inherited from ExpressionTransformationBase)

Methods

OnExpressionInformation(InferredExpressionInformation) (Inherited from ExpressionTransformationBase)
OnRangeInformation(QsNullable<Range>)
Obsolete.
(Inherited from ExpressionTransformationBase)
OnTypedExpression(TypedExpression) System.Object.OnTypedExpression(Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression)
OnTypeParamResolutions(ImmutableDictionary<Tuple<QsQualifiedName,String>,ResolvedType>) (Inherited from ExpressionTransformationBase)

Applies to