Statements.NewBorrowScope Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1, 1, 2 })]
public static Tuple<Microsoft.Quantum.QsCompiler.SyntaxProcessing.Statements.BlockStatement<Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement>,Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]> NewBorrowScope (Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments comments, Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation location, Microsoft.Quantum.QsCompiler.SyntaxProcessing.ScopeContext symbols, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol symbol, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsInitializer init);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1, 1, 2 })>]
Microsoft.Quantum.QsCompiler.SyntaxProcessing.Statements.NewBorrowScope : Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation -> Microsoft.Quantum.QsCompiler.SyntaxProcessing.ScopeContext -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbol * Microsoft.Quantum.QsCompiler.SyntaxTokens.QsInitializer -> Microsoft.Quantum.QsCompiler.SyntaxProcessing.Statements.BlockStatement<Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement> * Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
Public Shared Function NewBorrowScope (comments As QsComments, location As QsLocation, symbols As ScopeContext, symbol As QsSymbol, init As QsInitializer) As Tuple(Of Statements.BlockStatement(Of QsStatement), QsCompilerDiagnostic())

Parameters

comments
QsComments
location
QsLocation
symbols
ScopeContext
symbol
QsSymbol

Returns

Tuple<BlockStatement<QsStatement>,QsCompilerDiagnostic[]>
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to