diff options
Diffstat (limited to 'stdlib/source/documentation/lux/ffi.old.lux')
-rw-r--r-- | stdlib/source/documentation/lux/ffi.old.lux | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/stdlib/source/documentation/lux/ffi.old.lux b/stdlib/source/documentation/lux/ffi.old.lux index 86e9a23b6..80d981b89 100644 --- a/stdlib/source/documentation/lux/ffi.old.lux +++ b/stdlib/source/documentation/lux/ffi.old.lux @@ -50,22 +50,22 @@ (documentation: /.class: "Allows defining JVM classes in Lux code." - [(class: #final (TestClass A) [Runnable] + [(class: "final" (TestClass A) [Runnable] ... Fields - (#private foo boolean) - (#private bar A) - (#private baz java/lang/Object) + ("private" foo boolean) + ("private" bar A) + ("private" baz java/lang/Object) ... Methods - (#public [] (new [value A]) [] - (exec - (:= ::foo #1) - (:= ::bar value) - (:= ::baz "") - [])) - (#public (virtual) java/lang/Object - "") - (#public "static" (static) java/lang/Object - "") + ("public" [] (new [value A]) [] + (exec + (:= ::foo #1) + (:= ::bar value) + (:= ::baz "") + [])) + ("public" (virtual) java/lang/Object + "") + ("public" "static" (static) java/lang/Object + "") (Runnable [] (run) void [])) "The tuple corresponds to parent interfaces." @@ -80,7 +80,7 @@ (documentation: /.interface: "Allows defining JVM interfaces." [(interface: TestInterface - ([] foo [boolean String] void #throws [Exception]))]) + ([] foo [boolean String] void "throws" [Exception]))]) (documentation: /.object "Allows defining anonymous classes." @@ -158,7 +158,7 @@ ["#::." (new [[byte]]) ("static" valueOf [char] java/lang/String) - ("static" valueOf #as int_valueOf [int] java/lang/String)]) + ("static" valueOf "as" int_valueOf [int] java/lang/String)]) (import: (java/util/List e) ["#::." |