SymbolTracker.TryAddVariableDeclartion 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.
Overloads
| TryAddVariableDeclartion(LocalVariableDeclaration<QsLocalSymbol,ResolvedType>) | |
| TryAddVariableDeclartion(LocalVariableDeclaration<String,ResolvedType>) |
TryAddVariableDeclartion(LocalVariableDeclaration<QsLocalSymbol,ResolvedType>)
public Tuple<bool,Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]> TryAddVariableDeclartion (Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> decl);
member this.TryAddVariableDeclartion : Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> -> bool * Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
Public Function TryAddVariableDeclartion (decl As LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)) As Tuple(Of Boolean, QsCompilerDiagnostic())
Parameters
Returns
Applies to
TryAddVariableDeclartion(LocalVariableDeclaration<String,ResolvedType>)
public Tuple<bool,Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]> TryAddVariableDeclartion (Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<string,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> decl);
member this.TryAddVariableDeclartion : Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<string, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType> -> bool * Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
Public Function TryAddVariableDeclartion (decl As LocalVariableDeclaration(Of String, ResolvedType)) As Tuple(Of Boolean, QsCompilerDiagnostic())