TypedExpressionWalker<T> Class
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.
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) |