PeterCJ a91b22bd83 Enhance Perl FunctionList for class
Add perl packages as the functionList class, handling either normal package syntax, package-block syntax, and fully-qualified sub names,
also allow prototypes and attributes syntax between sub name and body.

Fix #17043, close #17068
2025-10-10 19:27:30 +02:00

2 lines
383 B
Plaintext

{"leaves":["MakeTag","PackageName","SubName","VarNames","functionNoParentheses"],"nodes":[{"leaves":["inBlock","inBlockProto","inBlockAttrib"],"name":"NameSpace::Block "},{"leaves":["afterSemi"],"name":"NameSpace::Semicolon"},{"leaves":["MyClass::new","MyClass::do_thing","MyClass::debug"],"name":"MyClass"},{"leaves":["Other::run","Other::stop"],"name":"Other"}],"root":"unitTest"}