Пример #1
0
 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));
 }
Пример #2
0
 public override AstVisitAction VisitStringConstantExpression(StringConstantExpressionAst stringConstantExpressionAst)
 {
     Console.WriteLine("Visited an StringConstantExpressionAst.");
     Console.WriteLine("    " + stringConstantExpressionAst.ToString().Replace(Environment.NewLine, Environment.NewLine + "    "));
     return(AstVisitAction.Continue);
 }