How to achieve JavaScript nesting symbol parsing

I want to implement the resolution in the red box


I defined the @tokensDialogue and SeparatorEN

SeparatorEN in Dialogue Don’t take effect

image

Why can’t anyone help me

I found nesting possible this way

I don’t understand how it works

As shown :

image

Why is there no way to match the input?"