How can I rewrite this code for the moved SyntaxContext? - SWC Community