SymbolTracker.ResolveIdentifier Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })]
public Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>,System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol>> ResolveIdentifier (Microsoft.FSharp.Core.FSharpFunc<Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic,Microsoft.FSharp.Core.Unit> addDiagnostic, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol qsSym);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })>]
member this.ResolveIdentifier : (Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic -> unit) -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol -> Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.Identifier, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol>
Public Function ResolveIdentifier (addDiagnostic As FSharpFunc(Of QsCompilerDiagnostic, Unit), qsSym As QsSymbol) As Tuple(Of LocalVariableDeclaration(Of Identifier, ResolvedType), ImmutableArray(Of QsLocalSymbol))

Parameters

addDiagnostic
Microsoft.FSharp.Core.FSharpFunc<QsCompilerDiagnostic,Microsoft.FSharp.Core.Unit>
qsSym
QsSymbol

Returns

Tuple<LocalVariableDeclaration<Identifier,ResolvedType>,ImmutableArray<QsLocalSymbol>>
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to