Example #1
0
 public override AstVisitAction VisitMemberExpression(MemberExpressionAst memberExpressionAst)  //confirmed
 {
     if (memberExpressionAst.ToString().Contains(symbolRef.ScriptRegion.Text))
     {
         ValidateExtend(symbolRef.ScriptRegion.Text, memberExpressionAst.Member.ToString(), memberExpressionAst);
     }
     return(base.VisitMemberExpression(memberExpressionAst));
 }
Example #2
0
 public override AstVisitAction VisitMemberExpression(MemberExpressionAst memberExpressionAst)
 {
     Console.WriteLine("Visited an MemberExpressionAst.");
     Console.WriteLine("    " + memberExpressionAst.ToString().Replace(Environment.NewLine, Environment.NewLine + "    "));
     return(AstVisitAction.Continue);
 }