Migrate S1182 to SyntaxTree