Exemple #1
0
 public override AstVisitAction VisitCommandParameter(CommandParameterAst commandParameterAst)
 {
     if (commandParameterAst.ToString().Contains(symbolRef.ScriptRegion.Text))
     {
         ValidateExtend(symbolRef.ScriptRegion.Text, commandParameterAst.ParameterName, commandParameterAst);
     }
     return(base.VisitCommandParameter(commandParameterAst));
 }
Exemple #2
0
 public override AstVisitAction VisitCommandParameter(CommandParameterAst commandParameterAst)
 {
     Console.WriteLine("Visited an CommandParameterAst.");
     Console.WriteLine("    " + commandParameterAst.ToString().Replace(Environment.NewLine, Environment.NewLine + "    "));
     return(AstVisitAction.Continue);
 }