UniqueVariableNames Class
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, assigns each defined variable a unique name, independent on the scope, and replaces all references to it accordingly. The original variable name can be recovered by using the static method StripUniqueName. This class is not threadsafe.
public class UniqueVariableNames : Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<Microsoft.Quantum.QsCompiler.Transformations.SearchAndReplace.UniqueVariableNames.TransformationState>
type UniqueVariableNames = class
inherit SyntaxTreeTransformation<UniqueVariableNames.TransformationState>
Public Class UniqueVariableNames
Inherits SyntaxTreeTransformation(Of UniqueVariableNames.TransformationState)
- Inheritance
Expression |
(Inherited from SyntaxTreeTransformation<T>) |
Expressions | (Inherited from SyntaxTreeTransformation<T>) |
Namespaces | (Inherited from SyntaxTreeTransformation<T>) |
Shared |
(Inherited from SyntaxTreeTransformation<T>) |
Statement |
(Inherited from SyntaxTreeTransformation<T>) |
Statements | (Inherited from SyntaxTreeTransformation<T>) |
Types | (Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
|
On |
|
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
On |
(Inherited from SyntaxTreeTransformation<T>) |
Strip |
Produkt | Wersje |
---|---|
Microsoft Quantum Development Kit | Latest |