diff options
author | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
commit | 371a407a49ddf0f2fe1d977018fcd0a009c86043 (patch) | |
tree | 322daf75a391bfc49026867250e10c424c4ec978 /new-luxc/source/luxc/lang/translation/js.lux | |
parent | c75e8aa8bc84af3b598292f3261354384b3cc80f (diff) |
- Re-named "import" to "import:".
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/js.lux | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/new-luxc/source/luxc/lang/translation/js.lux b/new-luxc/source/luxc/lang/translation/js.lux index 9fd2d098f..9a7f55dd0 100644 --- a/new-luxc/source/luxc/lang/translation/js.lux +++ b/new-luxc/source/luxc/lang/translation/js.lux @@ -30,43 +30,43 @@ [Unknown-Member] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String)) -(host.import java/lang/String +(host.import: java/lang/String (getBytes [String] #try (Array byte))) -(host.import java/lang/Integer +(host.import: java/lang/Integer (longValue [] Long)) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) -(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 javax/script/ScriptEngineFactory +(host.import: javax/script/ScriptEngineFactory (getScriptEngine [] ScriptEngine)) -(host.import jdk/nashorn/api/scripting/NashornScriptEngineFactory +(host.import: jdk/nashorn/api/scripting/NashornScriptEngineFactory (new [])) -(host.import jdk/nashorn/api/scripting/NashornScriptEngine) +(host.import: jdk/nashorn/api/scripting/NashornScriptEngine) -(host.import jdk/nashorn/api/scripting/JSObject) +(host.import: jdk/nashorn/api/scripting/JSObject) -(host.import jdk/nashorn/api/scripting/AbstractJSObject) +(host.import: jdk/nashorn/api/scripting/AbstractJSObject) -(host.import java/util/Arrays +(host.import: java/util/Arrays (#static [t] copyOfRange [(Array t) int int] (Array t))) (type: #export Anchor [Text Register]) @@ -230,7 +230,7 @@ (interface: IntValue (getValue [] Long)) -(host.import luxc/lang/translation/js/IntValue) +(host.import: luxc/lang/translation/js/IntValue) (def: (js-int value) (-> Int JSObject) @@ -254,7 +254,7 @@ (interface: StructureValue (getValue [] (Array Object))) -(host.import luxc/lang/translation/js/StructureValue) +(host.import: luxc/lang/translation/js/StructureValue) (def: (js-structure value) (-> (Array Object) JSObject) |