Skip to content

Commit f962e0d

Browse files
dee-seeTylerLeonhardt
authored andcommitted
Fix descion/decision typo in visitors (#787)
1 parent d85a019 commit f962e0d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/PowerShellEditorServices/Language/FindDeclarationVisitor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public FindDeclarationVisitor(SymbolReference symbolRef)
3636
/// SymbolType.Function and have the same name as the symbol
3737
/// </summary>
3838
/// <param name="functionDefinitionAst">A FunctionDefinitionAst in the script's AST</param>
39-
/// <returns>A descion to stop searching if the right FunctionDefinitionAst was found,
39+
/// <returns>A decision to stop searching if the right FunctionDefinitionAst was found,
4040
/// or a decision to continue if it wasn't found</returns>
4141
public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst functionDefinitionAst)
4242
{

src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public FindDotSourcedVisitor()
2828
/// in order to find a dot sourced file
2929
/// </summary>
3030
/// <param name="commandAst">A CommandAst object in the script's AST</param>
31-
/// <returns>A descion to stop searching if the right commandAst was found,
31+
/// <returns>A decision to stop searching if the right commandAst was found,
3232
/// or a decision to continue if it wasn't found</returns>
3333
public override AstVisitAction VisitCommand(CommandAst commandAst)
3434
{

src/PowerShellEditorServices/Language/FindSymbolVisitor.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public FindSymbolVisitor(
3232
/// Checks to see if this command ast is the symbol we are looking for.
3333
/// </summary>
3434
/// <param name="commandAst">A CommandAst object in the script's AST</param>
35-
/// <returns>A descion to stop searching if the right symbol was found,
35+
/// <returns>A decision to stop searching if the right symbol was found,
3636
/// or a decision to continue if it wasn't found</returns>
3737
public override AstVisitAction VisitCommand(CommandAst commandAst)
3838
{
@@ -55,7 +55,7 @@ public override AstVisitAction VisitCommand(CommandAst commandAst)
5555
/// Checks to see if this function definition is the symbol we are looking for.
5656
/// </summary>
5757
/// <param name="functionDefinitionAst">A functionDefinitionAst object in the script's AST</param>
58-
/// <returns>A descion to stop searching if the right symbol was found,
58+
/// <returns>A decision to stop searching if the right symbol was found,
5959
/// or a decision to continue if it wasn't found</returns>
6060
public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst functionDefinitionAst)
6161
{
@@ -94,7 +94,7 @@ public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst fun
9494
/// Checks to see if this command parameter is the symbol we are looking for.
9595
/// </summary>
9696
/// <param name="commandParameterAst">A CommandParameterAst object in the script's AST</param>
97-
/// <returns>A descion to stop searching if the right symbol was found,
97+
/// <returns>A decision to stop searching if the right symbol was found,
9898
/// or a decision to continue if it wasn't found</returns>
9999
public override AstVisitAction VisitCommandParameter(CommandParameterAst commandParameterAst)
100100
{
@@ -113,7 +113,7 @@ public override AstVisitAction VisitCommandParameter(CommandParameterAst command
113113
/// Checks to see if this variable expression is the symbol we are looking for.
114114
/// </summary>
115115
/// <param name="variableExpressionAst">A VariableExpressionAst object in the script's AST</param>
116-
/// <returns>A descion to stop searching if the right symbol was found,
116+
/// <returns>A decision to stop searching if the right symbol was found,
117117
/// or a decision to continue if it wasn't found</returns>
118118
public override AstVisitAction VisitVariableExpression(VariableExpressionAst variableExpressionAst)
119119
{

src/PowerShellEditorServices/Language/FindSymbolsVisitor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst fun
5555
/// Checks to see if this variable expression is the symbol we are looking for.
5656
/// </summary>
5757
/// <param name="variableExpressionAst">A VariableExpressionAst object in the script's AST</param>
58-
/// <returns>A descion to stop searching if the right symbol was found,
58+
/// <returns>A decision to stop searching if the right symbol was found,
5959
/// or a decision to continue if it wasn't found</returns>
6060
public override AstVisitAction VisitVariableExpression(VariableExpressionAst variableExpressionAst)
6161
{

src/PowerShellEditorServices/Language/FindSymbolsVisitor2.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace Microsoft.PowerShell.EditorServices
5252
// /// Checks to see if this variable expression is the symbol we are looking for.
5353
// /// </summary>
5454
// /// <param name="variableExpressionAst">A VariableExpressionAst object in the script's AST</param>
55-
// /// <returns>A descion to stop searching if the right symbol was found,
55+
// /// <returns>A decision to stop searching if the right symbol was found,
5656
// /// or a decision to continue if it wasn't found</returns>
5757
// public override AstVisitAction VisitVariableExpression(VariableExpressionAst variableExpressionAst)
5858
// {

0 commit comments

Comments
 (0)