jak-project/lsp
water111 0e31a9c407
[decompiler] Handle find-parent-method (#3018)
This change adds a few new features:
- Decompiler automatically knows the type of `find-parent-method` use in
jak 1 and jak2 when used in a method or virtual state handler.
- Decompiler inserts a call to `call-parent-method` or
`find-parent-state`
- Removed most casts related to these functions

There are still a few minor issues around this:
- There are still some casts needed when using `post` methods, as `post`
is just a `function`, and needs a cast to `(function none)` or similar.
It didn't seem easy to change the type of `post`, so I'm not going to
worry about it for this PR. It only shows up in like 3 places in jak 2.
(and 0 in jak 1)
- If "call the handler if it's not #f" logic should probably be another
macro.

Fixes #805
2023-09-30 11:06:09 -04:00
..
handlers [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
protocol formatter: initial and basic indentation/alignment and expose the formatting via the LSP (#2673) 2023-05-28 13:22:00 -04:00
state cleanup our cmake and build warnings (#2876) 2023-08-08 20:53:16 -04:00
transport lsp: re-analyze IR2 files when they change (#1841) 2022-09-05 17:45:41 -04:00
CMakeLists.txt formatter: initial and basic indentation/alignment and expose the formatting via the LSP (#2673) 2023-05-28 13:22:00 -04:00
main.cpp log: rotate log files with timestamps and add flag to disable ANSI colors (#2886) 2023-08-08 17:59:37 +01:00