SelectByAnyContainedExpression 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.
Class that allows to transform scopes by keeping only statements that contain certain expressions. Calling Transform will build a new Scope that contains only the statements which contain an expression or subexpression (only if evaluateOnSubexpressions is set to true) that satisfies the condition given on initialization.
public class SelectByAnyContainedExpression : Microsoft.Quantum.QsCompiler.Transformations.BasicTransformations.SelectByFoldingOverExpressions
type SelectByAnyContainedExpression = class
inherit SelectByFoldingOverExpressions
Public Class SelectByAnyContainedExpression
Inherits SelectByFoldingOverExpressions
- Inheritance
-
SelectByAnyContainedExpression
Constructors
| SelectByAnyContainedExpression(Func<TypedExpression,Boolean>, Boolean) |
Properties
| ExpressionKinds | (Inherited from SyntaxTreeTransformation<T>) |
| Expressions | (Inherited from SyntaxTreeTransformation<T>) |
| Namespaces | (Inherited from SyntaxTreeTransformation<T>) |
| SharedState | (Inherited from SyntaxTreeTransformation<T>) |
| StatementKinds | (Inherited from SyntaxTreeTransformation<T>) |
| Statements | (Inherited from SyntaxTreeTransformation<T>) |
| Types | (Inherited from SyntaxTreeTransformation<T>) |
Methods
| OnAbsoluteLocation(QsNullable<QsLocation>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnArgumentTuple(QsTuple<LocalVariableDeclaration<QsLocalSymbol,ResolvedType>>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnCompilation(QsCompilation) | (Inherited from SyntaxTreeTransformation<T>) |
| OnExpressionRange(QsNullable<Range>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnItemName(UserDefinedType, String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnItemNameDeclaration(String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnLocalName(String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnLocalNameDeclaration(String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnRelativeLocation(QsNullable<QsLocation>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnSymbolLocation(QsNullable<Position>, Range) | (Inherited from SyntaxTreeTransformation<T>) |
| OnTypeRange(TypeRange) | (Inherited from SyntaxTreeTransformation<T>) |