TreeHelper for Pascal lexer.
Requires plugin CudaTree to work.
Based on Python library PyPascalTokenizer.
Why use it: sometimes on complex pas files, Pascal lexer cannot make correct codetree. This helper can make codetree more correct.
Can parse and show these Pascal entities:
- standalone functions/procedures
- class methods
- classes
- nested classes (nesting level: 2 or more)
- nested functions (nesting level: 2 or more)
- interfaces
- var/const declarations, global and local (in funcs/methods)
- properties
- uses (both interface/implementation, shown under single node)
- resourcestrings
- anonymous funcs/methods
- type declarations (enums/arrays/records/etc)
It was tested on:
- several FreePascal units (FPJson, RegExpr etc)
- private 3K lines project, with anonym functions with nested usual functions
Author: @Artem3213212 at GitHub