Пример #1
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            PointerReferenceExpression o = other as PointerReferenceExpression;

            return(o != null && MatchString(this.MemberName, o.MemberName) && this.TypeArguments.DoMatch(o.TypeArguments, match));
        }
 public override void VisitPointerReferenceExpression(PointerReferenceExpression pointerReferenceExpression)
 {
     ParenthesizeIfRequired(pointerReferenceExpression.Target, Primary);
     base.VisitPointerReferenceExpression(pointerReferenceExpression);
 }
Пример #3
0
 void IAstVisitor.VisitPointerReferenceExpression(PointerReferenceExpression pointerReferenceExpression)
 {
     Visit(EnterPointerReferenceExpression, LeavePointerReferenceExpression, pointerReferenceExpression);
 }