public override void VisitTypeOfExpression(TypeOfExpression typeOfExpression) { ForceSpacesBefore(typeOfExpression.LParToken, policy.SpaceBeforeTypeOfParentheses); ForceSpacesAfter(typeOfExpression.LParToken, policy.SpacesWithinTypeOfParentheses); ForceSpacesBefore(typeOfExpression.RParToken, policy.SpacesWithinTypeOfParentheses); base.VisitTypeOfExpression(typeOfExpression); }
S IAstVisitor <T, S> .VisitTypeOfExpression(TypeOfExpression typeOfExpression, T data) { var handler = TypeOfExpressionVisited; if (handler != null) { handler(typeOfExpression, data); } return(VisitChildren(typeOfExpression, data)); }
void IAstVisitor.VisitTypeOfExpression(TypeOfExpression typeOfExpression) { Visit(EnterTypeOfExpression, LeaveTypeOfExpression, typeOfExpression); }