public override void VisitSizeOfExpression(SizeOfExpression sizeOfExpression)
 {
     ForceSpacesBefore(sizeOfExpression.LParToken, policy.SpaceBeforeSizeOfParentheses);
     ForceSpacesAfter(sizeOfExpression.LParToken, policy.SpacesWithinSizeOfParentheses);
     ForceSpacesBefore(sizeOfExpression.RParToken, policy.SpacesWithinSizeOfParentheses);
     base.VisitSizeOfExpression(sizeOfExpression);
 }
Esempio n. 2
0
        S IAstVisitor <T, S> .VisitSizeOfExpression(SizeOfExpression sizeOfExpression, T data)
        {
            var handler = SizeOfExpressionVisited;

            if (handler != null)
            {
                handler(sizeOfExpression, data);
            }
            return(VisitChildren(sizeOfExpression, data));
        }
Esempio n. 3
0
 void IAstVisitor.VisitSizeOfExpression(SizeOfExpression sizeOfExpression)
 {
     Visit(EnterSizeOfExpression, LeaveSizeOfExpression, sizeOfExpression);
 }