moonscript/tests/inputs/export.moon

78 lines
639 B
Plaintext

do
export a,b,c = 223, 343
export cool = "dad"
do
export class Something
umm: "cool"
do
export a,b,c
a,b,c,d = "hello"
do
What = if this
232
else
4343
export ^
another = 3434
Another = 7890
if inner then Yeah = "10000"
What = if this
232
else
4343
do
export *
What = if this
232
else
4343
x,y,z = 1,2,3
y = ->
hallo = 3434
with tmp
j = 2000
do
export *
x = 3434
if y then
x = 10
do
export *
if y then
x = 10
x = 3434
do
do
export *
k = 1212
do
h = 100
y = ->
h = 100
k = 100
h = 100