SymbolTracker.TryAddVariableDeclartion Method

Definition

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

Tuple<Boolean,QsCompilerDiagnostic[]>

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())

Parameters

Returns

Tuple<Boolean,QsCompilerDiagnostic[]>

Applies to