aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/js
diff options
context:
space:
mode:
authorEduardo Julian2018-07-03 20:35:42 -0400
committerEduardo Julian2018-07-03 20:35:42 -0400
commit371a407a49ddf0f2fe1d977018fcd0a009c86043 (patch)
tree322daf75a391bfc49026867250e10c424c4ec978 /new-luxc/source/luxc/lang/translation/js
parentc75e8aa8bc84af3b598292f3261354384b3cc80f (diff)
- Re-named "import" to "import:".
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/js')
-rw-r--r--new-luxc/source/luxc/lang/translation/js/eval.jvm.lux20
-rw-r--r--new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux4
2 files changed, 12 insertions, 12 deletions
diff --git a/new-luxc/source/luxc/lang/translation/js/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/js/eval.jvm.lux
index 8019ded53..89f419cc3 100644
--- a/new-luxc/source/luxc/lang/translation/js/eval.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/js/eval.jvm.lux
@@ -21,37 +21,37 @@
[Cannot-Evaluate]
)
-(host.import java/lang/Object
+(host.import: java/lang/Object
(toString [] String))
-(host.import java/lang/Integer
+(host.import: java/lang/Integer
(longValue [] Long))
-(host.import java/lang/Number
+(host.import: java/lang/Number
(doubleValue [] double)
(longValue [] Long)
(intValue [] Integer))
-(host.import javax/script/ScriptEngine
+(host.import: javax/script/ScriptEngine
(eval [String] #try #? Object))
-(host.import jdk/nashorn/api/scripting/JSObject
+(host.import: jdk/nashorn/api/scripting/JSObject
(isArray [] boolean)
(isFunction [] boolean)
(getMember [String] #? Object)
(hasMember [String] boolean))
-(host.import jdk/nashorn/api/scripting/AbstractJSObject)
+(host.import: jdk/nashorn/api/scripting/AbstractJSObject)
-(host.import jdk/nashorn/api/scripting/ScriptObjectMirror
+(host.import: jdk/nashorn/api/scripting/ScriptObjectMirror
(size [] int))
-(host.import jdk/nashorn/internal/runtime/Undefined)
+(host.import: jdk/nashorn/internal/runtime/Undefined)
-(host.import luxc/lang/translation/js/IntValue
+(host.import: luxc/lang/translation/js/IntValue
(getValue [] Long))
-(host.import luxc/lang/translation/js/StructureValue
+(host.import: luxc/lang/translation/js/StructureValue
(getValue [] (Array Object)))
(def: (int js-object)
diff --git a/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux
index fede43875..7b4a19b91 100644
--- a/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux
@@ -190,11 +190,11 @@
(format arrayJS ".length"))
## [[Numbers]]
-(host.import java/lang/Long
+(host.import: java/lang/Long
(#static MIN_VALUE Long)
(#static MAX_VALUE Long))
-(host.import java/lang/Double
+(host.import: java/lang/Double
(#static MIN_VALUE Double)
(#static MAX_VALUE Double)
(#static NaN Double)