diff options
Diffstat (limited to '')
3 files changed, 19 insertions, 19 deletions
diff --git a/new-luxc/source/luxc/lang/translation/php.lux b/new-luxc/source/luxc/lang/translation/php.lux index fe4e6095c..67234f998 100644 --- a/new-luxc/source/luxc/lang/translation/php.lux +++ b/new-luxc/source/luxc/lang/translation/php.lux @@ -29,24 +29,24 @@ [No-Anchor] ) -(host.import java/lang/Object) +(host.import: java/lang/Object) -(host.import java/lang/String +(host.import: java/lang/String (getBytes [String] #try (Array byte))) -(host.import java/lang/CharSequence) +(host.import: java/lang/CharSequence) -(host.import java/lang/Appendable +(host.import: java/lang/Appendable (append [CharSequence] Appendable)) -(host.import java/lang/StringBuilder +(host.import: java/lang/StringBuilder (new []) (toString [] String)) -(host.import javax/script/ScriptEngine +(host.import: javax/script/ScriptEngine (eval [String] #try Object)) -(host.import org/develnext/jphp/scripting/JPHPScriptEngine +(host.import: org/develnext/jphp/scripting/JPHPScriptEngine (new [])) (type: #export Anchor [Text Register]) diff --git a/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux index 4b954c4f1..3768bb5c7 100644 --- a/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux @@ -21,11 +21,11 @@ [Cannot-Evaluate] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String) (getClass [] (Class Object))) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) (exception: #export (Unknown-Kind-Of-Host-Object {host-object Object}) @@ -33,28 +33,28 @@ text-representation (:coerce Text (Object::toString [] (:coerce Object host-object)))] (format object-class " --- " text-representation))) -(host.import php/runtime/Memory) +(host.import: php/runtime/Memory) -(host.import php/runtime/memory/NullMemory) +(host.import: php/runtime/memory/NullMemory) -(host.import php/runtime/memory/FalseMemory) -(host.import php/runtime/memory/TrueMemory) +(host.import: php/runtime/memory/FalseMemory) +(host.import: php/runtime/memory/TrueMemory) -(host.import php/runtime/memory/LongMemory +(host.import: php/runtime/memory/LongMemory (new [long]) (toLong [] long)) -(host.import php/runtime/memory/DoubleMemory +(host.import: php/runtime/memory/DoubleMemory (toDouble [] double)) -(host.import php/runtime/memory/StringMemory +(host.import: php/runtime/memory/StringMemory (new [String]) (toString [] String)) -(host.import php/runtime/memory/ReferenceMemory +(host.import: php/runtime/memory/ReferenceMemory (getValue [] Memory)) -(host.import php/runtime/memory/ArrayMemory +(host.import: php/runtime/memory/ArrayMemory (size [] int) (isMap [] boolean) (get [Memory] Memory)) diff --git a/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux index be1a87761..0e0931b1e 100644 --- a/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux @@ -218,7 +218,7 @@ ## ))) ## ## [[Numbers]] -## (host.import java/lang/Double +## (host.import: java/lang/Double ## (#static MIN_VALUE Double) ## (#static MAX_VALUE Double)) |