ffi 2.3 green: static body items in #jni_class

`JniMethodDecl` gains `is_static: bool = false`. parseJniClassDecl's
body loop now recognises a `static` identifier prefix (context-sensitive
— `static` stays a plain identifier elsewhere) and consumes it before
the method name, setting `is_static` on the resulting decl. Dispatch
to `GetStaticMethodID` / `CallStatic*Method` arrives in Phase 2.12.

122/122 examples green.
This commit is contained in:
agra
2026-05-20 09:35:09 +03:00
parent 082ef430a3
commit ecce8cdca3
4 changed files with 17 additions and 4 deletions

View File

@@ -1 +1 @@
1
0

View File

@@ -1 +1 @@
/Users/agra/projects/sx/examples/ffi-jni-class-03-static.sx:13:12: error: expected '::'
parse-only ok