From 1f78f880f40dd049659e4d859d45565a02752907 Mon Sep 17 00:00:00 2001 From: dee-see Date: Sat, 27 Oct 2018 18:49:52 -0400 Subject: [PATCH] Fix descion/decision typo in visitors --- .../Language/FindDeclarationVisitor.cs | 2 +- .../Language/FindDotSourcedVisitor.cs | 2 +- .../Language/FindSymbolVisitor.cs | 8 ++++---- .../Language/FindSymbolsVisitor.cs | 2 +- .../Language/FindSymbolsVisitor2.cs | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/PowerShellEditorServices/Language/FindDeclarationVisitor.cs b/src/PowerShellEditorServices/Language/FindDeclarationVisitor.cs index 1f7e8a649..f8ecffc2e 100644 --- a/src/PowerShellEditorServices/Language/FindDeclarationVisitor.cs +++ b/src/PowerShellEditorServices/Language/FindDeclarationVisitor.cs @@ -36,7 +36,7 @@ public FindDeclarationVisitor(SymbolReference symbolRef) /// SymbolType.Function and have the same name as the symbol /// /// A FunctionDefinitionAst in the script's AST - /// A descion to stop searching if the right FunctionDefinitionAst was found, + /// A decision to stop searching if the right FunctionDefinitionAst was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst functionDefinitionAst) { diff --git a/src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs b/src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs index ea35dd4a1..49d4d66ab 100644 --- a/src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs +++ b/src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs @@ -28,7 +28,7 @@ public FindDotSourcedVisitor() /// in order to find a dot sourced file /// /// A CommandAst object in the script's AST - /// A descion to stop searching if the right commandAst was found, + /// A decision to stop searching if the right commandAst was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitCommand(CommandAst commandAst) { diff --git a/src/PowerShellEditorServices/Language/FindSymbolVisitor.cs b/src/PowerShellEditorServices/Language/FindSymbolVisitor.cs index b2abea291..404f8d190 100644 --- a/src/PowerShellEditorServices/Language/FindSymbolVisitor.cs +++ b/src/PowerShellEditorServices/Language/FindSymbolVisitor.cs @@ -32,7 +32,7 @@ public FindSymbolVisitor( /// Checks to see if this command ast is the symbol we are looking for. /// /// A CommandAst object in the script's AST - /// A descion to stop searching if the right symbol was found, + /// A decision to stop searching if the right symbol was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitCommand(CommandAst commandAst) { @@ -55,7 +55,7 @@ public override AstVisitAction VisitCommand(CommandAst commandAst) /// Checks to see if this function definition is the symbol we are looking for. /// /// A functionDefinitionAst object in the script's AST - /// A descion to stop searching if the right symbol was found, + /// A decision to stop searching if the right symbol was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst functionDefinitionAst) { @@ -94,7 +94,7 @@ public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst fun /// Checks to see if this command parameter is the symbol we are looking for. /// /// A CommandParameterAst object in the script's AST - /// A descion to stop searching if the right symbol was found, + /// A decision to stop searching if the right symbol was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitCommandParameter(CommandParameterAst commandParameterAst) { @@ -113,7 +113,7 @@ public override AstVisitAction VisitCommandParameter(CommandParameterAst command /// Checks to see if this variable expression is the symbol we are looking for. /// /// A VariableExpressionAst object in the script's AST - /// A descion to stop searching if the right symbol was found, + /// A decision to stop searching if the right symbol was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitVariableExpression(VariableExpressionAst variableExpressionAst) { diff --git a/src/PowerShellEditorServices/Language/FindSymbolsVisitor.cs b/src/PowerShellEditorServices/Language/FindSymbolsVisitor.cs index bfb95aa30..96f5c335c 100644 --- a/src/PowerShellEditorServices/Language/FindSymbolsVisitor.cs +++ b/src/PowerShellEditorServices/Language/FindSymbolsVisitor.cs @@ -55,7 +55,7 @@ public override AstVisitAction VisitFunctionDefinition(FunctionDefinitionAst fun /// Checks to see if this variable expression is the symbol we are looking for. /// /// A VariableExpressionAst object in the script's AST - /// A descion to stop searching if the right symbol was found, + /// A decision to stop searching if the right symbol was found, /// or a decision to continue if it wasn't found public override AstVisitAction VisitVariableExpression(VariableExpressionAst variableExpressionAst) { diff --git a/src/PowerShellEditorServices/Language/FindSymbolsVisitor2.cs b/src/PowerShellEditorServices/Language/FindSymbolsVisitor2.cs index 037027436..226b96035 100644 --- a/src/PowerShellEditorServices/Language/FindSymbolsVisitor2.cs +++ b/src/PowerShellEditorServices/Language/FindSymbolsVisitor2.cs @@ -52,7 +52,7 @@ namespace Microsoft.PowerShell.EditorServices // /// Checks to see if this variable expression is the symbol we are looking for. // /// // /// A VariableExpressionAst object in the script's AST - // /// A descion to stop searching if the right symbol was found, + // /// A decision to stop searching if the right symbol was found, // /// or a decision to continue if it wasn't found // public override AstVisitAction VisitVariableExpression(VariableExpressionAst variableExpressionAst) // {