public override AstVisitAction VisitStringConstantExpression(StringConstantExpressionAst stringConstantExpressionAst) //confirmed { if (stringConstantExpressionAst.ToString().Contains(symbolRef.ScriptRegion.Text)) { ValidateExtend(symbolRef.ScriptRegion.Text, stringConstantExpressionAst.Value, stringConstantExpressionAst); } return(base.VisitStringConstantExpression(stringConstantExpressionAst)); }
public override AstVisitAction VisitStringConstantExpression(StringConstantExpressionAst stringConstantExpressionAst) { Console.WriteLine("Visited an StringConstantExpressionAst."); Console.WriteLine(" " + stringConstantExpressionAst.ToString().Replace(Environment.NewLine, Environment.NewLine + " ")); return(AstVisitAction.Continue); }