Migrate S1118 to SubscriptionBaseVisitor