ExpressionKindTransformationBase.OnArrayItem Method
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.
Caution
Use OnArrayItemAccess instead
[System.Obsolete("Use OnArrayItemAccess instead")]
public override Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpressionKind<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression,Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> OnArrayItem (Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression arr, Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression idx);
[<System.Obsolete("Use OnArrayItemAccess instead")>]
abstract member OnArrayItem : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpressionKind<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression, Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>
override this.OnArrayItem : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpressionKind<Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression, Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>
Public Overrides Function OnArrayItem (arr As TypedExpression, idx As TypedExpression) As QsExpressionKind(Of TypedExpression, Identifier, ResolvedType)
Parameters
- arr
- TypedExpression
- idx
- TypedExpression
Returns
- Attributes