Прочитај на енглеском

Делите путем


Microsoft.Quantum.QsCompiler.Transformations.QsCodeOutput Namespace

Classes

SyntaxTreeToQsharp

Class used to generate Q# code for compiled Q# namespaces. Upon calling Transform, the Output property is set to the Q# code corresponding to the given namespace.

SyntaxTreeToQsharp.ExpressionKindTransformation

Class used to generate Q# code for Q# expressions. Upon calling Transform, the Output property is set to the Q# code corresponding to an expression of the given kind.

SyntaxTreeToQsharp.NamespaceTransformation
SyntaxTreeToQsharp.StatementKindTransformation

Class used to generate Q# code for Q# statements. Upon calling Transform, the _Output property of the scope transformation given on initialization is set to the Q# code corresponding to a statement of the given kind.

SyntaxTreeToQsharp.StatementTransformation

Class used to generate Q# code for Q# statements. Upon calling Transform, the Output property is set to the Q# code corresponding to the given statement block.

SyntaxTreeToQsharp.TransformationState
SyntaxTreeToQsharp.TypeTransformation

Class used to generate Q# code for Q# types. Adds an Output string property to ExpressionTypeTransformation, that upon calling Transform on a Q# type is set to the Q# code corresponding to that type.

TransformationContext

Class used to represent contextual information for expression transformations.