AddVariableDeclarations<T> Class

Definition

Caution

AddVariableDeclarations should not be used directly and will be made internal in a future release.

Adds the given variable declarations to the list of defined variables for each scope.

[System.Obsolete("AddVariableDeclarations should not be used directly and will be made internal in a future release.")]
public class AddVariableDeclarations<T> : Microsoft.Quantum.QsCompiler.Transformations.Core.StatementTransformation<T>
[<System.Obsolete("AddVariableDeclarations should not be used directly and will be made internal in a future release.")>]
type AddVariableDeclarations<'T> = class
    inherit StatementTransformation<'T>
Public Class AddVariableDeclarations(Of T)
Inherits StatementTransformation(Of T)

Type Parameters

T
Inheritance
Attributes

Constructors

AddVariableDeclarations<T>(SyntaxTreeTransformation<T>, LocalVariableDeclaration<String,ResolvedType>[])

Properties

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

Methods

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

Applies to