diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/js.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/js.lux | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/new-luxc/source/luxc/lang/translation/js.lux b/new-luxc/source/luxc/lang/translation/js.lux index 680439355..a28d9c3db 100644 --- a/new-luxc/source/luxc/lang/translation/js.lux +++ b/new-luxc/source/luxc/lang/translation/js.lux @@ -212,6 +212,10 @@ (def: #export int-high-field Text "H") (def: #export int-low-field Text "L") +(def: #export variant-tag-field "_lux_tag") +(def: #export variant-flag-field "_lux_flag") +(def: #export variant-value-field "_lux_value") + (def: jvm-int (-> Nat Integer) (|>> (:! Long) (Long::intValue []))) |