SymbolTracker.ResolveIdentifier 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.
[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
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute