SyntaxExtensions.LocalVariable(LocalDeclarations, QsSymbol) 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 static Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Tuple<string,Microsoft.Quantum.QsCompiler.DataTypes.Position,Microsoft.Quantum.QsCompiler.DataTypes.Range>> LocalVariable (this Microsoft.Quantum.QsCompiler.SyntaxTree.LocalDeclarations locals, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol qsSym);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })>]
Microsoft.Quantum.QsCompiler.SyntaxProcessing.SyntaxExtensions.LocalVariable : Microsoft.Quantum.QsCompiler.SyntaxTree.LocalDeclarations -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol -> Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<string * Microsoft.Quantum.QsCompiler.DataTypes.Position * Microsoft.Quantum.QsCompiler.DataTypes.Range>
<Extension()>
Public Function LocalVariable (locals As LocalDeclarations, qsSym As QsSymbol) As QsNullable(Of Tuple(Of String, Position, Range))
Parameters
- locals
- LocalDeclarations
- qsSym
- QsSymbol
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute