Hello Matt,
Indeed, the way Claudia wrote your parser, as you noticed, is the right syntax. Just refer to the sections Class parser or Mix parser, of the article below :
https://notepad-plus-plus.org/features/function-list.html
Best Regards
guy038