diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/ffi.php.lux | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/stdlib/source/library/lux/ffi.php.lux b/stdlib/source/library/lux/ffi.php.lux index 7993d5875..00b35e83d 100644 --- a/stdlib/source/library/lux/ffi.php.lux +++ b/stdlib/source/library/lux/ffi.php.lux @@ -28,7 +28,7 @@ (with_template [<name>] [(with_expansions [<brand> (template.symbol [<name> "'"])] (primitive .public <brand> Any) - (type: .public <name> + (type .public <name> (..Object <brand>)))] [Null] @@ -36,7 +36,7 @@ ) (with_template [<name> <type>] - [(type: .public <name> + [(type .public <name> <type>)] [Boolean Bit] @@ -45,7 +45,7 @@ [String Text] ) -(type: Nullable +(type Nullable [Bit Code]) (def nullable @@ -55,14 +55,14 @@ (<>.after (<>.not (<code>.this token))) <code>.any))) -(type: Alias +(type Alias Text) (def alias (Parser Alias) (<>.after (<code>.this (' "as")) <code>.local)) -(type: Field +(type Field [Bit Text (Maybe Alias) Nullable]) (def static! @@ -85,7 +85,7 @@ (<>.maybe ..alias) ..nullable))) -(type: Common_Method +(type Common_Method (Record [#name Text #alias (Maybe Alias) @@ -94,10 +94,10 @@ #try? Bit #output Nullable])) -(type: Static_Method Common_Method) -(type: Virtual_Method Common_Method) +(type Static_Method Common_Method) +(type Virtual_Method Common_Method) -(type: Method +(type Method (Variant {#Static Static_Method} {#Virtual Virtual_Method})) @@ -120,7 +120,7 @@ (<code>.form (<>.or ..static_method ..common_method))) -(type: Member +(type Member (Variant {#Field Field} {#Method Method})) @@ -167,7 +167,7 @@ (~ g!temp) (.panic! "Null is an invalid value!")))))) -(type: Import +(type Import (Variant {#Class Text (Maybe Alias) Text (List Member)} {#Function Static_Method} @@ -251,7 +251,7 @@ code.local))) g!type (code.local (maybe.else class alias)) class_import (` ("php constant" (~ (code.text class))))] - (in (list.partial (` (type: (~ g!type) + (in (list.partial (` (type (~ g!type) (..Object (Primitive (~ (code.text class)))))) (list#each (function (_ member) (case member |