From 371a407a49ddf0f2fe1d977018fcd0a009c86043 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 3 Jul 2018 20:35:42 -0400 Subject: - Re-named "import" to "import:". --- .../source/luxc/lang/translation/php/eval.jvm.lux | 22 +++++++++++----------- .../lang/translation/php/procedure/common.jvm.lux | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/php') 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)) -- cgit v1.2.3